Updated on 2023-09-14 GMT+08:00

Querying Information About Keystone API 3.0

Function

This API is used to obtain the information about Keystone API 3.0.

The API can be called using both the global endpoint and region-specific endpoints.

URI

GET /v3

Request Parameters

None

Response Parameters

Table 1 Parameters in the response body

Parameter

Type

Description

version

Object

Information about Keystone API 3.0.

Table 2 version

Parameter

Type

Description

status

String

Version status.

updated

String

Time when the API was last updated.

links

Array of objects

Version resource link information.

id

String

Version number, for example, v3.6.

media-types

Array of objects

Supported message formats.

Table 3 version.links

Parameter

Type

Description

rel

String

Link type.

  • self: Versioned link to a resource.
  • bookmark: Permanent link to a resource.
  • alternate: Alternate link to a resource.

href

String

Resource link.

Table 4 version.media-types

Parameter

Type

Description

type

String

Media type.

base

String

Basic data type.

Example Request

Request for querying information about Keystone API 3.0

GET https://iam.myhuaweicloud.eu/v3

Example Response

Status code: 200

The request is successful.

{
    "version": {
        "media-types": [
            {
                "type": "application/vnd.openstack.identity-v3+json",
                "base": "application/json"
            }
        ],
        "links": [
            {
                "rel": "self",
                "href": "https://iam.myhuaweicloud.eu/v3/"
            }
        ],
        "id": "v3.6",
        "updated": "2016-04-04T00:00:00Z",
        "status": "stable"
    }
}

Status Codes

Status Code

Description

200

The request is successful.

400

Invalid parameters.

404

The requested resource cannot be found.

503

Service unavailable.

Error Codes

None