--- title: "List connections" canonical: "https://admiral.io/docs/api/integrations/IntegrationAPI_ListConnections" --- # List connections `GET https://api.admiral.io/v1/integrations/{integration}/connections` Scope: `integration:read` ### Path parameters - `integration` (string, required): The integration id. ### Query parameters - `page_size` (integer (int32)): Maximum number of connections to return per page. Defaults to 50 when omitted or 0; must not exceed 100. Value 0 to 100. - `page_token` (string): Opaque pagination token from a previous response. - `filter` (string): An AIP-160 filter expression. Filterable fields are `name` and `status`. Example: `status = NEEDS_ATTENTION` `uid` is filterable too: `uid = "a" OR uid = "b"` reads up to 100 of them by uid in one call. Length at most 4096. ### Response 200 Success - `connections` (array of Connection) - `name` (string): (IDENTIFIER) The connection's name, `integrations/{integration}/connections/{connection}`, such as `integrations/github/connections/acme`. The id defaults to the vendor account's login, so it may start with a digit. Pattern `^integrations/[a-z]([a-z0-9-]{0,61}[a-z0-9])?/connections/[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. - `uid` (string): `int-` and twelve base36 characters. Never changes and is never reused, so it is what a reference to the connection holds. Pattern `^int-[0-9a-z]+$`. Read-only. - `settings` (ConnectionSettings): The block for the integration. Exactly one variant is populated. - `github` (GitHubConnectionSettings): GitHubConnectionSettings describes one installation of Admiral's GitHub App. GitHub is the source of every field, so all of it is read only. - `installation_id` (string (int64)): GitHub's id for the installation. Read-only. - `account_login` (string): The login of the organization or user the App is installed on, as GitHub spells it. Read-only. - `account_type` (AccountType): AccountType is what the App is installed on. One of `ACCOUNT_TYPE_UNSPECIFIED`, `ORGANIZATION`, `USER`. Read-only. - `repository_selection` (RepositorySelection): RepositorySelection is how the installation was scoped on GitHub. One of `REPOSITORY_SELECTION_UNSPECIFIED`, `ALL`, `SELECTED`. Read-only. - `repositories` (array of string): Full names, `owner/name`, when the selection is SELECTED. Empty when it is ALL, and empty on a DISCONNECTED connection. Read-only. - `url` (string): The page on GitHub where the installation is managed. Empty on a DISCONNECTED connection. Read-only. - `suspended_at` (Timestamp): Set while GitHub has the installation suspended. Read-only. - `status` (Status): One of `STATUS_UNSPECIFIED`, `CONNECTED`, `NEEDS_ATTENTION`, `DISCONNECTED`. Read-only. - `status_reason` (string): Why, and when, the status last left CONNECTED. Empty while connected. Read-only. - `etag` (string): Changes whenever the connection does. Send it back on rename or delete to refuse the change if someone else changed the connection first. Read-only. - `created_by` (ActorRef): Who connected it. Read-only. - `id` (string): The actor's typed id: a `usr-` user id or an `sa-` service account id. - `display_name` (string): Human-readable name (e.g., "John Smith", "deploy-bot"). - `email` (string): Email address (empty for non-human actors). - `created_at` (Timestamp): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC. Read-only. - `updated_at` (Timestamp): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC. Read-only. - `next_page_token` (string)