Rivier/ Reference/ files

Ask for adaptive streaming (HLS) of a video or audio file

post/assets/{id}/stream

Ask for adaptive streaming (HLS) of a video or audio file. The build host cuts it and reports back; until then, or where no runner is connected, the original file plays.

Before you call

Credential
Authorization: Bearer $KEY
Scope
files:write
Mcp
rivier_assets_stream
Graphql
Mutation.filesAssetAdaptive
Sdk
files.asset.adaptive
Cli
files asset adaptive

Parameters

  • idstring (uuid)required
    In the path

Responses

  • 202application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown