• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Nova
  5. API Version Query
  6. Querying All API Versions

Querying All API Versions

Function

This API is used to query all available Nova versions.

To support function extension, Nova APIs can be distinguished by version. There are two types of versions:

  • Major version: Independent URL
  • Microversion: Used by the HTTP request header X-OpenStack-Nova-API-Version. Since microversion 2.27, the new microversion header OpenStack-API-Version has been supported.

URI

GET /

Examples

  • Example request
    GET /
  • Example response
    {
     "versions": [{
      "links": [{
       "rel": "self",
       "href": "https://ecs.service.domain.com:443/v2/"
      }],
      "id": "v2.0",
      "updated": "2001-09-21T12:33:21Z",
      "status": "SUPPORTED"
     }]
    }

Returned Values

See General Request Returned Values.