Integration
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/api/v1/organizations/{organization_id}/verification/integrations |
load |
VerificationIntegrations |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
integration, err := client.Integration(nil).Load(map[string]any{"organization_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(integration)
Lua
Construct client as shown in the Lua setup, then call the operations:
local integration, err = client:Integration():load({ organization_id = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$integration = $client->Integration()->load(["organization_id" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
integration = client.Integration().load({"organization_id": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
integration = client.Integration.load({ "organization_id" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const integration = await client.Integration().load({ organization_id: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
github |
object |
Yes | Github |
gitlab |
object |
Yes | Gitlab |
permissions |
object |
Yes | Permissions |
slack |
object |
Yes | Slack |
load
GET /api/v1/organizations/{organization_id}/verification/integrations
Operation ID: api_v1_verification_integrations.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes |
Responses
200: VerificationIntegrations
application/json
| Property | Type | Required | Description |
|---|---|---|---|
github |
object |
Yes | |
github.repository_count |
integer |
Yes | Connected repositories Verify can test pull or merge requests for |
gitlab |
object |
Yes | |
gitlab.repository_count |
integer |
Yes | Connected repositories Verify can test pull or merge requests for |
permissions |
object |
Yes | |
permissions.manage |
boolean |
Yes | |
slack |
object |
Yes | |
slack.account_connected |
boolean |
Yes | Whether the current user has linked their own Slack account |
slack.available |
boolean |
Yes | Whether this deployment has a Slack app configured |
slack.connect_url |
string |
Yes | |
slack.workspace_name |
string |
Yes | The connected Slack workspace, or null when none is installed |