Skip to content

Get Operation Log Page ​

Paginated query of operation logs.

Interface Address:

text
/papi/zw/log/operate/page

Request Method:

text
POST

Content-Type:

text
application/json

Header Parameters:

ParameterTypeRequiredDescription
X-Access-KeystringYesAPI access key ID. For authentication, see API Rules
X-SignaturestringYesSignature value, Base64-encoded HMAC-SHA256 result
X-TimestampstringYesMillisecond-level Unix timestamp (13 digits)
X-NoncestringYesRandom string, 10-32 lowercase letters and digits

Body Parameters:

ParameterTypeRequiredDescription
pageNointegerNoPage number, starting from 1, default 1
pageSizeintegerNoNumber of items per page, maximum 1000, default 10
namestringNoInstance ID or compute power name, fuzzy match
belongMouldTypeintegerNoModule type (operation type code)
ipstringNoOperation IP address
startTimearray[integer]NoTime range, array of length 2: [start timestamp, end timestamp], unit: milliseconds

Request Example:

json
{
  "pageNo": 1,
  "pageSize": 10
}

Response Parameters:

ParameterTypeDescription
codeintegerError code. See Error Codes
dataobjectPaginated data
├─ listarray[object]Log list
├─├─ operationNamestringOperator name
├─├─ belongMouldNamestringModule name (operation type name)
├─├─ belongMouldTypeintegerModule type (operation type code)
├─├─ ipstringOperation IP address
├─├─ userAgentstringBrowser user agent
├─├─ moduleTitlestringBusiness module title
├─├─ computePowerIdstringInstance ID (cloud phone ID)
├─├─ resourceNamestringCompute power name (cloud phone name)
├─├─ dynamicContentstringDynamic content (operation content)
├─├─ dynamicRemarkstringDynamic remark (operation remark)
├─├─ executionDurationintegerExecution duration, unit: milliseconds
├─├─ ctimeintegerCreation time, millisecond timestamp
├─├─ opUidintegerOperator ID
├─ totalintegerTotal count
msgstringError 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": ""
}

OpenAPI Docs