Skip to main content

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

Success

Schema

    data

    object

    access

    object

    stream boolean
    download boolean
    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

    oneOf

    tip_user_id integerrequired

    Must tip the given user ID to unlock

    is_download_gated boolean

    Whether or not the owner has restricted downloading behind an access gate

    download_conditions

    object

    oneOf

    tip_user_id integerrequired

    Must tip the given user ID to unlock

Loading...