Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /openapi/ha3/instances/{instanceId}/logs
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | ha-cn-i7m2roiy504 |
type | string | No | -push -select | push |
pageNum | string | No | The number of entries per num. Default value: 1. | 1 |
pageSize | string | No | The number of entries per page. Default value: 10. | 10 |
startTime | string | No | The start time. The value is a timestamp in seconds. | 1706340600 |
endTime | string | No | The end tim. The value is a timestamp in seconds. | 1710432000 |
query | string | No | The query statement | status: 200 AND totalTime > 0.01 |
Response parameters
Examples
Sample success responses
JSON
format
{
"requestId": "022F36C7-9FB4-5D67-BEBC-3D14B0984463",
"result": {
"result": [
"[{\"requestTime\":\"2024-07-02T16:06:57+08:00\",\"totalTime\":\"0.003\",\"requestId\":\"6d63e7a9b58a04827cfxxxxx\",\"host\":\"ha-cn-xxx.ha.aliyuncs.com\",\"requestUri\":\"/vector-service/fetch\",\"status\":\"200\"}]"
],
"totalCount": 5
}
}
Error codes
For a list of error codes, visit the Service error codes.