{ "opencollection": "1.0.0", "info": { "name": "7digital Artists Streaming API", "version": "1.2" }, "request": { "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "items": [ { "info": { "name": "Streaming", "type": "folder" }, "items": [ { "info": { "name": "7digital Stream Preview Clip", "type": "http" }, "http": { "method": "GET", "url": "https://api.7digital.com/1.2/streaming/preview/:trackId", "params": [ { "name": "trackId", "value": "123456", "type": "path", "description": "7digital track id." }, { "name": "format", "value": "mp3", "type": "query", "description": "Audio format for the stream." } ], "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "Stream a track preview clip (HTTP Progressive). All preview clip plays must be reported via the preview logging endpoint." }, { "info": { "name": "7digital Stream Catalogue Track Hls", "type": "http" }, "http": { "method": "GET", "url": "https://api.7digital.com/1.2/streaming/catalogue/:trackId/hls", "params": [ { "name": "trackId", "value": "123456", "type": "path", "description": "7digital track id." } ], "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "Stream any catalogue track available in the user's region (HLS). Designed for non-subscription radio-style plays. Tracks can be cached in an encrypted format and all plays must be reported via the catalogue logging endpoint." }, { "info": { "name": "7digital Stream Catalogue Track Progressive", "type": "http" }, "http": { "method": "GET", "url": "https://api.7digital.com/1.2/streaming/catalogue/:trackId/progressive", "params": [ { "name": "trackId", "value": "123456", "type": "path", "description": "7digital track id." } ], "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "HTTP Progressive variant of catalogue streaming. Same usage rules as the HLS variant." }, { "info": { "name": "7digital Stream Locker Track Hls", "type": "http" }, "http": { "method": "GET", "url": "https://api.7digital.com/1.2/streaming/locker/:trackId/hls", "params": [ { "name": "trackId", "value": "123456", "type": "path", "description": "7digital track id." } ], "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "Stream a previously purchased track from a user's locker (HLS). Supports online plays and offline caching." }, { "info": { "name": "7digital Stream Locker Track Progressive", "type": "http" }, "http": { "method": "GET", "url": "https://api.7digital.com/1.2/streaming/locker/:trackId/progressive", "params": [ { "name": "trackId", "value": "123456", "type": "path", "description": "7digital track id." } ], "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "HTTP Progressive variant of locker streaming." }, { "info": { "name": "7digital Stream Subscription Track Hls", "type": "http" }, "http": { "method": "GET", "url": "https://api.7digital.com/1.2/streaming/subscription/:trackId/hls", "params": [ { "name": "trackId", "value": "123456", "type": "path", "description": "7digital track id." }, { "name": "clientId", "value": "device-789012", "type": "query", "description": "Identifier of the device requesting playback (used for concurrency control)." } ], "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "Stream a track to a valid subscriber (HLS). Requires an active subscription in the user's region. When a clientId is supplied, concurrent multi-device playback is blocked." }, { "info": { "name": "7digital Stream Subscription Track Progressive", "type": "http" }, "http": { "method": "GET", "url": "https://api.7digital.com/1.2/streaming/subscription/:trackId/progressive", "params": [ { "name": "trackId", "value": "123456", "type": "path", "description": "7digital track id." } ], "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "HTTP Progressive variant of subscription streaming." }, { "info": { "name": "7digital Stream Subscription Track Offline Hls", "type": "http" }, "http": { "method": "GET", "url": "https://api.7digital.com/1.2/streaming/subscription/:trackId/offline/hls", "params": [ { "name": "trackId", "value": "123456", "type": "path", "description": "7digital track id." } ], "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "Bulk-cache a subscription track for offline playback (HLS). Requires the device to be pre-authorised via the offline streaming endpoint. All offline plays must be reported when connectivity is restored." }, { "info": { "name": "7digital Stream Subscription Track Offline Progressive", "type": "http" }, "http": { "method": "GET", "url": "https://api.7digital.com/1.2/streaming/subscription/:trackId/offline/progressive", "params": [ { "name": "trackId", "value": "123456", "type": "path", "description": "7digital track id." } ], "auth": { "type": "apikey", "key": "oauth_consumer_key", "value": "{{oauth_consumer_key}}", "placement": "query" } }, "docs": "HTTP Progressive variant of offline subscription streaming." } ] } ], "bundled": true }