Get Operation Log Page
Paginated query of operation logs.
Interface Address:
text
/papi/zw/log/operate/pageRequest Method:
text
POSTContent-Type:
text
application/jsonHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID. For authentication, see API Rules |
| 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 lowercase letters and digits |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| pageNo | integer | No | Page number, starting from 1, default 1 |
| pageSize | integer | No | Number of items per page, maximum 1000, default 10 |
| name | string | No | Instance ID or compute power name, fuzzy match |
| belongMouldType | integer | No | Module type (operation type code) |
| ip | string | No | Operation IP address |
| startTime | array[integer] | No | Time range, array of length 2: [start timestamp, end timestamp], unit: milliseconds |
Request Example:
json
{
"pageNo": 1,
"pageSize": 10
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | object | Paginated data |
| ├─ list | array[object] | Log list |
| ├─├─ operationName | string | Operator name |
| ├─├─ belongMouldName | string | Module name (operation type name) |
| ├─├─ belongMouldType | integer | Module type (operation type code) |
| ├─├─ ip | string | Operation IP address |
| ├─├─ userAgent | string | Browser user agent |
| ├─├─ moduleTitle | string | Business module title |
| ├─├─ computePowerId | string | Instance ID (cloud phone ID) |
| ├─├─ resourceName | string | Compute power name (cloud phone name) |
| ├─├─ dynamicContent | string | Dynamic content (operation content) |
| ├─├─ dynamicRemark | string | Dynamic remark (operation remark) |
| ├─├─ executionDuration | integer | Execution duration, unit: milliseconds |
| ├─├─ ctime | integer | Creation time, millisecond timestamp |
| ├─├─ opUid | integer | Operator ID |
| ├─ total | integer | Total count |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": {
"list": [
{
"operationName": "admin",
"belongMouldName": "Cloud Phone Management",
"belongMouldType": 1,
"ip": "192.168.1.1",
"userAgent": "Mozilla/5.0",
"moduleTitle": "Reset Cloud Phone",
"computePowerId": "104d2s6r20a",
"resourceName": "cloud-phone-001",
"dynamicContent": "Reset cloud phone operation",
"dynamicRemark": "User requested reset",
"executionDuration": 500,
"ctime": 1723968000000,
"opUid": 1001
}
],
"total": 50
},
"msg": ""
}