Skip to main content

library. assets

The files of a media: video, audio, image and WebVTT subtitle files. Each asset lists the storage locations holding its file.

To add a file:

  1. POST /api/v1/library/media/{id}/assets with the file name, MIME type and size. The response carries an assetId and a signed upload target.
  2. PUT the file bytes to upload.url with the returned upload.headers.
  3. POST /api/v1/library/assets/{id}/confirm. A confirmed video is queued for video analysis.

GET /api/v1/library/assets/{id}/download signs a short-lived read URL for the file.