Get the streamable MP3 file of a track
GET/tracks/:track_id/stream
Stream an mp3 track This endpoint accepts the Range header for streaming. https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests
Request
Path Parameters
A Track ID
Query Parameters
The user ID of the user making the request
Optional - true if streaming track preview
Optional - signature from the requesting user's wallet. This is needed to authenticate the user and verify access in case the track is gated.
Optional - data which was used to generate the optional signature argument.
Optional - gated content signature for this track which was previously generated by a registered DN. We perform checks on it and pass it through to CN.
Optional - boolean that disables tracking of play counts.
Optional - API key for third party apps. This is required for tracks that only allow specific API keys.
Optional - POC to skip node 'double dip' health check
Optional - If true will not return a 302 and instead will return the stream url in JSON
Responses
- 200
- 216
- 400
- 416
- 500
- application/json
- Schema
- Example
Schema
{
"data": "string"
}