Skip to content
Skip to content

Asset

One deliverable media file of an owned exercise. Clips are landscape 16:9 loops: ex<id>-video (video/mp4) or ex<id>-poster (the exact first frame of the video, lossless image/webp). id, version and sha256 are immutable: a corrected file is published under a new version.

Fields

idstringalways

Asset id; pass it to the deliveries endpoints.

versionstringalways

The asset revision. Changes only when the media is corrected; it never affects ownership.

sha256stringalways

Hex SHA-256 of the full file. Verify every import against it.

bytesintegeralways

Size of the full file in bytes.

mediaTypestringalways

video/mp4 for the video; image/jpeg, image/webp or image/png for the poster, as sniffed from its bytes.

One of
video/mp4image/jpegimage/webpimage/png

Returned or accepted by