v1

latestOpenAPI 3.0.22026-07-24296786.1 KB

Create an asset

Use this endpoint to upload images and videos. These may then be later referred to when creating videos.

post/assets

Headers

Content-Typestring

The media type of the file being uploaded. Accepted values are image/jpeg, image/png, image/svg+xml, video/mp4 and video/webm.

Request body

RAW_BODYstring binary

The file to upload.

Response

200

idstring
titlestring

Example response

{
  "id": "user.5dac3bd5-cdb2-4a02-b917-XXXXXX",
  "title": "blue.svg"
}