Admiral

Integrations

Get a connection

GET
/v1/integrations/{integration}/connections/{connection}
  • NOT_FOUND when no connection has that resource name.

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

Path Parameters

integration*string

The integration id.

connection*string

The connection id.

Response Body

application/json

curl -X GET "https://example.com/v1/integrations/string/connections/string"
{  "connection": {    "id": "string",    "name": "string",    "resource_name": "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"      }    },    "status": "STATUS_UNSPECIFIED",    "status_reason": "string",    "etag": "string",    "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"  }}