• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. API Reference
  4. API
  5. API Version Query (Native OpenStack API)
  6. Querying API Versions (Native OpenStack API)

Querying API Versions (Native OpenStack API)

Function

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 /

Request Message

  • Example request
    GET /

Response Message

  • 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 section Common Returned Values.