# Function Description
To get the pagination query task.
# Request
# request example
get /job/list
# Request Parameters
Field | Type | Explain | Mandatory |
---|---|---|---|
pageNum | int | number of pages,and default is first page. | false |
pageSize | int | items per page. default is 30. limit is 100 | false |
uuid | String | uuid of task | false |
type | int | task type | false |
initDateStart | String | start time of creating yyyy-MM-dd HH:mm:ss | false |
initDateEnd | String | end time of creating.and format: yyyy-MM-dd HH:mm:ss | false |
showDetail | boolean | query detail information or not,we do not recommend that the returning valus of this two fields dataDetail and excuteResultDetail by batch query.the reason is type of fields are longtext.and it has bad effect for performance. | false |
# Response
# Response Header
No special response header
# Response Body
Successful Response Body :
{
"code": 0,
"msg": "success",
"data": {
"total": 10,
"elements": [
{
"id": 2,
"uuid": "asdasda'peor",
"type": 0,
"taskName": "demo",
"callbackHost": "https://testeapi.asdasdasd.com:8443",
"executeState": "FINISH",
"executeServerUrl": "http://localhost:8091",
"instanceId": "DEFAULT",
"executeResultCode": 1,
"executeResultMsg": "failed",
"errorCount": 0,
"initDate": 1623309959000,
"startDate": 1623309959000,
"finishDate": 1623309971000,
"lastDate": 1623309971000,
"taskProgress": 100,
"parentId": null,
"specialType": null,
"taskSource": "BSEDIT",
"callbackState": "FAILED",
"callbackErrorCount": 3,
"dataDetail": null,
"executeResultDetail": null
}
]
}
}
Field | Type | Explain | Mandatory |
---|---|---|---|
type | int | 0-transcoding 1-composing 3-trans-project 4-audio alignment 5-sentences segmentation 6-segment extraction 7-install package of special effacts 9-tags recognization | true |
taskName | String | task name | false |
executeState | String | task status: WAIT, wait WAIT_CHILD, wait for sub-task WORK, work FINISH, finish CANCEL, cancel | yes |
executeServerUrl | String | server url of excuting the task | false |
instanceId | String | server id of excuting the task | false |
executeResultCode | int | result of excuting 0-finished 1 -failed | false |
taskProgress | int | task progress | false |
initDate | long | time stamp of creating task | true |
startDate | long | time stamp of task start | false |
finishDate | long | time stamp of task end | false |
taskSource | String | task origin BSEDIT, Meishe-Editor LIVEBSEDIT, Meishe-LiveEditor | false |
dataDetail | String | detail data of task creating | false |
executeResultDetail | String | detail data of task excuting result | false |