Upload a Custom Playlist Cover Image
PUT
/playlists/{playlist_id}/images
category-playlists
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.spotify.com/playlists//images' \
--header 'Authorization;'
响应示例响应示例
200 - 示例 1
{
"error": {
"message": "string",
"status": 0
}
}
请求参数
Path 参数
playlist_id
必需
Header 参数
Authorization
必需
This access token must be tied to the user who owns the playlist, and must have the scope
ugc-image-upload
granted. In addition, the token must also contain playlist-modify-public
and/or playlist-modify-private
, depending the public status of the playlist you want to update . See Using Scopes.Content-Type
必需
image/jpeg
返回响应
修改于 2021-08-02 10:49:34