Assets

Prepare direct uploads

Step 1 of 3. Creates placeholder assets and returns a presigned PUT URL per file (PUT the bytes there with the returned headers, no Martini headers), then call /assets/uploads/complete. Up to 50 files.

post/assets/uploads/prepare

Request

  • Base URL: https://api.martini.film
  • URL: https://api.martini.film/assets/uploads/prepare
  • Auth: HTTP bearer

Request body

projectIdstring

Upload into another project the key can edit. Requires canvasId; the pair defaults to the key’s.

canvasIdstring

Requires projectId.

Response

One result per file, in order; check ok on each.

Changes

No recorded changes to this operation across all 1 revision of this API.