Skip to main content

Jobs

GET Jobs#

Get all jobs

GET ALL
MethodGET ALL
URL or EndPoint/api/v{version}/projects/{projectId}/jobs
HeadersAuthorization
Parametersversion, projectId, pageIndex, pageSize, status
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
{version}Yesinteger($int32)1Shows the version of API
{projectId}Yesstring{$Guid)3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the id of the project

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
projctIdYesstring($Guid)3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the id of the project
VersionYesstring1Shows the version of API
PageIndexNointeger($int32)1Enter the page index, from which page you want to see jobs
PageSizeNointeger($int32)10Enter how many pages you want to list from page index you selected
StatusNointeger($int32)0Shows the all the jobs with that particular status

Request Body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{ "success": true,    "errors": [],    "messages": [],    "result": [        {            "id": 0,            "name": "3fa85f64-5717-4562-b3fc-2c963f66afa6",            "filePath": "https://example.com/bucket/destination/test.mp4",            "isCancelable": false,            "status": "string",            "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",            "progress": 0,            "insertDate": "2022-04-12T08:46:36.313Z",            "startDateTime": "2022-04-12T08:46:36.313Z",            "endDateTime": null        }    ],    "resultInfo": {        "totalCount": 0,        "pageIndex": 0,        "pageSize": 0,        "totalPages": 0,        "hasNextPage": true,        "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns the list of requested jobs
idinteger($int32)0Returns the id of the requested job
namestring($Guid)"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the name of the requested job
filePathstring"https://example.com/file.mp4"Returns the file path of the input file of the requested job
isCancelableboolfalseReturns true if you can cancel the job or false if you can't cancel a job while processing
statusstring"Submitted"Return the status of the job
projectIdstring($Guid)"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id of the requested job
progressinteger($int32)0Returns the progress of completion for the requested job
insertDatedate2022-04-12T08:46:36.313ZReturns the date when that job has been inserted
startDateTimedate2022-04-12T08:46:36.313ZReturns the date when that job has started processing
endDateTimedate2022-04-12T08:46:36.313ZReturns the date when that job has been finished
resultInfoobjectReturns an object of behavior
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns the page index, from which page you want to see the requested data
pageSizeinteger($int32)0Returns how many pages you want to list from page index you selected
totalPagesinteger($int32)0Returns the total number of pages
hasNextPagebooltrueReturns the next page of paginated data
hasPreviousPagebooltrueReturns the previous page of paginated data

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

POST Job#

Get job by name.

GET
MethodPOST
URL or EndPoint/api/v{version}/projects/{projectId}/jobs
HeadersAuthorization
Parametersversion, projectId
Body{jobTemplateId, input{filePath, fileDuration, callbackUrl}, destination, generateThumbnail, tags[]{key, value}}

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
{version}Yesstringv1Shows the version of API
{projectId}Yesstring($Guid)3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the id of the project

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
ProjectIdYesstring($Guid)3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the id of the project
VersionYesinteger($int32)v1Shows the version of API

Request body#

{  "jobTemplateId": 0,  "input": {    "filePath": "string",    "fileDuration": 0,    "callbackUrl": "string"  },  "destination": "string",  "generateThumbnail": true,  "tags": [    {      "key": "string",      "value": "string"    }  ]}

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
jobTemplateIdYesinteger($int32)0The id of the template to be used to create the job
inputYesobjectIt specifies all the input file properties to create a new job
filePathYesstring"string"It specifies the path for the input file to be transcoded
fileDurationNostring0It specifies the duration of the input file to be transcoded
callbackUrlNostring"string"It specifies the url that will be used to notify on any status change
destinationYesstring"test/path"It specifies the destination for the encoded videos
generateThumbnailYesboolfalseIt specifies whether or not you want to create a thumbnail for the encoded video
tagsNoarray [object]It specifies the list of tags, which are key-value properties, regarding the requested job
keyNostring"string"It specifies the tag's key of the requested job
valueNostring"string"It specifies the tag's value of the requested job

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{ "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": 0,    "insertDate": "2022-04-12T09:40:21.233Z",    "name": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "jobTemplateId": 0,    "jobTemplateName": "string",    "status": "string",    "statusId": 0,    "isCancelable": true,    "destination": "string",    "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "jobPercentComplete": 0,    "startDateTime": "2022-04-12T09:40:21.233Z",    "endDateTime": "2022-04-12T09:40:21.233Z",    "drmContentId": "string",    "drmKeyId": "string",    "generateThumbnail": true,    "input": {      "filePath": "string",      "fileDuration": 0,      "callbackUrl": "string"    },    "groups": [      {        "name": "string",        "customName": "string",        "uploadedPath": "string",        "segmentControl": "string",        "masterFile": "string",        "segmentLength": 0,        "minSegmentLength": 0,        "typeDescription": "string",        "description": "string",        "outputs": [          {            "id": 0,            "name": "string",            "nameModifier": "string",            "presetId": 0,            "presetName": "string",            "videoCodec": "string",            "uploadedPath": "string",            "masterFile": "string",            "audioCodec": "string",            "encodingOutputJob": {              "id": 0,              "progress": 0,              "statusDescription": "string",              "isCancelable": true,              "startDateTime": "2022-04-12T09:40:21.233Z",              "endDateTime": "2022-04-12T09:40:21.233Z"            }          }        ]      }    ],    "tags": [      {        "key": "string",        "value": "string"      }    ]  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns the requested live job
idinteger($int32)0Returns the id of the job
insertDatedate2022-04-12T08:46:36.313ZReturns the date when that job has been inserted
namestring($Guid)"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the name of the job
jobTemplateIdinteger($int32)0Returns the id of the requested job template
jobTemplateNamestring"TestTemplate"Return the name of the template
statusstring"Submitted"Return the status of the job
statusIdinteger($int32)0Returns the status id of the requested job
isCancelableboolfalseReturns true if you can cancel the job or false if you can't cancel a job while processing
destinationstring"test/path"Return the destination for the encoded videos
projectIdstring($Guid)"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id of the created job
jobPercentCompleteinteger($int32)0Returns the percentage of the progress of completion for the requested job
startDateTimedate2022-04-12T08:46:36.313ZReturns the date when that job has started processing
endDateTimedate2022-04-12T08:46:36.313ZReturns the date when that job has been finished
drmContentIdstring"string"Return the content id of the DRM for the created job
drmKeyIdstring"string"Return the key id of the DRM for the created job
inputobjectReturn the input object which contains the input file properties
filePathstring"string"Returns the path for the input file to be transcoded
fileDurationstring0Returns the duration of the input file to be transcoded
callbackUrlstring"string"Returns url that will be used to notify on any status change
groupsarray [object]Returns the list of groups that are used during the transcoding process
namestring"string"Returns the default name of the encoding group
customNamestring"string"Returns the name of the encoding group provided by the user. It will overwrite the default name
uploadedPathstring"string"Returns the uploaded path of the encoding group
segmentControlstring"string"Returns the segment control of the encoding group chosen by the user in accordance with the respective group
masterFilestring"string"Returns the name of the master file for the encoded file input
segmentLengthinteger($int32)0Returns the length of the MPEG-2 Transport Stream segments to create (in seconds)
minSegmentLengthinteger($int32)0Returns the minimum length of the Transpost Stream segments
typeDescriptionstring"string"Returns the description regarding the type of output group chosen
descriptionstring"string"Returns the description about that output group
outputsarray [object]Returns the list of outputs which specify the properties of the output format for the input file
idinteger($int32)0Returns the id of the output
namestring"string"Returns the default name of the output
nameModifierstring"string"Returns the name given by the user for that specific output which will overwrite the default name
presetIdinteger($int32)0Returns the preset id for that specific output
presetNamestring"string"Returns the name of the preset for that specific output
videoCodecstring"string"Returns the codec of the video
uploadedPathstring"string"Returns the path of the output uploaded
masterFilestring"string"Returns the path for the masterfile of the requested output
audioCodecstring"string"Returns the codec of the audio
encodingOutputJobobjectReturns the properties of the encoding output job specific for that particular output
idinteger($int32)0Returns the id of the encoding output job for that specific output
progressinteger($int32)0Returns the percentage of the encoding output job completion
statusDescriptionstring"string"Returns the description of the status of the encoding output job
isCancelableboolfalseReturns true if you can cancel the encoding output job or false if you can't cancel an encoding output job while processing
startDateTimedate2022-04-12T08:46:36.313ZReturns the date when that encoding output job has started processing
endDateTimedate2022-04-12T08:46:36.313ZReturns the date when that encoding output job has been finished
tagsarray [object]Returns the list of tags, which are key-value properties, regarding the requested job
keystring"string"Returns the tag's key of the requested job
valuestring"string"Returns the tag's value of the requested job
resultInfoobjectReturns an object of behavior
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns the page index, from which page you want to see the requested data
pageSizeinteger($int32)0Returns how many pages you want to list from page index you selected
totalPagesinteger($int32)0Returns the total number of pages
hasNextPagebooltrueReturns the next page of paginated data
hasPreviousPagebooltrueReturns the previous page of paginated data

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 400 Bad Request
  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

GET Job#

Get job by name.

GET
MethodGET
URL or EndPoint/api/v{version}/projects/{projectId}/jobs/{id}
HeadersAuthorization
Parametersversion, projectId, id
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
{version}Yesinteger($int32)1Shows the version of API
{projectId}YesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the project id
{id}YesstringGuidThe name of the job requested

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
IdYesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the name of the requested job
VersionYesinteger($int32)1Shows the version of API
ProjectIdYesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the project id for the requested job

Request body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{ "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": 0,    "insertDate": "2022-04-12T09:40:21.233Z",    "name": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "jobTemplateId": 0,    "jobTemplateName": "string",    "status": "string",    "statusId": 0,    "isCancelable": true,    "destination": "string",    "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "jobPercentComplete": 0,    "startDateTime": "2022-04-12T09:40:21.233Z",    "endDateTime": "2022-04-12T09:40:21.233Z",    "drmContentId": "string",    "drmKeyId": "string",    "generateThumbnail": true,    "input": {      "filePath": "string",      "fileDuration": 0,      "callbackUrl": "string"    },    "groups": [      {        "name": "string",        "customName": "string",        "uploadedPath": "string",        "segmentControl": "string",        "masterFile": "string",        "segmentLength": 0,        "minSegmentLength": 0,        "typeDescription": "string",        "description": "string",        "outputs": [          {            "id": 0,            "name": "string",            "nameModifier": "string",            "presetId": 0,            "presetName": "string",            "videoCodec": "string",            "uploadedPath": "string",            "masterFile": "string",            "audioCodec": "string",            "encodingOutputJob": {              "id": 0,              "progress": 0,              "statusDescription": "string",              "isCancelable": true,              "startDateTime": "2022-04-12T09:40:21.233Z",              "endDateTime": "2022-04-12T09:40:21.233Z"            }          }        ]      }    ],    "tags": [      {        "key": "string",        "value": "string"      }    ]  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns the requested live job
idinteger($int32)0Returns the id of the requested job
insertDatedate2022-04-12T08:46:36.313ZReturns the date when that job has been inserted
namestring($Guid)"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the name of the requested job
jobTemplateIdinteger($int32)0Returns the id of the requested job template
jobTemplateNamestring"TestTemplate"Return the name of the requested job template
statusstring"Submitted"Return the status of the job
statusIdinteger($int32)0Returns the status id of the requested job
isCancelableboolfalseReturns true if you can cancel the job or false if you can't cancel a job while processing
destinationstring"test/path"Return the destination for the encoded videos
projectIdstring($Guid)"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id of the requested job
jobPercentCompleteinteger($int32)0Returns the percentage of the progress of completion for the requested job
startDateTimedate2022-04-12T08:46:36.313ZReturns the date when that job has started processing
endDateTimedate2022-04-12T08:46:36.313ZReturns the date when that job has been finished
drmContentIdstring"string"Return the content id of the DRM for the reqested job
drmKeyIdstring"string"Return the key id of the DRM for the reqested job
inputobjectReturn the input object which contains the input file properties
filePathstring"string"Returns the path for the input file to be transcoded
fileDurationstring0Returns the duration of the inut file to be transcoded
callbackUrlstring"string"Returns url that will be used to notify on any status change
groupsarray [object]Returns the list of groups that are used during the transcoding process
namestring"string"Returns the default name of the encoding group
customNamestring"string"Returns the name of the encoding group provided by the user. It will overwrite the default name
uploadedPathstring"string"Returns the uploaded path of the encoding group
segmentControlstring"string"Returns the segment control of the encoding group chosen by the user in accordance with the respective group
masterFilestring"string"Returns the name of the master file for the encoded file input
segmentLengthinteger($int32)0Returns the length of the MPEG-2 Transport Stream segments to create (in seconds)
minSegmentLengthinteger($int32)0Returns the minimum length of the Transpost Stream segments
typeDescriptionstring"string"Returns the description regarding the type of output group chosen
descriptionstring"string"Returns the description about that output group
outputsarray [object]Returns the list of outputs which specify the properties of the output format for the input file
idinteger($int32)0Returns the id of the output
namestring"string"Returns the default name of the output
nameModifierstring"string"Returns the name given by the user for that specific output which will overwrite the default name
presetIdinteger($int32)0Returns the preset id for that specific output
presetNamestring"string"Returns the name of the preset for that specific output
videoCodecstring"string"Returns the codec of the video
uploadedPathstring"string"Returns the path of the output uploaded
masterFilestring"string"Returns the path for the masterfile of the requested output
audioCodecstring"string"Returns the codec of the audio
encodingOutputJobobjectReturns the properties of the encoding output job specific for that particular output
idinteger($int32)0Returns the id of the encoding output job for that specific output
progressinteger($int32)0Returns the percentage of the encoding output job completetion
statusDescriptionstring"string"Returns the description of the status of the encoding output job
isCancelableboolfalseReturns true if you can cancel the encoding output job or false if you can't cancel an encoding output job while processing
startDateTimedate2022-04-12T08:46:36.313ZReturns the date when that encoding output job has started processing
endDateTimedate2022-04-12T08:46:36.313ZReturns the date when that encoding output job has been finished
tagsarray [object]Returns the list of tags, which are key-value properties, regarding the requested job
keystring"string"Returns the tag's key of the requested job
valuestring"string"Returns the tag's value of the requested job
resultInfoarray [object]Returns an object of job
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns the page index, from which page you want to see jobs
pageSizeinteger($int32)0Returns how many pages you want to list from page index you selected
totalPagesinteger($int32)0Returns the page number of job
hasNextPagebooltrueReturns the next page of paganed data
hasPreviousPagebooltrueReturns the previous page of paganed data

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 400 Bad Request
  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

POST Job#

Duplicate job.

POST
MethodPOST
URL or EndPoint/api/v{version}/projects/{projectId}/jobs/{id}/duplicate
HeadersAuthorization
Parametersversion, projectId, id
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
{version}Yesinteger($int32)1Shows the version of API
{projectId}YesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the project id
{id}YesGuidGuidThe name of the job requested

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
IdYesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the name of the requested job to be duplicated
VersionYesinteger($int32)1Shows the version of API
ProjectIdYesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the project id for the requested job to be duplicated

Request body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{ "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": 0,    "insertDate": "2022-04-12T09:40:21.233Z",    "name": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "jobTemplateId": 0,    "jobTemplateName": "string",    "status": "string",    "statusId": 0,    "isCancelable": true,    "destination": "string",    "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "jobPercentComplete": 0,    "startDateTime": "2022-04-12T09:40:21.233Z",    "endDateTime": "2022-04-12T09:40:21.233Z",    "drmContentId": "string",    "drmKeyId": "string",    "generateThumbnail": true,    "input": {      "filePath": "string",      "fileDuration": 0,      "callbackUrl": "string"    },    "groups": [      {        "name": "string",        "customName": "string",        "uploadedPath": "string",        "segmentControl": "string",        "masterFile": "string",        "segmentLength": 0,        "minSegmentLength": 0,        "typeDescription": "string",        "description": "string",        "outputs": [          {            "id": 0,            "name": "string",            "nameModifier": "string",            "presetId": 0,            "presetName": "string",            "videoCodec": "string",            "uploadedPath": "string",            "masterFile": "string",            "audioCodec": "string",            "encodingOutputJob": {              "id": 0,              "progress": 0,              "statusDescription": "string",              "isCancelable": true,              "startDateTime": "2022-04-12T09:40:21.233Z",              "endDateTime": "2022-04-12T09:40:21.233Z"            }          }        ]      }    ],    "tags": [      {        "key": "string",        "value": "string"      }    ]  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns the requested live job
idinteger($int32)0Returns the id of the requested job
insertDatedate2022-04-12T08:46:36.313ZReturns the date when that job has been inserted
namestring($Guid)"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the name of the requested job
jobTemplateIdinteger($int32)0Returns the id of the requested job template
jobTemplateNamestring"TestTemplate"Return the name of the requested job template
statusstring"Submitted"Return the status of the job
statusIdinteger($int32)0Returns the status id of the requested job
isCancelableboolfalseReturns true if you can cancel the job or false if you can't cancel a job while processing
destinationstring"test/path"Return the destination for the encoded videos
projectIdstring($Guid)"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id of the requested job
jobPercentCompleteinteger($int32)0Returns the percentage of the progress of completion for the requested job
startDateTimedate2022-04-12T08:46:36.313ZReturns the date when that job has started processing
endDateTimedate2022-04-12T08:46:36.313ZReturns the date when that job has been finished
drmContentIdstring"string"Return the content id of the DRM for the reqested job
drmKeyIdstring"string"Return the key id of the DRM for the reqested job
inputobjectReturn the input object which contains the input file properties
filePathstring"string"Returns the path for the input file to be transcoded
fileDurationstring0Returns the duration of the inut file to be transcoded
callbackUrlstring"string"Returns url that will be used to notify on any status change
groupsarray [object]Returns the list of groups that are used during the transcoding process
namestring"string"Returns the default name of the encoding group
customNamestring"string"Returns the name of the encoding group provided by the user. It will overwrite the default name
uploadedPathstring"string"Returns the uploaded path of the encoding group
segmentControlstring"string"Returns the segment control of the encoding group chosen by the user in accordance with the respective group
masterFilestring"string"Returns the name of the master file for the encoded file input
segmentLengthinteger($int32)0Returns the length of the MPEG-2 Transport Stream segments to create (in seconds)
minSegmentLengthinteger($int32)0Returns the minimum length of the Transpost Stream segments
typeDescriptionstring"string"Returns the description regarding the type of output group chosen
descriptionstring"string"Returns the description about that output group
outputsarray [object]Returns the list of outputs which specify the properties of the output format for the input file
idinteger($int32)0Returns the id of the output
namestring"string"Returns the default name of the output
nameModifierstring"string"Returns the name given by the user for that specific output which will overwrite the default name
presetIdinteger($int32)0Returns the preset id for that specific output
presetNamestring"string"Returns the name of the preset for that specific output
videoCodecstring"string"Returns the codec of the video
uploadedPathstring"string"Returns the path of the output uploaded
masterFilestring"string"Returns the path for the masterfile of the requested output
audioCodecstring"string"Returns the codec of the audio
encodingOutputJobobjectReturns the properties of the encoding output job specific for that particular output
idinteger($int32)0Returns the id of the encoding output job for that specific output
progressinteger($int32)0Returns the percentage of the encoding output job completetion
statusDescriptionstring"string"Returns the description of the status of the encoding output job
isCancelableboolfalseReturns true if you can cancel the encoding output job or false if you can't cancel an encoding output job while processing
startDateTimedate2022-04-12T08:46:36.313ZReturns the date when that encoding output job has started processing
endDateTimedate2022-04-12T08:46:36.313ZReturns the date when that encoding output job has been finished
tagsarray [object]Returns the list of tags, which are key-value properties, regarding the requested job
keystring"string"Returns the tag's key of the requested job
valuestring"string"Returns the tag's value of the requested job
resultInfoarray [object]Returns an object of job
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns the page index, from which page you want to see jobs
pageSizeinteger($int32)0Returns how many pages you want to list from page index you selected
totalPagesinteger($int32)0Returns the page number of job
hasNextPagebooltrueReturns the next page of paganed data
hasPreviousPagebooltrueReturns the previous page of paganed data

Errors#

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

PUT Job#

Cancel a job

PUT
MethodPUT
URL or EndPoint/api/v{version}/projects/{projectId}/jobs/{id}/cancel
HeadersAuthorization
Parametersversion, projectId, id
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
{version}Yesinteger($int32)1Shows the version of API
{projectId}YesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the project id
{id}YesstringGuidThe name of the job requested

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
IdYesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the name of the requested job to be canceled
VersionYesinteger($int32)1Shows the version of API
ProjectIdYesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the project id for the requested job to be canceled

Request body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{ "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": 0,    "insertDate": "2022-04-12T09:40:21.233Z",    "name": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "jobTemplateId": 0,    "jobTemplateName": "string",    "status": "string",    "statusId": 0,    "isCancelable": true,    "destination": "string",    "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "jobPercentComplete": 0,    "startDateTime": "2022-04-12T09:40:21.233Z",    "endDateTime": "2022-04-12T09:40:21.233Z",    "drmContentId": "string",    "drmKeyId": "string",    "generateThumbnail": true,    "input": {      "filePath": "string",      "fileDuration": 0,      "callbackUrl": "string"    },    "groups": [      {        "name": "string",        "customName": "string",        "uploadedPath": "string",        "segmentControl": "string",        "masterFile": "string",        "segmentLength": 0,        "minSegmentLength": 0,        "typeDescription": "string",        "description": "string",        "outputs": [          {            "id": 0,            "name": "string",            "nameModifier": "string",            "presetId": 0,            "presetName": "string",            "videoCodec": "string",            "uploadedPath": "string",            "masterFile": "string",            "audioCodec": "string",            "encodingOutputJob": {              "id": 0,              "progress": 0,              "statusDescription": "string",              "isCancelable": true,              "startDateTime": "2022-04-12T09:40:21.233Z",              "endDateTime": "2022-04-12T09:40:21.233Z"            }          }        ]      }    ],    "tags": [      {        "key": "string",        "value": "string"      }    ]  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns the requested live job
idinteger($int32)0Returns the id of the requested job
insertDatedate2022-04-12T08:46:36.313ZReturns the date when that job has been inserted
namestring($Guid)"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the name of the requested job to be canceled
jobTemplateIdinteger($int32)0Returns the id of the requested job template
jobTemplateNamestring"TestTemplate"Return the name of the requested job template
statusstring"Submitted"Return the status of the job
statusIdinteger($int32)0Returns the status id of the requested job
isCancelableboolfalseReturns true if you can cancel the job or false if you can't cancel a job while processing
destinationstring"test/path"Return the destination for the encoded videos
projectIdstring($Guid)"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id of the requested job
jobPercentCompleteinteger($int32)0Returns the percentage of the progress of completion for the requested job
startDateTimedate2022-04-12T08:46:36.313ZReturns the date when that job has started processing
endDateTimedate2022-04-12T08:46:36.313ZReturns the date when that job has been finished
drmContentIdstring"string"Return the content id of the DRM for the reqested job
drmKeyIdstring"string"Return the key id of the DRM for the reqested job
inputobjectReturn the input object which contains the input file properties
filePathstring"string"Returns the path for the input file to be transcoded
fileDurationstring0Returns the duration of the inut file to be transcoded
callbackUrlstring"string"Returns url that will be used to notify on any status change
groupsarray [object]Returns the list of groups that are used during the transcoding process
namestring"string"Returns the default name of the encoding group
customNamestring"string"Returns the name of the encoding group provided by the user. It will overwrite the default name
uploadedPathstring"string"Returns the uploaded path of the encoding group
segmentControlstring"string"Returns the segment control of the encoding group chosen by the user in accordance with the respective group
masterFileinteger($int32)0Returns the name of the master file for the encoded file input
segmentLengthinteger($int32)0Returns the length of the MPEG-2 Transport Stream segments to create (in seconds)
minSegmentLengthinteger($int32)0Returns the minimum length of the Transpost Stream segments
typeDescriptionstring"string"Returns the description regarding the type of output group chosen
descriptionstring"string"Returns the description about that output group
outputsarray [object]Returns the list of outputs which specify the properties of the output format for the input file
idinteger($int32)0Returns the id of the output
namestring"string"Returns the default name of the output
nameModifierstring"string"Returns the name given by the user for that specific output which will overwrite the default name
presetIdinteger($int32)0Returns the preset id for that specific output
presetNamestring"string"Returns the name of the preset for that specific output
videoCodecstring"string"Returns the codec of the video
uploadedPathstring"string"Returns the path of the output uploaded
masterFilestring"string"Returns the path for the masterfile of the requested output
audioCodecstring"string"Returns the codec of the audio
encodingOutputJobobjectReturns the properties of the encoding output job specific for that particular output
idinteger($int32)0Returns the id of the encoding output job for that specific output
progressinteger($int32)0Returns the percentage of the encoding output job completetion
statusDescriptionstring"string"Returns the description of the status of the encoding output job
isCancelableboolfalseReturns true if you can cancel the encoding output job or false if you can't cancel an encoding output job while processing
startDateTimedate2022-04-12T08:46:36.313ZReturns the date when that encoding output job has started processing
endDateTimedate2022-04-12T08:46:36.313ZReturns the date when that encoding output job has been finished
tagsarray [object]Returns the list of tags, which are key-value properties, regarding the requested job
keystring"string"Returns the tag's key of the requested job
valuestring"string"Returns the tag's value of the requested job
resultInfoarray [object]Returns an object of job
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns the page index, from which page you want to see jobs
pageSizeinteger($int32)0Returns how many pages you want to list from page index you selected
totalPagesinteger($int32)0Returns the page number of job
hasNextPagebooltrueReturns the next page of paganed data
hasPreviousPagebooltrueReturns the previous page of paganed data

Errors#

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

GET Job Timing#

Get all job timing

GET ALL
MethodGET
URL or EndPoint/api/v{version}/projects/{projectId}/jobs/{id}/timings
HeadersAuthorization
Parametersversion, projectId, id, pageIndex, pageSize, status
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
{version}Yesinteger($int32)1Shows the version of API
{projectId}YesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the id of the project
{id}YesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6Shows the name of the requested job to aqcuire all the timings

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
projctIdYesGuid3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty project configuration is returned
VersionYesstringv1Shows the version of API
IdYesstringv1Shows the name of the job to aqcuire all the timings
PageIndexNointeger($int32)1Enter the page index, from which page you want to see jobs
PageSizeNointeger($int32)10Enter how many pages you want to list from page index you selected
StatusNointeger($int32)0Shows the all the jobs with that particular status

Request Body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": [    {      "status": "string",      "childStatus": "string",      "startDateTime": "2022-04-13T22:41:25.576Z",      "messageComment": "string"    }  ],  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will return false
errorsarray []"string"Indicate if there was an error
messagesarray []"string"Returns the response message from back-end
resultarray [object]Returns the requested live job
statusstring"string"Returns the status of the job when the timing was taken
childStatusstring"Guid"Returns the status of the activity of the job when the timing was taken
startDateTimeDateTime"2022-04-13T22:41:25.576Z"Returns the time when that timing was recorded
messageCommentstring"string"Returns the message of the job timing
resultInfoarray [object]Returns an object of job
totalCountinteger($int32)0How many records of behavior entity are in database
pageIndexinteger($int32)0Returns the page index, from which page you want to see jobs
pageSizeinteger($int32)0Returns how many pages you want to list from page index you selected
totalPagesinteger($int32)0Returns the page number of job
hasNextPagebooltrueReturns the next page of paganed data
hasPreviousPagebooltrueReturns the previous page of paganed data

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found