Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Image Service Info

Service discovery and information endpoints

Show import information

get

Returns information concerning the constraints around image import

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Responses
200

Import information retrieved successfully

application/json
get/info/import
GET /glance/v2/info/import HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
{
  "import-methods": {
    "description": "text",
    "type": "text",
    "value": [
      "text"
    ]
  }
}

Show available stores

get

Returns information about available stores

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Responses
200

Store information retrieved successfully

application/json
get/info/stores
GET /glance/v2/info/stores HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
{
  "stores": [
    {
      "id": "text",
      "description": "text",
      "default": true,
      "read-only": true
    }
  ]
}

Show usage information

get

Shows the user's quota and current usage

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Responses
200

Usage information retrieved successfully

application/json
get/info/usage
GET /glance/v2/info/usage HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
200

Usage information retrieved successfully

{
  "usage": {
    "image_size_total": {
      "limit": 1,
      "usage": 1
    },
    "image_count_total": {
      "limit": 1,
      "usage": 1
    },
    "image_stage_total": {
      "limit": 1,
      "usage": 1
    },
    "image_count_uploading": {
      "limit": 1,
      "usage": 1
    }
  }
}

Last updated

Was this helpful?