{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"BaseResponse":{"description":"API响应基类","properties":{"error_code":{"description":"错误码。","maxLength":12,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述。","maxLength":1000,"minLength":0,"type":"string"}}},"DescribeImagesResponse":{"properties":{"images":{"description":"云桌面支持的产品镜像列表。","items":{"$ref":"#/definitions/ImageInfo"},"readOnly":true,"type":"array"},"total_count":{"description":"对象总数。","readOnly":true,"type":"integer"}}},"ImageInfo":{"properties":{"disk_format":{"description":"镜像格式,目前支持vhd,raw,qcow2,zvhd2格式。","maxLength":255,"minLength":1,"type":"string"},"id":{"description":"镜像ID。","maxLength":255,"minLength":1,"type":"string"},"image_type":{"description":"镜像类型,目前支持以下类型: 公共镜像:gold 私有镜像:private。","enum":["gold","private"],"maxLength":55,"minLength":1,"type":"string"},"min_disk":{"description":"镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。","format":"int32","maximum":55,"minimum":1,"type":"integer"},"min_ram":{"description":"镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。","format":"int32","maximum":55,"minimum":1,"type":"integer"},"name":{"description":"镜像名称。","maxLength":55,"minLength":1,"type":"string"},"os_type":{"description":"操作系统类型,目前取值Linux, Windows,Other。","maxLength":55,"minLength":1,"type":"string"},"os_version":{"description":"操作系统具体版本。","maxLength":55,"minLength":1,"type":"string"},"product_code":{"description":"镜像的产品编码。","maxLength":255,"minLength":0,"type":"string"}}}},"description":null,"group_id":"7383c32d5d5e4d0481c071faeb994404","host":"workspace.cn-north-4.myhuaweicloud.com","id":"fec79ed7918f4a1fa7b5b0ebc07c0032","info_version":"v2","method":"get","name":"ListImages","parameters":{},"paths":{"/v2/{project_id}/images":{"get":{"description":"该接口用于查询云桌面支持的产品镜像列表。","operationId":"ListImages","parameters":[{"description":"用户Token。\n\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","maxLength":15000,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."},{"description":"发送的实体的MIME类型,如:application/json。","in":"header","maxLength":255,"minLength":1,"name":"Content-Type","required":true,"type":"string","x-example":"application/json"},{"description":"项目id。","in":"path","maxLength":255,"minLength":1,"name":"project_id","required":true,"type":"string","x-example":"2b31ed520xxxxxxebedb6e57xxxxxxxx"},{"description":"产品镜像的操作系统类型,如Windows。","in":"query","maxLength":255,"minLength":0,"name":"os_type","required":false,"type":"string"},{"description":"镜像类型。\n-gold 公共镜像\n-private 私有镜像","in":"query","maxLength":255,"minLength":0,"name":"image_type","required":false,"type":"string"},{"description":"镜像系统类型,如Windows。","in":"query","maxLength":255,"minLength":1,"name":"platform","required":false,"type":"string"},{"description":"镜像架构:x86。","in":"query","maxLength":10,"minLength":1,"name":"architecture","required":false,"type":"string"},{"description":"套餐系列","in":"query","maxLength":255,"minLength":0,"name":"package_type","required":false,"type":"string"},{"description":"每页数量,范围0-100,默认100。","in":"query","maximum":100,"minimum":0,"name":"limit","required":false,"type":"integer"},{"description":"偏移量,默认0。","in":"query","maximum":5000,"minimum":0,"name":"offset","required":false,"type":"integer"}],"responses":{"200":{"description":"查询OpenStack环境中的镜像响应。","examples":{"application/json":{"images":[{"disk_format":"qcow2","id":"d6b368bc-a24d-4fb5-a8fb-727356a53f33","image_type":"gold","min_disk":50,"min_ram":0,"name":"Euler_Online_Tenant_vAG","os_type":"Linux","os_version":"EulerOS 2.2 64bit"},{"disk_format":"qcow2","id":"bef99a44-2b6a-4ef9-b1a2-204a4910e374","image_type":"gold","min_disk":60,"min_ram":0,"name":"FA-LZ-x86vAG-801temp","os_type":"Linux","os_version":"EulerOS 2.5 64bit"}],"total_count":1}},"schema":{"$ref":"#/definitions/DescribeImagesResponse"}},"400":{"description":"由于包含语法错误,当前请求无法被服务器理解。","schema":{"$ref":"#/definitions/BaseResponse"}},"401":{"description":"鉴权失败。","schema":{"$ref":"#/definitions/BaseResponse"}},"403":{"description":"没有操作权限。","schema":{"$ref":"#/definitions/BaseResponse"}},"404":{"description":"找不到资源。","schema":{"$ref":"#/definitions/BaseResponse"}},"405":{"description":"请求中指定的方法不被允许。","schema":{"$ref":"#/definitions/BaseResponse"}},"500":{"description":"服务内部错误,具体返回错误码请参见错误码说明。","schema":{"$ref":"#/definitions/BaseResponse"}},"503":{"description":"服务不可用。","schema":{"$ref":"#/definitions/BaseResponse"}}},"schemes":["https"],"summary":"查询产品镜像列表","tags":["Image"],"x-apiexplorer-hide":"N","x-apig-group":"public,internal_token","x-apigateway-request-type":"public","x-is-registered":"Y","x-request-examples-url-1":"GET /v2/29dfe82ada564ac2b927e1ff036d9a9b/images?image_type=gold&os_type=Linux","x-request-examples-url-2":"/v2/0e69423d4400f4a82f67c0059a1e4cc8/images?architecture=x86&image_type=private","x-support-sdk":"Y"}}},"product_short":"Workspace","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询产品镜像列表","tags":"镜像","uri":null,"version":"2.0"}