Toggle Shuffle For User’s Playback
PUT
/me/player/shuffle
category-player
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.spotify.com/me/player/shuffle?state=' \
--header 'Authorization;'
响应示例响应示例
200 - 示例 1
{
"error": {
"message": "string",
"status": 0
}
}
请求参数
Query 参数
state
必需
false : Do not shuffle user's playback.
device_id
可选
Header 参数
Authorization
必需
The access token must have been issued on behalf of a user.
The access token must have the
user-modify-playback-state
scope authorized in order to control playback.返回响应
修改于 2021-08-02 10:49:34