/v1/git-connections/github-app/installations/reusableReturns GitHub accounts you connected in your other workspaces that are not connected to
this workspace yet. Pass a result's uid to
Link a GitHub App installation to
connect it here without going through GitHub again.
Only connections you made yourself are listed, because connecting proved you control that GitHub account. Each GitHub installation appears once, even if it is connected to several of your workspaces.
Requires the secrets manage permission (owner, admin or developer role).
Authentication
Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.
Headers
X-Workspace-SlugstringRequiredSlug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.
Response
Connections you can link to this workspace. Empty when there are none.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataarray of objectsShow item attributesHide item attributes
uidstringRequiredUID of your connection in the other workspace. Pass it to Link a GitHub App installation.
account_loginstringGitHub login of the account or organization.
account_typestringGitHub account type, for example User or Organization.
workspace_namestringName of the other workspace the connection was made in.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, expired or revoked. |
403 | You cannot access the workspace, your role does not allow this action, or the account is suspended. |
Errors use the standard error format.