Get Transcoded Media¶
Get a URL to a specific transcoded version of the media for an existing job.
HTTP Method
-
GET
/api/job/transcoded_media
¶
Query String Parameters - Required
Name | Details | |
---|---|---|
v | Description | The version of the API to use |
Allowed Values | 1 | |
Example | v=1 |
|
api_token | Description | The API token used for this session |
Allowed Values | Hex String | |
Example | api_token=7ca5dc5c7cce449fb0fff719307e8f5f |
|
job_id | Description | The ID of the job |
Allowed Values | Hex String | |
Example | job_id=64bea283eff6475ea6596027a6ba0929 |
|
transcoded_version | Description | The transcoded version of the media |
Allowed Values | mp4, mp3, webm | |
Example | transcoded_media=webm |
Responses
HTTP Code | Details | |
---|---|---|
200 | Description | Success |
Contents | {
"MediaUrl" : "Encoded Media Url"
}
|
|
400 | Description | An error occurred |
Contents | Error description (see Error Format for details) | |
422 | Description | An error occurred |
Contents | Error description (see Error Format for details) |
Example Requests
GET /api/job/transcoded_media?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f
&job_id=64bea283eff6475ea6596027a6ba0929&transcoded_version=mp4 HTTP/1.1
Host: api.cielo24.com
Example Response
HTTP/1.1 200 OK
Content-Type: application/json
{ "MediaUrl" : "https://sample.url.com" }