Transcode
Transcode a video file using the AWS Elastic Transcoder.
Note
Make sure that the aws profile id to be used has been configured.
Resource Information
This service uses the tomcat application on port 8080 by default. To see a list of default ports click here
The context for this API is /studio
, please prefix the API URLs with this context.
HTTP Verb
|
POST
|
URL
|
/api/1/services/api/1/aws/elastictranscoder/transcode.json |
Response Formats
|
JSON |
Required Role
|
N/A
|
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
site_id
|
String
|
✓
|
Site to use
|
profile
|
String
|
✓
|
Profile Id to use
|
Example
Request
POST .../api/1/services/api/1/aws/elastictranscoder/transcode.json?site_id=mysite&profile=profileId
Note
This request needs to be sent with Content-Type=multipart/form-data
and the file as parameter file
.
Response
Status 200 OK
{"job_id":"1516814595995-dl9avp","output_bucket":"mytranscodebucket","base_key":"708213662/8bd2e16f-cc84-4822-ac9a-aa9613ec2cf6"}
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|
|
400
|
{ "message" : "Bad request" } |
|
500
|
{ "message" : "Internal server error" } |