查询公共镜像

更新时间:2021-01-26 17:01:03

描述

查询云手机镜像。

请求参数

参数名参数类型是否必填参数说明
Action String

操作方法:ListCloudPhoneEnableImage,此参数为公共参数,不必放body里面

Region String

机房标识,取值参见地域列表

ProductModelId Integer

产品型号ID

返回参数

名称 类型 说明
List List 数组对象,返回镜像信息

List

镜像信息 名称 类型 说明
Id String 镜像ID
Name String 镜像名称
OsId String 操作系统ID
OsName String 操作系统名称
Storage Integer 存储大小,单位GB
IsRoot Integer 是否root 0否 1是
ProductModelIds Array 可用的产品型号集合数组,如[805008]

请求示例

post https://api.chinac.com/v2/?Action=ListCloudPhoneEnableImage&其他公共参数

返回示例

{
    "code": 10000,
    "message": "",
    "data": {
    "List":[
        {
            "Id":"i-6l11ak25eet49s",
            "Name":"moni-gps0304",
            "OsId":"o-471fj7jjos81i",
            "OsName":"Android7.0",
            "Storage":16,
            "IsRoot":1,
            "ProductModelIds":[1]
        },
        {
            "Id":"i-9l11ak2aahb17x",
            "Name":"test1",
            "OsId":"o-471fj7jjos81i",
            "OsName":"Android7.0",
            "Storage":16,
            "IsRoot":1,
            "ProductModelIds":[1,2,3]
        }
      ]
    }
}
*
*