• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. API Reference
  4. OpenStack Nova APIs
  5. API Version Query
  6. Querying All API Versions

Querying All API Versions

Function Description

This interface 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://192.168.82.231:443/v2/"
      }],
      "id": "v2.0",
      "updated": "2001-09-21T12:33:21Z",
      "status": "SUPPORTED"
     }]
    }

Returned Values

See General Request Returned Values.