Preview clip streaming (HTTP Progressive)

Stream a track preview clip from the MassiveMusic catalogue.

If authorisation is successful the bytes for the clip will be returned to the client. The request url should not be stored for reuse since it expires. All preview clip plays must be reported to the preview/log endpoint.

OAuth User token

 \ Example request

GET https://previews.7digital.com/clip/1234?oauth_consumer_key=YOUR_KEY_HERE&country=GB&...

Example Response

HTTP/1.1 200 OK
Content-Length: 240534
Content-Type: audio/mpeg

Specific Error Codes

  • HTTP: 404 - Track not found: {reason}. The requested track does not have a preview available.
  • HTTP: 401 - Error: Authorisation failed. The request could not be authorised successfully.
  • HTTP: 400 - Invalid trackId. The trackId specified is not in a valid format.
  • HTTP: 400 - Required parameter Country is missing. The country parameter is missing.
Path Params
int32
required

The MassiveMusic ID of the track

Query Params
string
required

ISO 2-character code of the country the end user resides in.

Language
LoadingLoading…