Admiral

Integrations

List integrations

GET
/v1/integrations

Scope: integration:read

Authorization

bearerAuth
AuthorizationBearer <token>

An API key, or an access token minted from one. Pass it in the Authorization header: Bearer admp_...

In: header

Query Parameters

filter?filter

Filter expression to narrow results. Uses the Admiral filter DSL.

Filterable fields:

  • name: filter by integration name.
  • kind: filter by kind.
  • status: filter by status.

Example: field['kind'] = 'KIND_GITHUB' AND field['status'] = 'STATUS_CONNECTED'

Lengthlength <= 1024
page_size?page_size

The page_size query parameter.

Formatint32
Range0 <= value <= 100
page_token?page_token

The page_token query parameter.

Response Body

application/json

curl -X GET "https://example.com/v1/integrations"
{  "integrations": [    {      "id": "string",      "name": "string",      "kind": "KIND_UNSPECIFIED",      "status": "STATUS_UNSPECIFIED",      "status_reason": "string",      "settings": {        "github": {          "installation_id": "string",          "account_login": "string",          "account_type": "ACCOUNT_TYPE_UNSPECIFIED",          "repository_selection": "REPOSITORY_SELECTION_UNSPECIFIED",          "repositories": [            "string"          ],          "url": "string",          "suspended_at": "2023-01-15T01:30:15.01Z"        }      },      "created_by": {        "id": "string",        "display_name": "string",        "email": "string"      },      "created_at": "2023-01-15T01:30:15.01Z",      "updated_at": "2023-01-15T01:30:15.01Z"    }  ],  "next_page_token": "string"}