Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.spotify.com/me/albums/contains?ids=' \
--header'Authorization;'
响应示例响应示例
200 - 示例 1
[true]
请求参数
Query 参数
ids
必需
A comma-separated list of the Spotify IDs for the albums. Maximum: 50 IDs.
Header 参数
Authorization
必需
A valid access token from the Spotify Accounts service: see the Web API Authorization Guide for details. The user-library-readscope must have been authorized by the user.
返回响应
🟢200On success, the HTTP status code in the response header is `200` OK and the response body contains a JSON array of `true` or `false` values, in the same order in which the `ids` were specified.
On error, the header status code is an [error code](https://d