Skip to main content

Resolve an asset for the media asset renderer

GET 

/program/api/v2/internal/projects/:projectID/assets/:assetID/render

Internal. How mediaassets turns an (projectId, assetId, revision) from a stream's mediaAssets into something it can render:

  • an html asset answers with the page address and its render settings
  • an image asset answers with a short-lived signed URL for the bytes, plus content type, size and revision

Internal JWT only, and not part of the customer-facing API. The signed URL is short-lived on purpose: it is fetched immediately, not stored.

Generate JWT

Request​

Responses​

How to render the asset

Not Modified — the caller's revision is current

Forbidden — not an internal token

Not Found — no asset with this id in this project

Internal Server Error