Queries the server groups.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
CurrentPage | integer | No | The page number. Pages start from page 1. Default value: 1. | 89 |
PageSize | integer | No | The number of entries per page. Default value: 20. Maximum value: 2000. | 10 |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. If the return value of NextToken is empty, no next query is to be sent. If a value of NextToken is returned, the value indicates the token that is used for the next query. | 1426C575705AE8545E8360A6EFA3B*** |
UseNextToken | boolean | No | Specifies whether to use NextToken to query vulnerabilities. If you set this parameter to true, TotalCount is not returned. Valid values:
| true |
Response parameters
Examples
Sample success responses
JSON
format
{
"List": [
{
"GroupId": 11028542,
"GroupName": "cn-shenzhen+dir-1440978***",
"GroupFlag": 1
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 10,
"TotalCount": 202,
"Count": 4,
"NextToken": "B604532DEF982B875E8360A6EFA3B***"
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "CB414DB5-F692-5DAB-9F0F-975C060AF***",
"HttpStatusCode": 200
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.