{ "opencollection": "1.0.0", "info": { "name": "Spotify Web Albums Users API", "version": "1.0.0" }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "Get Current User's Profile\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/me", "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 detailed profile information about the current user (including the\ncurrent user's username).\n" }, { "info": { "name": "Get User's Top Items\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/me/top/:type", "params": [ { "name": "type", "value": "", "type": "path" }, { "name": "time_range", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" }, { "name": "offset", "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 current user's top artists or tracks based on calculated affinity.\n" }, { "info": { "name": "Get User's Profile\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/users/:user_id", "params": [ { "name": "user_id", "value": "", "type": "path" } ], "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 public profile information about a Spotify user.\n" }, { "info": { "name": "Get User's Playlists\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/users/:user_id/playlists", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "limit", "value": "", "type": "query" }, { "name": "offset", "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 a list of the playlists owned or followed by a Spotify user.\n" }, { "info": { "name": "Follow Playlist\n", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spotify.com/v1/playlists/:playlist_id/followers", "params": [ { "name": "playlist_id", "value": "", "type": "path" } ], "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": "Add the current user as a follower of a playlist.\n\n**Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.\n" }, { "info": { "name": "Unfollow Playlist\n", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.spotify.com/v1/playlists/:playlist_id/followers", "params": [ { "name": "playlist_id", "value": "", "type": "path" } ], "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": "Remove the current user as a follower of a playlist.\n\n**Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.\n" }, { "info": { "name": "Get Followed Artists\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/me/following", "params": [ { "name": "type", "value": "", "type": "query" }, { "name": "after", "value": "", "type": "query" }, { "name": "limit", "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 current user's followed artists.\n" }, { "info": { "name": "Follow Artists or Users\n", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spotify.com/v1/me/following", "params": [ { "name": "type", "value": "", "type": "query" }, { "name": "ids", "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": "Add the current user as a follower of one or more artists or other Spotify users.\n\n**Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.\n" }, { "info": { "name": "Unfollow Artists or Users\n", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.spotify.com/v1/me/following", "params": [ { "name": "type", "value": "", "type": "query" }, { "name": "ids", "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": "Remove the current user as a follower of one or more artists or other Spotify users.\n\n**Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.\n" }, { "info": { "name": "Check If User Follows Artists or Users\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/me/following/contains", "params": [ { "name": "type", "value": "", "type": "query" }, { "name": "ids", "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": "Check to see if the current user is following one or more artists or other Spotify users.\n\n**Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.\n" }, { "info": { "name": "Check if Current User Follows Playlist\n", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotify.com/v1/playlists/:playlist_id/followers/contains", "params": [ { "name": "playlist_id", "value": "", "type": "path" }, { "name": "ids", "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": "Check to see if the current user is following a specified playlist.\n\n**Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.\n" } ] } ], "bundled": true }