{ "opencollection": "1.0.0", "info": { "name": "Spotify Web Albums Player API", "version": "1.0.0" }, "items": [ { "info": { "name": "Player", "type": "folder" }, "items": [ { "info": { "name": "Get Playback State\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/me/player", "params": [ { "name": "market", "value": "", "type": "query" }, { "name": "additional_types", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get information about the user’s current playback state, including track or episode, progress, and active device.\n" }, { "info": { "name": "Transfer Playback\n", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spotify.com/v1/me/player", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Transfer playback to a new device and optionally begin playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n" }, { "info": { "name": "Get Available Devices\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/me/player/devices", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get information about a user’s available Spotify Connect devices. Some device models are not supported and will not be listed in the API response.\n" }, { "info": { "name": "Get Currently Playing Track\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/me/player/currently-playing", "params": [ { "name": "market", "value": "", "type": "query" }, { "name": "additional_types", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get the object currently being played on the user's Spotify account.\n" }, { "info": { "name": "Start/Resume Playback\n", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spotify.com/v1/me/player/play", "params": [ { "name": "device_id", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Start a new context or resume current playback on the user's active device. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n" }, { "info": { "name": "Pause Playback\n", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spotify.com/v1/me/player/pause", "params": [ { "name": "device_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Pause playback on the user's account. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n" }, { "info": { "name": "Skip To Next\n", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotify.com/v1/me/player/next", "params": [ { "name": "device_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Skips to next track in the user’s queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n" }, { "info": { "name": "Skip To Previous\n", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotify.com/v1/me/player/previous", "params": [ { "name": "device_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Skips to previous track in the user’s queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n" }, { "info": { "name": "Seek To Position\n", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spotify.com/v1/me/player/seek", "params": [ { "name": "position_ms", "value": "", "type": "query" }, { "name": "device_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Seeks to the given position in the user’s currently playing track. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n" }, { "info": { "name": "Set Repeat Mode\n", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spotify.com/v1/me/player/repeat", "params": [ { "name": "state", "value": "", "type": "query" }, { "name": "device_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Set the repeat mode for the user's playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n" }, { "info": { "name": "Set Playback Volume\n", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spotify.com/v1/me/player/volume", "params": [ { "name": "volume_percent", "value": "", "type": "query" }, { "name": "device_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Set the volume for the user’s current playback device. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n" }, { "info": { "name": "Toggle Playback Shuffle\n", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spotify.com/v1/me/player/shuffle", "params": [ { "name": "state", "value": "", "type": "query" }, { "name": "device_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Toggle shuffle on or off for user’s playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n" }, { "info": { "name": "Get Recently Played Tracks\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/me/player/recently-played", "params": [ { "name": "limit", "value": "", "type": "query" }, { "name": "after", "value": "", "type": "query" }, { "name": "before", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get tracks from the current user's recently played tracks.\n_**Note**: Currently doesn't support podcast episodes._\n" }, { "info": { "name": "Get the User's Queue\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/me/player/queue", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get the list of objects that make up the user's queue.\n" }, { "info": { "name": "Add Item to Playback Queue\n", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotify.com/v1/me/player/queue", "params": [ { "name": "uri", "value": "", "type": "query" }, { "name": "device_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.spotify.com/authorize", "accessTokenUrl": "https://accounts.spotify.com/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Add an item to be played next in the user's current playback queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.\n" } ] } ], "bundled": true }