Skip to main content

Record Track Download

POST 

/tracks/:track_id/downloads

Record a track download event

Request

Path Parameters

    track_id stringrequired

    A Track ID

Query Parameters

    user_id string

    The user ID of the user making the request

Body

    city string

    City where the download occurred

    region string

    Region where the download occurred

    country string

    Country where the download occurred

Responses

Track download recorded successfully

Schema

    success boolean

    Whether the operation was successful

    transaction_hash string

    The blockchain transaction hash

Loading...