Fix API endpoints: resource IDs in URL path, not query params
- artists/{artist_id}/tracks and /direct-albums: artistID in path, return ArtistTracks/ArtistAlbums with pager
- likes: /users/me/likes/{type}s/{add-multiple|remove}, IDs as body params
- queue: /queues/{queue_id}/... instead of /queue/...?queue_id=...
- radio: /rotor/station/{station_id}/info and /tracks
- concerts: /concerts/{concert_id}/info, /concerts/tab-config
- playlists: /users/{user_id}/playlists
- labels: /labels/{label_id}, /albums, /artists
- clips: /clips/will/like, /artists/{artist_id}/blocks/artist-clips
- feed: /landing3/* endpoints
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
1 parent
02a6dabcfb
commit
70c2a5cd01
12 files changed
+238
-168
No files matched your search
@@ -240,6 +240,12 @@ type Credits = models.Credits
|
||||
// Credit represents a credit item
|
||||
type Credit = models.Credit
|
||||
|
||||
// ArtistTracks represents a page of tracks by an artist
|
||||
type ArtistTracks = models.ArtistTracks
|
||||
|
||||
// ArtistAlbums represents a page of albums by an artist
|
||||
type ArtistAlbums = models.ArtistAlbums
|
||||
|
||||
// RadioStation represents a radio station
|
||||
type RadioStation = models.RadioStation
|
||||
|
||||
|
||||
Reference in new issue
Block a user