media

Initiate a direct upload (presigned PUT URL)

Required permission: media:write

post/v1/media

Request

  • Base URL: https://api.cueframe.ai
  • URL: https://api.cueframe.ai/v1/media
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.cueframe.ai/api/auth/mcp/authorize, token URL https://api.cueframe.ai/api/auth/mcp/token, scopes: media:write)
    • API key in header PAYMENT-SIGNATURE

Request body

filenamestring required
contentType'video/mp4' | 'video/quicktime' | 'video/x-matroska' | 'video/webm' | 'audio/mpeg' | 'audio/wav' | 'audio/x-wav' | 'audio/mp4' | 'audio/aac' | 'image/png' | 'image/jpeg' | 'image/webp' | 'image/gif' | 'image/svg+xml' | 'application/json' | 'font/ttf' | 'font/otf' | 'font/woff' | 'font/woff2' required
sizeinteger required
projectIdstring

Response

Presigned PUT URL issued.

idstring required
uploadUrlstring uri required
expiresAtstring required

Changes

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