Image Service Info

Service discovery and information endpoints

Show import information

get

Returns information concerning the constraints around image import

Authorizations
X-Auth-TokenstringRequired

OpenStack Keystone authentication token

Responses
200

Import information retrieved successfully

application/json
get
/info/import
GET /v2/info/import HTTP/1.1
Host: image.example.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

OpenStack Keystone authentication token

Responses
200

Store information retrieved successfully

application/json
get
/info/stores
GET /v2/info/stores HTTP/1.1
Host: image.example.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

OpenStack Keystone authentication token

Responses
200

Usage information retrieved successfully

application/json
get
/info/usage
GET /v2/info/usage HTTP/1.1
Host: image.example.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?