SDK reference
Video
GET/
The project's finished proxies: each one's media item (mediaRef), name, type and size. Read a proxy through Office's GET …/office/files/:fileId/media/:mediaId.
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/video/files/{fileId}/proxies' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Starts an upload into the project in parts: a proxy of a media item (mediaRef, MP4 or WebM, up to video.proxyMb) or, with purpose: "audio", the mixdown to transcribe. Answers mediaId, partSize, partCount and links for the first parts. Editors only.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/video/files/{fileId}/proxies' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"size": 1,
"mime": "example"
}'POST/
Links for more parts (parts, 1 to 100 part numbers).
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/video/files/{fileId}/proxies/{mediaId}/parts' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"parts": [
1
]
}'POST/
Finishes the upload once every part is in; it then counts against the space's storage.
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/video/files/{fileId}/proxies/{mediaId}/complete' \
-H "Authorization: Bearer $CACTIVE_TOKEN"DELETE/
Deletes a proxy, a mixdown or an unfinished upload of one, giving its storage back (when its media item leaves the project, or to make it again). Editors only.
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/video/files/{fileId}/proxies/{mediaId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PUT/
Saves the project's poster frame (the body: a WebP or JPEG of at most 1 MB). Drive's thumbnail of the project follows. Editors only.
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/video/files/{fileId}/poster' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Captions from speech: the uploaded mixdown (audioMediaId, duration in flicks) or one media item (source: "media", mediaId) into a new caption track of sequenceId from from, in language (or auto), with up to speakers voices told apart. 202 with the job; the track arrives in the project when it's done. Counts against your daily transcription minutes.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/video/files/{fileId}/transcriptions' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
A transcription job: status (running, done, failed), the caption track it made (trackId) and its cue count, or why it failed.
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/video/files/{fileId}/transcriptions/{transcriptionId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
The project's finished proxies: each one's media item (mediaRef), name, type and size. Read a proxy through Office's GET …/office/files/:fileId/media/:mediaId.
curl 'https://api.cactive.com.au/v1/me/video/files/{fileId}/proxies' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Starts an upload into the project in parts: a proxy of a media item (mediaRef, MP4 or WebM, up to video.proxyMb) or, with purpose: "audio", the mixdown to transcribe. Answers mediaId, partSize, partCount and links for the first parts. Editors only.
curl -X POST 'https://api.cactive.com.au/v1/me/video/files/{fileId}/proxies' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"size": 1,
"mime": "example"
}'POST/
Links for more parts (parts, 1 to 100 part numbers).
curl -X POST 'https://api.cactive.com.au/v1/me/video/files/{fileId}/proxies/{mediaId}/parts' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"parts": [
1
]
}'POST/
Finishes the upload once every part is in; it then counts against the space's storage.
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/me/video/files/{fileId}/proxies/{mediaId}/complete' \
-H "Authorization: Bearer $CACTIVE_TOKEN"DELETE/
Deletes a proxy, a mixdown or an unfinished upload of one, giving its storage back (when its media item leaves the project, or to make it again). Editors only.
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/me/video/files/{fileId}/proxies/{mediaId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PUT/
Saves the project's poster frame (the body: a WebP or JPEG of at most 1 MB). Drive's thumbnail of the project follows. Editors only.
Parameters and answerscurl -X PUT 'https://api.cactive.com.au/v1/me/video/files/{fileId}/poster' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Captions from speech: the uploaded mixdown (audioMediaId, duration in flicks) or one media item (source: "media", mediaId) into a new caption track of sequenceId from from, in language (or auto), with up to speakers voices told apart. 202 with the job; the track arrives in the project when it's done. Counts against your daily transcription minutes.
curl -X POST 'https://api.cactive.com.au/v1/me/video/files/{fileId}/transcriptions' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
A transcription job: status (running, done, failed), the caption track it made (trackId) and its cue count, or why it failed.
curl 'https://api.cactive.com.au/v1/me/video/files/{fileId}/transcriptions/{transcriptionId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Video's limits (limits, the platform's), the export presets (presets, with the platform's changes) and what Transcribe offers (transcribe: whether it's on, its languages and the minutes allowed). People only.
curl 'https://api.cactive.com.au/v1/video/config' \
-H "Authorization: Bearer $CACTIVE_TOKEN"