Follow a Playlist
PUT
/playlists/{playlist_id}/followers
category-follow
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.spotify.com/playlists//followers' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw ''
响应示例响应示例
200 - 示例 1
{}
请求参数
Path 参数
playlist_id
必需
Header 参数
Authorization
必需
Following a playlist publicly requires authorization of the
playlist-modify-public
scope; following a playlist privately requires the playlist-modify-private
scope. See Using Scopes.Note that the scopes you provide relate only to whether the current user is following the playlist publicly or privately (i.e. showing others what they are following), not whether the playlist itself is public or private.
Content-Type
必需
application/json
Body 参数application/json
返回响应
修改于 2021-08-02 10:49:34