镜像服务 IMS-查询镜像成员列表视图(OpenStack原生):响应消息

时间:2025-02-12 15:00:35

响应消息

  • 响应参数

    参数

    参数类型

    描述

    name

    String

    视图名称。

    links

    Array of objects

    视图链接。

    详情请参见表1

    properties

    Object

    镜像属性说明,主要是对基础属性的说明,包含每个属性的取值类型,用途。

    具体参数说明可参考镜像属性

    表1 links字段说明

    参数

    参数类型

    描述

    href

    String

    域名

    rel

    String

    域名描述。

  • 响应样例
    STATUS CODE 200
     1 2 3 4 5 6 7 8 910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
    {    "name": "members",    "links": [        {            "href": "{schema}",            "rel": "describedby"        }    ],    "properties": {        "members": {            "items": {                "name": "member",                "properties": {                    "status": {                        "enum": [                            "pending",                            "accepted",                            "rejected"                        ],                        "type": "string",                        "description": "The status of this image member"                    },                    "created_at": {                        "type": "string",                        "description": "Date and time of image member creation"                    },                    "updated_at": {                        "type": "string",                        "description": "Date and time of last modification of image member"                    },                    "image_id": {                        "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",                        "type": "string",                        "description": "An identifier for the image"                    },                    "member_id": {                        "type": "string",                        "description": "An identifier for the image member (tenantId)"                    },                    "schema": {                        "readOnly": true,                        "type": "string"                    }                }            },            "type": "array"        },        "schema": {            "type": "string"        }    }}
support.huaweicloud.com/api-ims/ims_03_0718.html