platform-api

Start a reference upload (Idempotency-Key required): returns a signed PUT URL and the headers to send

post/v1/uploads

Request

  • Base URL: https://api.cuddler.ai
  • URL: https://api.cuddler.ai/v1/uploads
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Required. One key per logical request (e.g. ep03-shot042-take1), never reusable: the same key and body answer with the original object and Idempotent-Replayed: true; the same key with a different body is 409.

Request body

kind'image' | 'video' | 'audio' required
content_typestring required
bytesinteger required
filenamestring

Response

Replay: this Idempotency-Key already started this upload

object'upload' required
idstring required
kind'image' | 'video' | 'audio' required
status'pending' | 'ready' | 'rejected' | 'expired' required
content_typestring required
bytesinteger required
upload_urlstring uri
upload_headersobject
expires_atstring required
rejection_reasonstring
created_atstring required

Changes

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