[GH-ISSUE #281] Doc links are broken again #86

Closed
opened 2026-02-27 20:23:02 +03:00 by kerem · 6 comments
Owner

Originally created by @marioortizmanero on GitHub (Nov 19, 2021).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/281

Describe the bug
Looks like the spotify team revamped their reference page: https://developer.spotify.com/documentation/web-api/reference/#/

Which means that their reference links are completely broken now.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://docs.rs/rspotify/0.11.2/rspotify/clients/base/trait.BaseClient.html#method.artist
  2. Click on reference
  3. See that it's broken
Originally created by @marioortizmanero on GitHub (Nov 19, 2021). Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/281 **Describe the bug** Looks like the spotify team revamped their reference page: https://developer.spotify.com/documentation/web-api/reference/#/ Which means that their reference links are completely broken now. **To Reproduce** Steps to reproduce the behavior: 1. Go to https://docs.rs/rspotify/0.11.2/rspotify/clients/base/trait.BaseClient.html#method.artist 2. Click on `reference` 3. See that it's broken
kerem 2026-02-27 20:23:02 +03:00
Author
Owner

@marioortizmanero commented on GitHub (Nov 19, 2021):

Not sure how to tackle this for rspotify-model, it seems that said section has been removed...

<!-- gh-comment-id:974014469 --> @marioortizmanero commented on GitHub (Nov 19, 2021): Not sure how to tackle this for `rspotify-model`, it seems that said section has been removed...
Author
Owner

@ramsayleung commented on GitHub (Nov 20, 2021):

To be honest, I think the upstream(Spotify API) is pretty unstable, perhaps we should figure out a better way to maintain the field information of the structure

<!-- gh-comment-id:974663904 --> @ramsayleung commented on GitHub (Nov 20, 2021): To be honest, I think the upstream(Spotify API) is pretty unstable, perhaps we should figure out a better way to maintain the `field` information of the structure
Author
Owner

@marioortizmanero commented on GitHub (Nov 20, 2021):

That sounds complicated though... I don't think they'll change it for a long time now, it's pretty much got everything already. I hope...

<!-- gh-comment-id:974680324 --> @marioortizmanero commented on GitHub (Nov 20, 2021): That sounds complicated though... I don't think they'll change it for a long time now, it's pretty much got everything already. I hope...
Author
Owner

@marioortizmanero commented on GitHub (Nov 29, 2021):

I guess we could just remove the reference links in the rspotify-model crate? The endpoints already have links with their models anyway.

The other option would be to add links to whichever endpoint uses that specific model. For example, for SimplifiedAlbum it could point to https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-albums. But I don't really have time right now to do that for every model, and it might be an unnecessary maintainaince cost, since other spotify libraries don't even have links to the reference.

<!-- gh-comment-id:981630573 --> @marioortizmanero commented on GitHub (Nov 29, 2021): I guess we could just remove the reference links in the `rspotify-model` crate? The endpoints already have links with their models anyway. The other option would be to add links to whichever endpoint uses that specific model. For example, for `SimplifiedAlbum` it could point to https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-albums. But I don't really have time right now to do that for every model, and it might be an unnecessary maintainaince cost, since other spotify libraries don't even have [links to the reference](https://tekore.readthedocs.io/en/stable/reference/models.html#tekore.model.FullArtist).
Author
Owner

@ramsayleung commented on GitHub (Nov 29, 2021):

I guess we could just remove the reference links in the rspotify-model crate? The endpoints already have links with their models anyway.

I agree with this solution, the other solution is expensive.

<!-- gh-comment-id:981652978 --> @ramsayleung commented on GitHub (Nov 29, 2021): > I guess we could just remove the reference links in the rspotify-model crate? The endpoints already have links with their models anyway. I agree with this solution, the other solution is expensive.
Author
Owner

@marioortizmanero commented on GitHub (Nov 29, 2021):

Alright! I'll write a PR for that and then we can release a new version.

<!-- gh-comment-id:981676387 --> @marioortizmanero commented on GitHub (Nov 29, 2021): Alright! I'll write a PR for that and then we can release a new version.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#86
No description provided.