apig__CreateAuthorizingApps
Authorize specified APIs to apps within a chosen environment so those apps can access the APIs. Provide API IDs, app IDs, and environment ID to grant access.
Instructions
[APIG] APP创建成功后,还不能访问API,如果想要访问某个环境上的API,需要将该API在该环境上授权给APP。授权成功后,APP即可访问该环境上的这个API。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_ids": "<api_ids>",
"app_ids": "<app_ids>",
"env_id": "<env_id>"
},
"name": "apig__CreateAuthorizingApps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | Yes | 需要授权的环境编号 | |
| api_ids | Yes | API的编号列表,可以选择租户自己的API,也可以选择从云市场上购买的API。 | |
| app_ids | Yes | APP的编号列表 |