Mengkueri konten aplikasi izin sumber daya berdasarkan ID instans proses yang ditentukan.
Deskripsi operasi
Deskripsi Permintaan
API ini digunakan untuk mengkueri detail aplikasi izin sumber daya berdasarkan
ProcessInstanceIdyang diberikan.Parameter
ProcessInstanceIdyang valid harus disediakan di permintaan.Tanggapan mencakup informasi dasar, status, dan daftar konten aplikasi spesifik.
Setiap konten aplikasi mencakup informasi sumber daya detail, penerima hak, izin operasi yang diminta, dan lainnya.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProcessInstanceId |
string |
Yes |
ID instans proses persetujuan aplikasi yang dikirim. |
332066440109224007 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| RequestId |
string |
ID permintaan, yang digunakan untuk melacak log dan pemecahan masalah. |
34267E2E-0335-1A60-A1F0-ADA530890CBA |
| Data |
object |
Instans proses dan konten aplikasi terkait. |
|
| ProcessInstanceId |
string |
ID instans proses. |
332066440109224007 |
| DefSchema |
string |
Tipe sumber daya. Catatan: Tipe sumber daya yang didukung untuk aplikasi dibatasi oleh ResourceSchema.name. Referensi: Dokumentasi ResourceSchema di situs internasional Valid values:
|
MaxCompute |
| Reason |
string |
Alasan aplikasi. |
业务需要 |
| ApplicationTime |
integer |
Waktu aplikasi dikirim, dalam bentuk timestamp milidetik. |
1779675618000 |
| Status |
string |
Status persetujuan. Nilai valid:
Valid values:
|
WaitApproval |
| Contents |
array<object> |
Daftar konten aplikasi. |
|
|
array<object> |
Detail konten aplikasi. |
||
| Id |
string |
The unique ID of the application content item. |
Y9H7AKFmjhWzLYdZNDZA5 |
| ProcessInstanceId |
string |
The ID of the approval process instance for the application. |
777799223 |
| TenantId |
string |
The tenant ID. |
69973837489 |
| ResourceName |
string |
The specific type of the resource, such as a table. |
table |
| DefSchema |
string |
The resource type. Valid values:
|
MaxCompute |
| AuthMethod |
string |
The authorization method. |
ranger |
| Resource |
object |
The resource declaration. |
|
| DefSchema |
string |
The name of the Valid values:
|
MaxCompute |
| DefVersion |
string |
The version of the |
v1.0.0 |
| MetaData |
string |
The resource metadata. The structure of the metadata is defined by the |
"{\"schema\":\"default\",\"threeTierModel\":false,\"workspace\":\"449656\",\"project\":\"sync_destination\",\"table\":\"order_table\",\"tenant\":\"524997424564736\"}" |
| Grantee |
object |
The grantee. |
|
| PrincipalType |
string |
The principal type. Valid values:
Valid values:
|
RamRole |
| PrincipalId |
string |
The ID of the principal. The format of the ID varies based on the
|
ROLE_3133343434 |
| AccessTypes |
array |
A list of the permissions requested for the resource. |
|
|
string |
A requested permission. |
select |
|
| FinalAccessTypes |
array |
A list of the permissions granted in the final approval. |
|
|
string |
An approved permission. |
select |
|
| ExpirationTime |
integer |
The time when the permissions expire. This value is a millisecond-precision timestamp. |
1785835708000 |
| Status |
string |
The approval status. Valid values:
Valid values:
|
Deleted |
| CreateTime |
integer |
The time when the content item was created. This value is a millisecond-precision timestamp. |
1773972024000 |
| UpdateTime |
integer |
The time when the content item was last updated. This value is a millisecond-precision timestamp. |
1773972024000 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "34267E2E-0335-1A60-A1F0-ADA530890CBA",
"Data": {
"ProcessInstanceId": "332066440109224007",
"DefSchema": "MaxCompute",
"Reason": "业务需要",
"ApplicationTime": 1779675618000,
"Status": "WaitApproval",
"Contents": [
{
"Id": "Y9H7AKFmjhWzLYdZNDZA5",
"ProcessInstanceId": "777799223",
"TenantId": "69973837489",
"ResourceName": "table",
"DefSchema": "MaxCompute",
"AuthMethod": "ranger",
"Resource": {
"DefSchema": "MaxCompute",
"DefVersion": "v1.0.0",
"MetaData": "\"{\\\"schema\\\":\\\"default\\\",\\\"threeTierModel\\\":false,\\\"workspace\\\":\\\"449656\\\",\\\"project\\\":\\\"sync_destination\\\",\\\"table\\\":\\\"order_table\\\",\\\"tenant\\\":\\\"524997424564736\\\"}\""
},
"Grantee": {
"PrincipalType": "RamRole",
"PrincipalId": "ROLE_3133343434"
},
"AccessTypes": [
"select"
],
"FinalAccessTypes": [
"select"
],
"ExpirationTime": 1785835708000,
"Status": "Deleted",
"CreateTime": 1773972024000,
"UpdateTime": 1773972024000
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.