• Elastic IP

eip
  1. Help Center
  2. Elastic IP
  3. API Reference
  4. OpenStack Neutron APIs
  5. API Version Information
  6. Querying API Versions

Querying API Versions

Function

This interface is used to query all available versions of a native OpenStack API.

URI

GET

Request Message

Request parameter

None

Example request

GET /

Response Message

Response parameter

Table 1 Response parameter

Parameter

Type

Description

versions

List

Specifies the API version list.

status

String

Specifies the API version status. The value can be CURRENT, STABLE, or DEPRECATED.

id

String

Specifies the API version.

links

List

Specifies the link list.

href

String

Specifies the API link.

rel

String

Specifies the relationship between the API link and the API version.

Example response

{
    "versions": [
        {
            "status": "CURRENT", 
            "id": "v2.0", 
            "links": [
                {
                    "href": "https://None/v2.0", 
                    "rel": "self"
                }
            ]
        }
    ]
}

Status Codes

For details, see section Status Codes.