pub enum Endpoint<'a> {
Show 70 variants
PlayerState,
PlayerCurrentlyPlaying,
PlayerPlay,
PlayerPause,
PlayerNext,
PlayerPrevious,
PlayerQueue,
PlayerQueueAdd {
uri: &'a str,
},
PlayerDevices,
PlayerRecentlyPlayed,
PlayerSeek {
position_ms: u64,
},
PlayerVolume {
volume_percent: u8,
},
PlayerShuffle {
state: bool,
},
PlayerRepeat {
state: &'a str,
},
Playlist {
id: &'a str,
},
PlaylistTracks {
id: &'a str,
},
PlaylistItems {
id: &'a str,
limit: u8,
offset: u32,
},
PlaylistFollowers {
id: &'a str,
},
PlaylistCoverImage {
id: &'a str,
},
CurrentUserPlaylists {
limit: u8,
offset: u32,
},
UserPlaylists {
user_id: &'a str,
},
CategoryPlaylists {
category_id: &'a str,
limit: u8,
offset: u32,
},
SavedTracks {
limit: u8,
offset: u32,
},
SavedTracksIds {
ids: &'a str,
},
SavedTracksContains {
ids: &'a str,
},
SavedAlbums {
limit: u8,
offset: u32,
},
SavedAlbumsIds {
ids: &'a str,
},
SavedAlbumsContains {
ids: &'a str,
},
Track {
id: &'a str,
},
Tracks {
ids: &'a str,
},
Album {
id: &'a str,
},
Albums {
ids: &'a str,
},
AlbumTracks {
id: &'a str,
limit: u8,
offset: u32,
},
NewReleases {
limit: u8,
offset: u32,
},
Artist {
id: &'a str,
},
Artists {
ids: &'a str,
},
ArtistTopTracks {
id: &'a str,
market: &'a str,
},
ArtistAlbums {
id: &'a str,
limit: u8,
offset: u32,
},
ArtistRelatedArtists {
id: &'a str,
},
CurrentUser,
UserProfile {
user_id: &'a str,
},
UserTopItems {
item_type: &'a str,
time_range: &'a str,
limit: u8,
offset: u32,
},
FollowedArtists {
limit: u8,
},
FollowArtistsOrUsers {
entity_type: &'a str,
ids: &'a str,
},
FollowingContains {
entity_type: &'a str,
ids: &'a str,
},
FollowPlaylist {
playlist_id: &'a str,
},
FollowPlaylistContains {
playlist_id: &'a str,
ids: &'a str,
},
Category {
id: &'a str,
},
Categories {
limit: u8,
offset: u32,
},
Markets,
Search {
query: &'a str,
types: &'a str,
limit: u8,
market: Option<&'a str>,
},
Show {
id: &'a str,
},
Shows {
ids: &'a str,
},
ShowEpisodes {
id: &'a str,
limit: u8,
offset: u32,
},
SavedShows {
limit: u8,
offset: u32,
},
SavedShowsIds {
ids: &'a str,
},
SavedShowsContains {
ids: &'a str,
},
Episode {
id: &'a str,
},
Episodes {
ids: &'a str,
},
SavedEpisodes {
limit: u8,
offset: u32,
},
SavedEpisodesIds {
ids: &'a str,
},
SavedEpisodesContains {
ids: &'a str,
},
Audiobook {
id: &'a str,
},
Audiobooks {
ids: &'a str,
},
AudiobookChapters {
id: &'a str,
limit: u8,
offset: u32,
},
SavedAudiobooks {
limit: u8,
offset: u32,
},
SavedAudiobooksIds {
ids: &'a str,
},
SavedAudiobooksContains {
ids: &'a str,
},
Chapter {
id: &'a str,
},
Chapters {
ids: &'a str,
},
}Expand description
Spotify API endpoint paths
Variants§
PlayerState
PlayerCurrentlyPlaying
PlayerPlay
PlayerPause
PlayerNext
PlayerPrevious
PlayerQueue
PlayerQueueAdd
PlayerDevices
PlayerRecentlyPlayed
PlayerSeek
PlayerVolume
PlayerShuffle
PlayerRepeat
Playlist
PlaylistTracks
PlaylistItems
PlaylistFollowers
PlaylistCoverImage
CurrentUserPlaylists
UserPlaylists
CategoryPlaylists
SavedTracks
SavedTracksIds
SavedTracksContains
SavedAlbums
SavedAlbumsIds
SavedAlbumsContains
Track
Tracks
Album
Albums
AlbumTracks
NewReleases
Artist
Artists
ArtistTopTracks
ArtistAlbums
ArtistRelatedArtists
CurrentUser
UserProfile
UserTopItems
FollowedArtists
FollowArtistsOrUsers
FollowingContains
FollowPlaylist
FollowPlaylistContains
Category
Categories
Markets
Search
Show
Shows
ShowEpisodes
SavedShows
SavedShowsIds
SavedShowsContains
Episode
Episodes
SavedEpisodes
SavedEpisodesIds
SavedEpisodesContains
Audiobook
Audiobooks
AudiobookChapters
SavedAudiobooks
SavedAudiobooksIds
SavedAudiobooksContains
Chapter
Chapters
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Endpoint<'a>
impl<'a> RefUnwindSafe for Endpoint<'a>
impl<'a> Send for Endpoint<'a>
impl<'a> Sync for Endpoint<'a>
impl<'a> Unpin for Endpoint<'a>
impl<'a> UnwindSafe for Endpoint<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more