task_type — 按任务类型筛选status — 按状态筛选(0=待处理, 1=处理中, 2=已完成, 3=失败, 4=已取消)page / page_size — 分页参数app-key: ********************curl --location 'https://api.jieshuo.cn/v1/tasks?task_type=undefined&status=undefined&category=undefined&page=undefined&limit=undefined' \
--header 'x-code;' \
--header 'app-key: <api-key>'{
"code": 10000,
"message": "Success",
"data": {
"items": [
{
"task_id": "string",
"category": "string",
"type": 0,
"type_name": "string",
"status": 0,
"status_name": "",
"progress": 0,
"estimated_points": 0,
"consumed_points": 0,
"duration_consumed_points": 0,
"process_consumed_points": 0,
"extra_consumed_points": 0,
"discount_points": 0,
"results": {
"property1": "string",
"property2": "string"
},
"error_message": "string",
"created_at": "2019-08-24T14:15:22.123Z",
"started_at": "2019-08-24T14:15:22.123Z",
"completed_at": "2019-08-24T14:15:22.123Z"
}
],
"total": 0,
"page": 1,
"limit": 10
}
}