Get Container Operation Task Page
Paginated query of container operation task main task list by conditions.
Interface Address:
text
/papi/zw/task/pageRequest Method:
text
POSTContent-Type:
text
application/jsonHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID, see API Rules for authentication |
| X-Signature | string | Yes | Signature value, Base64-encoded HMAC-SHA256 result |
| X-Timestamp | string | Yes | Millisecond-level Unix timestamp (13 digits) |
| X-Nonce | string | Yes | Random string, 10~32 characters of lowercase letters and digits |
Query Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| ids | string | Yes | ID list, comma-separated, e.g.: 1024,2048 |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| pageNo | integer | No | Page number, starting from 1, default 1 |
| pageSize | integer | No | Page size, maximum 1000, default 10 |
| status | integer | No | Task status: 1-Running 2-Success 3-Failed |
| operationName | string | No | Operation name |
Request Example:
json
{
"pageNo": 1,
"pageSize": 10,
"status": 2,
"operationName": "云机重启"
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | object | Response data |
| ├─ list | array[object] | Data list |
| ├─├─ subtaskId | string | Sub-task UUID |
| ├─├─ sequenceNo | integer | Execution sequence number |
| ├─├─ operationName | string | Operation name |
| ├─├─ status | integer | Sub-task status: 1-Running 2-Success 3-Failed |
| ├─├─ result | string | Execution result |
| ├─├─ msg | string | Error message |
| ├─├─ ctime | integer | Creation timestamp |
| ├─├─ finishedTime | integer | Completion timestamp |
| ├─├─ platform | string | Platform |
| ├─├─ ctrId | string | Cloud phone CtrId |
| ├─├─ ctrAlias | string | Cloud phone alias |
| ├─ total | integer | Total count |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": {
"list": [
{
"subtaskId": "c5cb406f-b7ce-41fc-be4c-4d3fdf9cde74",
"sequenceNo": 1,
"operationName": "云机重启",
"status": 2,
"result": "success",
"msg": "",
"ctime": 1700000000000,
"finishedTime": 1700000001000,
"platform": "android",
"ctrId": "ctr-xxx",
"ctrAlias": "测试设备"
}
],
"total": 100
},
"msg": ""
}