# Function description
View task information, including transcoding tasks\install material tasks
# Request
# Request example
GET /job/info HTTPS
Host: <host>
Content-Type: application/json
Authorization: <AuthString>
# Request Parameters
Name | Description | Type | Mandatory |
---|---|---|---|
id | task id | long | Yes |
# Request Headers
Name | Description | Type | Mandatory |
---|---|---|---|
Authorization | User token information | string | Yes |
# Request Body
none
# Response
# Response Header
No special response header
# Response Body
Successful Response Body :
{
"code": 0,
"message": "",
"data": {
createdAt: 1603263132000,
jobId: 11506,
jobType: 3,
progress: 78,
projectId: 7307,
recognitionResultUrl: "",
resourceId: 127,
resourceType: 4,
status: 0,
title: "",
workerId: -1
}
}
Name | Type | Description | Mandatory |
---|---|---|---|
createdAt | string | the job create time | Yes |
jobId | int | the job unique identifier | Yes |
jobType | int | the job type, 1-transcode, 2-compile, 3-audio transcribe | Yes |
progress | int | the progress of job processing | Yes |
projectId | int | the related project id of the job | Yes |
recognitionResultUrl | string | the audio transcribe result url of transcribe job | Yes |
resourceId | int | the job related resource id | Yes |
resourceType | int | the resource type, 1-video, 2-audio, 3-image, 4-transcribe | Yes |
status | int | the job process status, 0-init, 1-success, 2-failed, 3-timeout | Yes |
title | string | the name of the job | Yes |
workerId | int | the worker id of the job | Yes |
The response body of the failed request is
{
"code": <errorCode>,
"message": <errorMessage>,
"data": null
}