Shows whether GitLab is set up on this server, the link to connect an account (for owners and admins), and the accounts that are connected.
HTTP
GET /integrations/gitlabAccess: Session token only. API keys get 403 with insufficient_scope.
Response 200 #
The overview.
JSON
{
"configured": true,
"connectUrl": "https://gitlab.com/oauth/authorize?...",
"connections": [ { "connectionId": "0197a3cd-b4ca-7bbb-8e11-6cafcd7b943b", "account": "ada" } ]
}Response fields #
| Field | Type | Description |
|---|---|---|
configured | boolean | Whether the GitLab application is set up on this server. |
connectUrl | string or null | Where to go to connect. null unless it is configured and you are an owner or admin. |
connections | list of object | Connected accounts: connectionId and account. |
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.