Set Volume For User's Playback
PUT
/me/player/volume
category-player
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.spotify.com/me/player/volume?volume_percent=' \
--header 'Authorization;'
响应示例响应示例
200 - 示例 1
{
"error": {
"message": "string",
"status": 0
}
}
请求参数
Query 参数
volume_percent
必需
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