Image Service Info
Service discovery and information endpoints
Returns information concerning the constraints around image import
Authorizations
X-Auth-TokenstringRequired
OpenStack Keystone authentication token
Responses
200
Import information retrieved successfully
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
get
/info/importGET /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"
]
}
}Returns information about available stores
Authorizations
X-Auth-TokenstringRequired
OpenStack Keystone authentication token
Responses
200
Store information retrieved successfully
application/json
404
Not Found
application/json
get
/info/storesGET /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
}
]
}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/usageGET /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?
