Get info on a specific Job
GET /jobs/ID
Authorization Header
- Bearer token: OAuth 2.0 API access token.
Parameters
- format: json or xml. This will override the Request Accept header.
- human: true or false. Causes the response to be in a structured, more human-readable form. Useful when calling the API through curl or a browser.
- expand_all: true or false. Recursively look up referenced objects (e.g. file) and embed the respective json as a nested object directly into the response.
- expand: Comma separated referenced objects (e.g. file,preset). Look up specified ids and embed the respective json as a nested object directly into the response.
- user_data: Filter result to return only Jobs matching the given user_data.
- show_null: true or false. If set to "true", the response will contain also keys that are not set to a value.
Example
GET /jobs/ID
curl -H "Authorization: Bearer um9VmyJKTPGFqpkL_THjGE5rkXqfURDYqQ8MTBVidG3PtwkfABIdx6s_z9WlFl4_j" "https://api.xvid.com/v1/jobs/54761380e4b0fc918f8b8b13?human=true&show_null=true&limit=2"
{
job: {
pipeline: {
id: "552b87a814eab3a29d1b3d90",
href: "https://api.xvid.com/v1/pipelines/552b87a814eab3a29d1b3d90"
},
application: {
id: "552cae3514ea10cb4d3ac69e",
href: "https://api.xvid.com/v1/applications/552cae3514ea10cb4d3ac69e"
},
user_data: null,
input: {
input_name: "uploads/vnaqaHDKsCfX6X1UNN1iU97aSpkspyPP/movie.mp4",
force_container: null,
force_aspect_ratio: null,
force_framerate: null,
force_interlaced: null,
file: {
id: "559cbbe7a636e56d8ae111f0",
href: "https://api.xvid.com/v1/files/559cbbe7a636e56d8ae111f0"
}
},
autograph: null,
output_prefix: "559cbbec14ea67a7cad6c7d8/",
outputs: [{
preset: {
id: "5260e39d84aea12008b69bc1",
href: "https://api.xvid.com/v1/presets/5260e39d84aea12008b69bc1"
},
file: {
id: "559cbbeca636e56d8ae111f4",
href: "https://api.xvid.com/v1/files/559cbbeca636e56d8ae111f4"
},
output_name: "MyTest",
percentage_completed: 100,
thumbnail_zip: {
file: {
id: "559cbbeca636e56d8ae111f2",
href: "https://api.xvid.com/v1/files/559cbbeca636e56d8ae111f2"
}
},
thumbnails: [{
thumbnail_names: "MyTest_{resolution}",
thumbnail_preset: "thumbnails_small",
file: {
id: "559cbbeca636e56d8ae111f3",
href: "https://api.xvid.com/v1/files/559cbbeca636e56d8ae111f3"
}
}],
logos: [{
"logo_image": "https://s3-us-east-1.amazonaws.com/my_logo_pngs/logo30.png",
"logo_preset": "logo_30_bottom_right"
}],
settings: null
}],
status: "SUCCESS",
percentage_completed: 100,
error_msg: null,
error_code: null,
finished_at: 1436335151874,
version: 1,
user: {
id: "552b874d14eab3a29d1b3d8d",
href: "https://api.xvid.com/v1/users/552b874d14eab3a29d1b3d8d"
},
created_at: 1436335084087,
updated_at: 1436335083585,
id: "559cbbec14ea67a7cad6c7d8",
href: "https://api.xvid.com/v1/jobs/559cbbec14ea67a7cad6c7d8"
}
}
Overview
Content Tools