Get Track Access Info
GET/tracks/:track_id/access-info
Gets the information necessary to access the track and what access the given user has.
Request
Path Parameters
track_id stringrequired
A Track 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": "qm4Ya",
"blocknumber": 75099561,
"is_stream_gated": false,
"stream_conditions": null,
"is_download_gated": false,
"download_conditions": null
}
}
Loading...