• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Keystone
  5. Services and Endpoints
  6. Querying Endpoint Details

Querying Endpoint Details

Function Description

This interface is used to query endpoint details. This interface applies only to domain names in the Global zone.

URI

  • URI format

    GET /v3/endpoints/{endpoint_id}

  • URI parameter description

    Parameter

    Mandatory

    Type

    Description

    endpoint_id

    Yes

    String

    Endpoint ID.

Request

  • Request header parameter description

    Parameter

    Mandatory

    Type

    Description

    Content-Type

    Yes

    String

    Fill application/json;charset=utf8 in this field.

    X-Auth-Token

    Yes

    String

    Authenticated token.

  • Sample request
    curl -i -k -H 'Accept:application/json' -H 'Content-Type:application/json;charset=utf8' -H "X-Auth-Token:$token" -X GET https://172.30.48.86:31943/v3/endpoints/62ea3602f8ee42b1825956473f5295a8

Response

  • Sample response (request successful)
    {
        "endpoint": {
            "region_id": "region_id",
            "links": {
                "self": "10.10.10.10/v3/endpoints/62ea3602f8ee42b1825956473f5295a8"
            },
            "url": "https://172.30.49.68:7443/v2/",
            "region": "region_name",
            "enabled": true,
            "interface": "public",
            "service_id": "5a4ed456d228428c800ed2b67b4363a7",
            "id": "62ea3602f8ee42b1825956473f5295a8"
        }
    }

Status Codes

Status Code

Description

200

The request is successful.

400

The server failed to process the request.

401

You must enter a username and password to access the requested page.

403

You are forbidden to access the requested page.

404

The server could not find the requested page.

405

You are not allowed to use the method specified in the request.

413

The request entity is too large.

500

Failed to complete the request because of an internal service error.

503

Failed to complete the request because the service is unavailable.