接口请求域名: teo.intl.tencentcloudapi.com 。
查询站点下的 API 服务。
默认接口请求频率限制:20次/秒。
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| Action | 是 | String | 公共参数,本接口取值:DescribeSecurityAPIService。 |
| Version | 是 | String | 公共参数,本接口取值:2022-09-01。 |
| Region | 否 | String | 公共参数,此参数为可选参数。 |
| ZoneId | 是 | String | 站点 ID。 |
| Limit | 否 | Integer | 分页查询限制数目。默认值:20,最大值:100。 |
| Offset | 否 | Integer | 分页查询偏移量。默认值:0。 |
| 参数名称 | 类型 | 描述 |
|---|---|---|
| TotalCount | Integer | API 服务总数量。 |
| APIServices | Array of APIService | API 服务列表。 |
| RequestId | String | 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 |
分页查询指定站点的 API 服务。
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSecurityAPIService
<公共请求参数>
{
"ZoneId": "zone-123123232",
"Limit": 10,
"Offset": 0
}
{
"Response": {
"TotalCount": 1,
"APIServices": [
{
"Id": "apisrv-1230001001",
"Name": "test1",
"BasePath": "/tt"
}
],
"RequestId": "97f2dd9b-1624-4519-9ac6-13c95154d846"
}
}
云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。
该接口暂无业务逻辑相关的错误码,其他错误码详见 公共错误码。
文档反馈