Querying Endpoint Details
Function
This API is used to query the details of an endpoint. An endpoint provides an entry to a specific service.
The API can be called using both the global endpoint and region-specific endpoints.
Authorization Information
You do not need to obtain permissions to call this API.
URI
GET /v3/endpoints/{endpoint_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| endpoint_id | Yes | String | ID of the endpoint to be queried. |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| Content-Type | Yes | String | Fill application/json;charset=utf8 in this field. |
| X-Auth-Token | Yes | String | IAM user token (no special permission requirements). |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| Object | Endpoint information. |
| Parameter | Type | Description |
|---|---|---|
| service_id | String | ID of the service which the endpoint belongs to. |
| region_id | String | ID of the region which the endpoint belongs to. |
| Object | Endpoint resource link information. | |
| id | String | Endpoint ID. |
| interface | String | Plane which the endpoint belongs to. |
| region | String | Region which the endpoint belongs to. |
| url | String | Endpoint URL. |
| enabled | Boolean | Enabling status of the endpoint. |
Example Request
Request for querying endpoint details
GET https://iam.myhuaweicloud.eu/v3/endpoints/{endpoint_id} Example Response
Status code: 200
The request is successful.
{
"endpoint": {
"service_id": "3e93d3eb20b34bfbbdcc81a79c1c3045",
"region_id": "eu-west-101",
"links": {
"next": null,
"previous": null,
"self": "https://iam.myhuaweicloud.eu/v3/endpoints/0046cca357c94165b7a10ec2c01bdf60"
},
"id": "0046cca357c94165b7a10ec2c01bdf60",
"interface": "public",
"region": "eu-west-101",
"url": "https://ims.sample.domain.com",
"enabled": true
}
} Status Codes
| Status Code | Description |
|---|---|
| 200 | The request is successful. |
| 400 | Invalid parameters. |
| 401 | Authentication failed. |
| 403 | Access denied. |
| 404 | The requested resource cannot be found. |
| 405 | The method specified in the request is not allowed for the requested resource. |
| 413 | The request entity is too large. |
| 501 | The API is not available. |
| 503 | Service unavailable. |
Error Codes
None
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.