Integrations
List connections
Scope: integration:read
Authorization
bearerAuth An API key, or an access token minted from one. Pass it in the Authorization header: Bearer admp_...
In: header
Path Parameters
The integration id.
Query Parameters
Maximum number of connections to return per page. Defaults to 50 when omitted or 0; must not exceed 100.
int320 <= value <= 100Opaque pagination token from a previous response.
An AIP-160 filter expression. Filterable fields are resource_name,
name and status. resource_name takes the full resource name, with
- for the integration, and name the short name.
Example: status = NEEDS_ATTENTION AND name = "acme"
id is filterable too: id = "a" OR id = "b" reads up to 100 of
them by id in one call.
length <= 4096Fields to order by, in AIP-132 syntax such as created_at desc. Accepted
fields: created_at, name, updated_at. Left empty, the list keeps the
order stated above. An unknown field is INVALID_ARGUMENT.
length <= 256Response Body
application/json
curl -X GET "https://example.com/v1/integrations/string/connections"{ "connections": [ { "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" } ], "next_page_token": "string"}Start installing an app POST
For `integrations/github` the person must be an owner of the GitHub organization, since GitHub lets only an owner install an app that asks for organization permissions. - NOT_FOUND when Admiral offers no integration with that resource name. - INVALID_ARGUMENT when the integration is not installed through an app. Scope: `integration:write`
List integrations GET
Scope: `integration:read`