Sharing
Play a shared file
POST
Needs no token. The first call from a viewerId takes a viewer place, and fails with 403 when every place is taken. The URL supports HTTP Range and never outlives the link.
token*stringLength
1 <= length <= 100fileId*stringLength
1 <= length <= 100application/json- body
viewerId*stringLength
8 <= length <= 100deviceLabel?stringLength
1 <= length <= 100hevc?stringValue in
"none""main""main10"inlineHls?booleanPlayback
application/json- response
url*stringFormat
uriexpiresAt*stringFormat
date-timemimeType*stringplayable*booleanprogress*|nullsubtitles*array<>conversion*|nullhls?|nullmarkers?|nulltrackPreference?|nulloriginalLanguage?string|nullcurl -X POST 'https://fastwater.app/v1/shared/string/files/string/playback' \ -H 'Content-Type: application/json' \ -d '{ "viewerId": "stringst"}'Example Response
{ "url": "http://example.com", "expiresAt": "2019-08-24T14:15:22Z", "mimeType": "string", "playable": true, "progress": { "fileId": "string", "positionSeconds": 0, "durationSeconds": 0, "completed": true, "clientId": "string", "updatedAt": "2019-08-24T14:15:22Z" }, "subtitles": [ { "id": "string", "language": "string", "label": "string", "forced": true, "default": true, "source": "embedded", "url": "http://example.com" } ], "conversion": { "state": "queued", "progress": 0, "etaSeconds": 0, "stream": { "url": "http://example.com", "expiresAt": "2019-08-24T14:15:22Z" }, "streamInSeconds": 0 }, "hls": { "url": "http://example.com", "tvUrl": "http://example.com", "inline": { "playlists": { "property1": "string", "property2": "string" }, "initSegments": { "property1": "string", "property2": "string" } } }, "markers": { "intro": { "startSeconds": 0, "endSeconds": 0 }, "credits": { "startSeconds": 0 } }, "trackPreference": { "audio": { "language": "string", "commentary": true, "descriptive": true }, "subtitles": { "language": "string", "forced": true, "hearingImpaired": true, "commentary": true } }, "originalLanguage": "string"}