Expand description
Typed response structures for Spotify API.
These types mirror the Spotify Web API response formats and provide type-safe access to response data instead of raw JSON.
Structs§
- Album
- Full album object.
- Album
Simplified - Simplified album object (used in nested contexts).
- Artist
- Full artist object.
- Artist
Simplified - Simplified artist object (used in nested contexts).
- Artist
TopTracks Response - Response for artist’s top tracks.
- Category
Playlists - Category playlists response.
- Copyright
- Copyright information.
- Cursored
- Cursored response wrapper (for endpoints using cursor pagination).
- Cursors
- Cursor positions for cursor-based pagination.
- Device
- Device information.
- Devices
Response - Devices response.
- Explicit
Content - Explicit content filter settings.
- External
Ids - External IDs (ISRC, EAN, UPC).
- External
Urls - External URLs for a Spotify object.
- Followed
Artists Cursored - Cursor-paginated artists list.
- Followed
Artists Response - Response wrapper for followed artists (cursor-paginated).
- Followers
- Follower information.
- Image
- Image object returned by Spotify.
- Linked
From - Linked track (relinked due to regional restrictions).
- Paginated
- Paginated response wrapper.
- Play
History - Recently played item.
- Playback
Actions - Available playback actions.
- Playback
Context - Playback context (what’s being played from).
- Playback
State - Current playback state.
- Playlist
- Full playlist object.
- Playlist
Simplified - Simplified playlist object.
- Playlist
Track - Track in a playlist (wraps track with metadata).
- Playlist
Tracks Ref - Reference to playlist tracks (used in simplified playlist).
- Queue
Response - Queue response.
- Recently
Played Cursors - Cursors for recently played pagination.
- Recently
Played Response - Recently played response (cursor-paginated).
- Related
Artists Response - Response for related artists.
- Restrictions
- Restriction information.
- Resume
Point - Resume point for podcasts/audiobooks.
- Saved
Album - Saved album (wraps album with added_at timestamp).
- Saved
Track - Saved track (wraps track with added_at timestamp).
- TopArtists
Response - Top artists response.
- TopTracks
Response - Top items response (tracks or artists).
- Track
- Full track object.
- Track
Simplified - Simplified track object (used in album tracks, etc.).
- User
Private - Private user profile (current user with full details).
- User
Public - Public user profile (limited information).
Enums§
- Album
Type - Album type enumeration.