Get User's Saved Episodes
GET
/me/episodes
category-library
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.spotify.com/me/episodes' \
--header 'Authorization;'
响应示例响应示例
200 - 示例 1
{
"href": "string",
"items": [
{
"added_at": "2019-08-24T14:15:22Z",
"episode": {
"audio_preview_url": "string",
"description": "string",
"duration_ms": 0,
"explicit": true,
"external_urls": {
"spotify": "string"
},
"href": "string",
"html_description": "string",
"id": "string",
"images": [
{
"height": 0,
"url": "string",
"width": 0
}
],
"is_externally_hosted": true,
"is_playable": true,
"language": "string",
"languages": [
"string"
],
"name": "string",
"release_date": "string",
"release_date_precision": "string",
"restrictions": {
"reason": "string"
},
"resume_point": {
"fully_played": true,
"resume_position_ms": 0
},
"show": {
"available_markets": [
"string"
],
"copyrights": [
{
"text": "string",
"type": "string"
}
],
"description": "string",
"explicit": true,
"external_urls": {
"spotify": "string"
},
"href": "string",
"html_description": "string",
"id": "string",
"images": [
{
"height": 0,
"url": "string",
"width": 0
}
],
"is_externally_hosted": true,
"languages": [
"string"
],
"media_type": "string",
"name": "string",
"publisher": "string",
"type": "string",
"uri": "string"
},
"type": "string",
"uri": "string"
}
}
],
"limit": 0,
"next": "string",
"offset": 0,
"previous": "string",
"total": 0
}
请求参数
Query 参数
market
可选
If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.
Note: If neither market or user country are provided, the content is considered unavailable for the client.
Users can view the country that is associated with their account in the account settings.
limit
可选
offset
可选
limit
to get the next set of objects.Header 参数
Authorization
必需
user-library-read
scope must have been authorized by the user.返回响应
修改于 2021-08-02 10:49:34