Get a User's Available Devices
GET
/me/player/devices
category-player
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.spotify.com/me/player/devices' \
--header 'Authorization;'
响应示例响应示例
200 - 示例 1
{
"devices": [
{
"id": "string",
"is_active": true,
"is_private_session": true,
"is_restricted": true,
"name": "string",
"type": "string",
"volume_percent": 0
}
]
}
请求参数
Header 参数
Authorization
必需
user-read-playback-state
scope authorized in order to read information.返回响应
修改于 2021-08-02 10:49:34