1. 镜像
LightNode
cn
  • cn
  • en
  • API概览
  • API调用说明
  • 主机
    • 创建
      POST
    • 释放
      POST
    • 关机
      POST
    • 开机
      POST
    • 重启
      POST
    • 修改密码
      POST
    • 主机详情
      GET
    • 重装
      POST
    • 主机列表
      GET
  • 安全组
    • 安全组查询
      GET
  • 镜像
    • 镜像查询
      GET
  • 异步任务
    • 查询异步任务
      GET
  • 密钥对
    • 密钥对查询
      GET
  • 地域
    • 地域列表
      GET
  • 套餐
    • 套餐列表
      GET
  • Schemas
    • 主机模型
  1. 镜像

镜像查询

GET
https://openapi.lightnode.com/image/list

接口介绍#

查询对应镜像及版本的uuid。#

Request

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://openapi.lightnode.com/image/list?page=1&pageSize=50&regionCode=cn-dev-2&imageType=System' \
--header 'x-open-token: test-token'

Responses

🟢202成功
application/json
Bodyapplication/json

Example
{
    "httpStatus": 202,
    "images": [
        {
            "imageAccount": "root",
            "imageName": "ddddddddd",
            "imageResourceUUID": "img-iw00007azudj",
            "imageSize": 50,
            "imageType": "System",
            "osDistroVersion": "Debian",
            "osVersion": "linux",
            "osVersionDetail": "Debian 12",
            "snapshotUUID": null,
            "supportChangeSysDiskSize": true,
            "supportIpv6": false,
            "supportSsh": false,
            "regionCode":"cn-dev-2"
        },
        {
            "imageAccount": "root",
            "imageName": "eeeeeeeeeeeeeeee",
            "imageResourceUUID": "img-iw00007azlle",
            "imageSize": 50,
            "imageType": "Self",
            "osDistroVersion": "AlmaLinux",
            "osVersion": "linux",
            "osVersionDetail": "AlmaLinux 8.6",
            "snapshotUUID": "snp-iw00007azllc",
            "supportChangeSysDiskSize": true,
            "supportIpv6": true,
            "supportSsh": true,
            "regionCode":"cn-dev-2"
        },
        {
            "imageAccount": "root",
            "imageName": "eeeeeeeeeeeeeeee",
            "imageResourceUUID": "img-iw00007azlle",
            "imageSize": 50,
            "imageType": "Application",
            "osDistroVersion": "AlmaLinux",
            "osVersion": "linux",
            "osVersionDetail": "AlmaLinux 8.6",
            "snapshotUUID": null,
            "supportChangeSysDiskSize": true,
            "supportIpv6": true,
            "supportSsh": true,
            "regionCode":"cn-dev-2"
        }
    ],
    "rowCount": 3,
    "success": true
}
Modified at 2026-04-08 05:41:00
Previous
安全组查询
Next
查询异步任务
Built with