v2 - Upload Sessions

Request a signed upload URL for a file

Session-token authenticated. Creates a media_v2 record and returns a signed PUT URL.

post/v2/uploads/sessions/{upload_session_id}/request-upload

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

upload_session_idstring required

Query parameters

tokenstring nullable

Headers

x-upload-tokenstring nullable

Request body

filenamestring required

Original filename

content_typestring nullable

MIME type (auto-detected if omitted)

media_typestring

video or image

size_bytesinteger nullable

Total file size in bytes. Enables resumable (chunked) upload.

Response

Successful Response

media_idstring required
signed_urlstring required
resumable_urlstring nullable

Resumable session URL for chunked uploads. Available when size_bytes is provided.

expires_atstring date-time required
gcs_pathstring required
content_typestring required

Changes

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