查询应用接入点列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 | 
| Action | String | 是 | ListApplicationAccessPoints | 要执行的操作。取值:ListApplicationAccessPoints。 | 
| PageNumber | Integer | 否 | 1 | 分页查询时,设置当前页面的页码。默认值为1。 | 
| PageSize | Integer | 否 | 10 | 分页查询时,设置每页包含应用接入点的数量。取值范围:1~100,默认值为20。 | 
返回数据
| 名称 | 类型 | 示例值 | 描述 | 
| RequestId | String | bcfefe15-46f0-44a3-bd96-3d422474b71a | 本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。 | 
| PageNumber | Integer | 1 | 分页查询时,当前页面的页码。 | 
| PageSize | Integer | 10 | 分页查询时,每页包含应用接入点的数量。 | 
| TotalCount | Integer | 1 | 应用接入点的总数量。 | 
| ApplicationAccessPoints | Array of ApplicationAccessPoint | 应用接入点列表。 | |
| ApplicationAccessPoint | |||
| Name | String | aap_test | 应用接入点名称。 | 
| AuthenticationMethod | String | ClientKey | 认证方式。 | 
示例
请求示例
http(s)://[Endpoint]/?Action=ListApplicationAccessPoints
&PageNumber=1
&PageSize=10
&公共请求参数正常返回示例
XML格式
HTTP/1.1 200 OK
Content-Type:application/xml
<ListApplicationAccessPointsResponse>
    <RequestId>bcfefe15-46f0-44a3-bd96-3d422474b71a</RequestId>
    <PageNumber>1</PageNumber>
    <PageSize>10</PageSize>
    <TotalCount>1</TotalCount>
    <ApplicationAccessPoints>
        <Name>aap_test</Name>
        <AuthenticationMethod>ClientKey</AuthenticationMethod>
    </ApplicationAccessPoints>
</ListApplicationAccessPointsResponse>JSON格式
HTTP/1.1 200 OK
Content-Type:application/json
{
  "RequestId" : "bcfefe15-46f0-44a3-bd96-3d422474b71a",
  "PageNumber" : 1,
  "PageSize" : 10,
  "TotalCount" : 1,
  "ApplicationAccessPoints" : [ {
    "Name" : "aap_test",
    "AuthenticationMethod" : "ClientKey"
  } ]
}错误码
| HttpCode | 错误码 | 错误信息 | 描述 | 
| 400 | InvalidParameter | The specified parameter is not valid. | 参数非法。 | 
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. | 提供的 Access Key ID不存在 | 
访问错误中心查看更多错误码。
该文章对您有帮助吗?