Rivier/ Reference/ files

Ask the media worker for a job on a published file

post/assets/{id}/jobs

Ask the media worker for a job on a published file: image sizes and formats with a placeholder and palette, audio peaks, stream and loudness, HLS with a tile sheet, silent preview, alternate audio, subtitles and loudness, or a transcript. The same version, kind and parameters share one result.

Before you call

Credential
Authorization: Bearer $KEY
Scope
files:write
Mcp
rivier_assets_job
Graphql
Mutation.filesAssetJobRequest
Sdk
files.asset.jobRequest
Cli
files asset job request

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • kindstringrequired
    One of: image, audio, hls, transcript.
  • paramsobject

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