查询镜像分享的用户列表
更新时间:2025-08-15 03:41:38
基本信息
Action
DescribeImageUsers
Path
/iaas
Method
GET
请求参数
此接口除公共参数外,还包含以下参数。关于公共参数的更多信息,请参见前文内容。
| 参数名 | 类型 | 描述 | 是否必须 |
|---|---|---|---|
image_id |
String |
镜像 ID |
是 |
返回数据
| 参数名 | 类型 | 描述 |
|---|---|---|
image_user_set |
Array |
JSON 格式的镜像数据列表,每项参数可见下面 Response Item |
total_count |
Integer |
根据过滤条件得到的总数 |
image_user_set 参数说明如下。
| 参数名 | 类型 | 描述 |
|---|---|---|
image_id |
String |
镜像ID |
user |
Dict |
用户的信息
|
create_time |
TimeStamp |
创建时间,为UTC时间,格式可参见 ISO8601. |
请求示例
https://api.<your_domain>/iaas/?action=DescribeImageUsers&image_id=img-c5hx2ay5
&COMMON_PARAMS
返回示例
{
"action":"DescribeImageUsersResponse",
"image_user_set":[
{
"image_id":"img-c5hx2ay5",
"create_time":"2015-12-10T07:02:52Z",
"user":{
"user_id":"usr-kXg2pqJb",
"email":"steven@gmail.com"
}
},
{
"image_id":"img-c5hx2ay5",
"create_time":"2015-12-10T07:14:12Z",
"user":{
"user_id":"usr-V9iGGGQB",
"email":"steven@foxmail.com"
}
}
],
"ret_code":0,
"total_count":2
}