Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PageSize | integer | No | The number of entries to return on each page. Default value: 10. | 10 |
PageNumber | integer | No | The number of the page to return. Default value: 1. | 1 |
GroupId | long | Yes | The ID of the application group. | 12345 |
Category | string | No | The abbreviation of the name of the service to which the instances in the application group belong. Valid values:
Valid values of N: 1 to 200. | ecs |
Keyword | string | No | The keyword used to search for instances. Fuzzy search based on instance name is supported. | s1 |
InstanceIds | string | No | The ID of the instance. You can query multiple instances by specifying multiple IDs. | i-x1234568 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "97F2A410-9412-499C-9AD1-76EF7EC02DF2",
"Success": true,
"Code": 200,
"Message": "success",
"PageNumber": 1,
"PageSize": 10,
"Total": 12,
"Resources": {
"Resource": [
{
"Category": "ecs",
"InstanceId": "i-2ze3w55tr2r****",
"InstanceName": "hostIP",
"Id": 12345,
"RegionId": "cn-hangzhou"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ParameterInvalid | %s | - |
401 | AccessDeniedException | You donot have sufficient access to perform this action. | - |
402 | LimitExceeded | The quota for this customer had been reached. | - |
403 | AccessForbidden | The X.509 certificate or cms access key ID provided does not exist in our records. | - |
404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
406 | %s | %s | - |
429 | Throttli∂ngException | The request was denied due to request throttling. | - |
500 | InternalError | The request processing has failed due to some unknown error. | - |
For a list of error codes, visit the Service error codes.