Get Playlist Access Info
GET/playlists/:playlist_id/access-info
Gets the information necessary to access the playlist and what access the given user has.
Request
Path Parameters
playlist_id stringrequired
A Playlist ID
Query Parameters
user_id string
The user ID of the user making the request
Responses
- 200
Success
- application/json
- Schema
- Example
Schema
dataobject
accessobject
stream booleanrequired
download booleanrequired
user_id stringrequired
The user ID of the owner of this track
blocknumber integerrequired
The blocknumber this track was last updated
is_stream_gated boolean
Whether or not the owner has restricted streaming behind an access gate
stream_conditions object
is_download_gated boolean
Whether or not the owner has restricted downloading behind an access gate
download_conditions object
{
"data": {
"access": {
"stream": true,
"download": true
},
"user_id": "Zqa2jE",
"blocknumber": 77239533,
"is_stream_gated": false,
"stream_conditions": null
}
}
Loading...