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
A Playlist ID
Query Parameters
The user ID of the user making the request
Responses
- 200
Success
- application/json
- Schema
- Example
Schema
- MOD1
- MOD2
- MOD3
- MOD4
Array [
]
- MOD1
- MOD2
- MOD3
- MOD4
Array [
]
data
object
access
object
The user ID of the owner of this track
The blocknumber this track was last updated
Whether or not the owner has restricted streaming behind an access gate
stream_conditions
object
oneOf
Must tip the given user ID to unlock
Must follow the given user ID to unlock
usdc_purchase
object
required
Must pay the total price and split to the given addresses to unlock
splits
object[]
required
nft_collection
object
required
Must hold an NFT of the given collection to unlock
Possible values: [eth
, sol
]
Whether or not the owner has restricted downloading behind an access gate
download_conditions
object
oneOf
Must tip the given user ID to unlock
Must follow the given user ID to unlock
usdc_purchase
object
required
Must pay the total price and split to the given addresses to unlock
splits
object[]
required
nft_collection
object
required
Must hold an NFT of the given collection to unlock
Possible values: [eth
, sol
]
{
"data": {
"access": {
"stream": true,
"download": true
},
"user_id": "Zqa2jE",
"blocknumber": 77239533,
"is_stream_gated": false,
"stream_conditions": null
}
}