Queries network qualities of endpoints for Smart Access Gateway (SAG) instances.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No ListAccessPointNetworkQualities

The operation that you want to perform. Set the value to ListAccessPointNetworkQualities.

RegionId String Yes cn-shanghai

The ID of the region where the SAG instance is deployed.

You can call the DescribeRegions operation to query the most recent region list.

SmartAGId String Yes sag-p86e06z4geaji1****

The ID of the SAG instance.

Response parameters

Parameter Type Example Description
AccessPointNetworkQualities Array of AccessPointNetworkQuality

The network quality of the endpoint.

Loss String 0.00%

The packet loss rate.

Rtt String 4.98

The network latency. Unit: milliseconds.

Id Integer 115

The ID of the endpoint.

RequestId String 8E8E8C86-1404-122A-A1BB-84BBC2E9A4B1

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListAccessPointNetworkQualities
&RegionId=cn-shanghai
&SmartAGId=sag-p86e06z4geaji1****
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ListAccessPointNetworkQualitiesResponse>
    <AccessPointNetworkQualities>
        <Rtt>4.98</Rtt>
        <Loss>0.00%</Loss>
        <Id>115</Id>
    </AccessPointNetworkQualities>
    <RequestId>8E8E8C86-1404-122A-A1BB-84BBC2E9A4B1</RequestId>
</ListAccessPointNetworkQualitiesResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "AccessPointNetworkQualities" : [ {
    "Rtt" : "4.98",
    "Loss" : "0.00%",
    "Id" : 115
  } ],
  "RequestId" : "8E8E8C86-1404-122A-A1BB-84BBC2E9A4B1"
}

Error codes

For a list of error codes, visit the API Error Center.