# Function Description
The task scheduling is used to return the completion information of finished production compiling to the task creator
# Request
# request example
POST /job/compile/complete HTTPS
Host: <host>
Content-Type: application/json
# Request Headers
none
# Request Parameters
none
# Request Body
request body is JSON character string,for example:
{
"uuid": "uuid",
// task uuid
"type": 0,
// task type,0-transcoding,1-compiling
"data": {
"code": 0,
// result code
"message": "",
// result message
"url": "",
// url of finished product after compiling
"duration": 1000
// duration of finished product
}
}
Field | Type | Explain | Mandatory |
---|---|---|---|
uuid | string | task uuid | true |
type | int | task type,0-transcoding,1-composing | true |
data | object | callbacking of finished product information | true |
url | string | url of finished product after compiling | true |
code | int | result code,0-success,1-failed | true |
message | string | result message | true |
duration | int | time duration of finished product,in millisecond | true |
# Response
# Response Header
No special response header
# Response Body
{
"code": 0,
"message": "",
"data": null
}