# Endpoint

> **Package : spaceone.api.identity.v1**

## Endpoint

{% hint style="info" %}
**Endpoint Methods:**
{% endhint %}

| Method            | Request                         | Response                        |
| ----------------- | ------------------------------- | ------------------------------- |
| [**list**](#list) | [EndpointQuery](#endpointquery) | [EndpointsInfo](#endpointsinfo) |

### list

> **GET** /identity/v1/endpoints
>
> **POST** /identity/v1/endpoints/search

| Type     | Message                         |
| -------- | ------------------------------- |
| Request  | [EndpointQuery](#endpointquery) |
| Response | [EndpointsInfo](#endpointsinfo) |

##

## Message

### EndpointInfo

| Field    | Type                                                   | Description |
| -------- | ------------------------------------------------------ | ----------- |
| service  | string                                                 |             |
| name     | string                                                 |             |
| endpoint | string                                                 |             |
| state    | <ul><li>NONE</li><li>ACTIVE</li><li>INACTIVE</li></ul> |             |
| version  | string                                                 |             |

### EndpointQuery

| Field          | Type                                                                                               | Required | Description |
| -------------- | -------------------------------------------------------------------------------------------------- | :------: | ----------- |
| query          | [spaceone.api.core.v1.Query](https://spaceone-dev.gitbook.io/api-reference/common-v1/search-query) |     ✘    |             |
| service        | string                                                                                             |     ✘    |             |
| endpoint\_type | string                                                                                             |     ✘    |             |
| domain\_id     | string                                                                                             |     ✔    |             |

### EndpointsInfo

| Field        | Type                                                                                            | Description |
| ------------ | ----------------------------------------------------------------------------------------------- | ----------- |
| results      | [list of EndpointInfo](#endpointinfo)                                                           |             |
| total\_count | [int32](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/type.proto) |             |
