Set the repeat mode for the user's playback. Options are repeat-track, repeat-context, and off.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api.spotify.com/me/player/repeat?state=' \
--header'Authorization;'
响应示例响应示例
200 - 示例 1
{"error":{"message":"string","status":0}}
请求参数
Query 参数
Header 参数
返回响应
🟢200成功
application/json
Body
🟢204A completed request will return a `204 NO CONTENT` response code, and then issue the command to the player. Due to the asynchronous nature of the issuance of the command, you should use the [Get Information About The User's Current Playback](https://devel