接口请求域名: tcsas.intl.tencentcloudapi.com 。
查询小程序可调用敏感API列表
默认接口请求频率限制:20次/秒。
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| Action | 是 | String | 公共参数,本接口取值:DescribeMNPSensitiveAPIPermissionList。 |
| Version | 是 | String | 公共参数,本接口取值:2025-01-06。 |
| Region | 是 | String | 公共参数,详见产品支持的 地域列表。 |
| Offset | 是 | Integer | 分页的偏移量 |
| Limit | 是 | Integer | 分页的条数 |
| MNPId | 是 | String | 小程序ID |
| PlatformId | 是 | String | 平台ID |
| ApplicationId | 否 | String | 应用ID |
| Keyword | 否 | String | 查询关键字(接口名称) |
| 参数名称 | 类型 | 描述 |
|---|---|---|
| Data | DescribeMNPSensitiveAPIPermissionListResp | 响应参数 |
| RequestId | String | 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 |
POST / HTTP/1.1
Host: tcsas.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeMNPSensitiveAPIPermissionList
<公共请求参数>
{
"MNPId": "mpg9yjc0qbpkelik",
"Limit": 10,
"Offset": 0,
"Keyword": "testState",
"ApplicationId": "",
"PlatformId": "T04257DS9431720WTAG"
}
{
"Response": {
"Data": {
"TotalCount": 1,
"DataList": [
{
"APIId": "api-x9se3c7kg5xjwlvl",
"APIName": "testState",
"APIMethod": "testState",
"APIDesc": "testState",
"APIType": 2,
"APIStatus": 1,
"APIApplyStatus": 30,
"RejectReason": "",
"ApprovalNo": "20240821ejhfcfnmoq",
"ApplicationId": "app-cc6g35711m",
"ApplicationIcon": "http://127.0.0.1/T04257DS9431720WTAG/console/20240802112441-cf9ba6bd4c.png",
"ApplicationName": "autotest_app"
}
]
},
"RequestId": "df5abf55-63fd-4e94-ad8d-423b02e3cb68"
}
}
云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码。
| 错误码 | 描述 |
|---|---|
| FailedOperation.PackageAlreadyExpired | FailedOperation.PackageAlreadyExpired |
| InvalidParameterValue.InvalidMNPId | InvalidParameterValue.InvalidMNPId |
文档反馈