Either an URL to download, or the ID of an upload request
Example: "/7/1455102967-image.png"
attributes.typeenumRequired
The type of track (audio or subtitles)
Example: "subtitles"
subtitlesOptional
Subtitles
audioOptional
Audio
attributes.language_codestringRequired
A valid BCP 47 specification compliant language code
Example: "it-IT"
attributes.namestringOptional
The human-readable name of the track
Example: "Italiano"
attributes.closed_captionsnull, booleanOptional
Indicates if the track provides subtitles for the Deaf or Hard-of-hearing (SDH)
Returns
Returns
a Job ID. You can then poll for the
completion of the job
that will eventually return
a resource object of type upload_track
Examples
The response contains the ID of the asynchronous job that started:
To get the asynchronous job result, poll the job result endpoint. While the task is in progress, the endpoint returns a 404 status code. When the job completes, the status changes to 200 OK: