Menginstal aplikasi eksternal.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ProvisionExternalApplication |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. |
403550611646604**** |
| Scopes |
string |
No |
Izin yang diberikan kepada aplikasi. Pisahkan beberapa izin dengan titik koma (;). Catatan
Untuk informasi lebih lanjut mengenai izin yang didukung, lihat Ikhtisar. |
openid;aliuid |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
55535873-9A6B-5C87-853F-C7CD258826F2 |
| ExternalApplication |
object |
The information about the external application. |
|
| DisplayName |
string |
The display name of the application. |
GiteeAliyun |
| UpdateDate |
string |
The update time. The value is a timestamp. |
1603693518000 |
| DelegatedScope |
object |
The information about the scopes of permissions that are granted to the application. |
|
| PredefinedScopes |
object |
||
| PredefinedScope |
array<object> |
The information about the scopes of permissions that are granted to the application. |
|
|
object |
|||
| Description |
string |
The description of the permission scope. |
用于获取用户的OpenID(默认权限范围,不可移除) |
| Name |
string |
The name of the permission scope. |
openid |
| AppPrincipalName |
string |
The name of the application principal. The value is in the |
GiteePrd@app.177242285274****.onaliyun.com |
| CreateDate |
string |
The time when the application was installed. The value is a timestamp. |
1603693518000 |
| TenantId |
string |
The ID of the Alibaba Cloud account to which the external application belongs. |
157242285274**** |
| ForeignAppId |
string |
The ID of the application. |
403550611646604**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "55535873-9A6B-5C87-853F-C7CD258826F2",
"ExternalApplication": {
"DisplayName": "GiteeAliyun\n",
"UpdateDate": "1603693518000",
"DelegatedScope": {
"PredefinedScopes": {
"PredefinedScope": [
{
"Description": "用于获取用户的OpenID(默认权限范围,不可移除)",
"Name": "openid"
}
]
}
},
"AppPrincipalName": "GiteePrd@app.177242285274****.onaliyun.com\n",
"CreateDate": "1603693518000",
"TenantId": "157242285274****",
"ForeignAppId": "403550611646604****"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.