Skip to main content
GET
/
v1
/
images
/
{id}
Get image by ID
curl --request GET \
  --url https://console.gmicloud.ai/api/v1/images/{id} \
  --header 'Authorization: Bearer <token>'
{
  "supportedProducts": [
    "<string>"
  ],
  "BootMode": "UEFI",
  "DefaultPartitionTable": [
    {
      "fileSystem": "<string>",
      "mountPoint": "<string>",
      "name": "<string>",
      "size": "<string>"
    }
  ],
  "OSArchitecture": "<string>",
  "OSSeries": "<string>",
  "OSVersion": "<string>",
  "SystemDiskSize": "<string>",
  "icon": "<string>",
  "idc": "<string>",
  "name": "<string>",
  "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "path": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "Public"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Response

successful

createdAt
string<date-time>
required
id
string<uuid>
required
type
enum<string>
required
Available options:
Public,
Customized
supportedProducts
string[]
required
BootMode
enum<string>
required
Available options:
UEFI,
Legacy
DefaultPartitionTable
object[]
required
Minimum length: 1
OSArchitecture
string
required
OSSeries
string
required
OSVersion
string
required
SystemDiskSize
string
required
icon
string<uri>
required
idc
string
required
Maximum length: 50
name
string
required
Maximum length: 255
orgId
string<uuid>
required
path
string
required