Mengkueri daftar akun tempat image dibagikan berdasarkan ID image.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeImageSharePermission |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ImageId |
string |
Yes |
ID image. |
m-5s7qotzavwbrnzaqh4unm**** |
| PageNumber |
string |
No |
Nomor halaman daftar kueri. Nilai minimum: 1. Nilai default: 1. |
1 |
| PageSize |
string |
No |
Jumlah entri per halaman untuk kueri berhalaman. Nilai maksimum: 100. Nilai default: 10. |
10 |
| AliyunId |
integer |
No |
ID akun Alibaba Cloud. |
171710408091**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
Jumlah total record Berbagi gambar. |
2 |
| PageSize |
integer |
Jumlah entri per halaman dalam kueri saat ini. |
100 |
| RequestId |
string |
ID permintaan. |
A44EE357-6174-5E37-A801-48F5790F9ACE |
| PageNumber |
integer |
Nomor halaman saat ini. |
1 |
| ImageId |
string |
ID image. |
m-5qkf6jv9a0tzd5ipwx5fi**** |
| Accounts |
object |
||
| Account |
array<object> |
Informasi akun. |
|
|
object |
Akun pengguna terdaftar Alibaba Cloud tempat image saat ini dibagikan. |
[{"AliyunId": 197265348438****},] |
|
| AliyunUid |
string |
The Alibaba Cloud account with which you share the image. |
151528552xxxxx |
Contoh
Respons sukses
JSONformat
{
"TotalCount": 2,
"PageSize": 100,
"RequestId": "A44EE357-6174-5E37-A801-48F5790F9ACE",
"PageNumber": 1,
"ImageId": "m-5qkf6jv9a0tzd5ipwx5fi****",
"Accounts": {
"Account": [
{
"AliyunUid": "151528552xxxxx"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | InvalidParameter | The errorMessage is %s. Please check it again. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | CallInterface | Call Interface Happen Error. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.