Save one or more episodes to the current user's library.This API endpoint is in beta and could change without warning. Please share any feedback that you have, or issues that you discover, in our developer community forum.
A comma-separated list of the Spotify IDs. Maximum: 50 IDs.
Header 参数
Authorization
必需
A valid access token from the Spotify Accounts service: see the Web API Authorization Guide for details. Modification of the current user's "Your Music" collection requires authorization of the user-library-modifyscope.
Content-Type
可选
Required if the IDs are passed in the request body, otherwise ignored. The content type of the request body: application/json
Body 参数application/json
ids
array[string]
可选
A JSON array of the Spotify IDs. A maximum of 50 items can be specified in one request. Note: if the ids parameter is present in the query string, any IDs listed here in the body will be ignored.
示例
返回响应
🟢200On success, the HTTP status code in the response header is `200` OK. On error, the header status code is an [error code](https://developer.spotify.com/documentation/web-api/#response-status-codes) and the response body contains an [error object](https://d