Unbind
Git Hub

List GitHub Installations

List the GitHub accounts and organizations the caller can build from in a team: their own connections, the ones shared with the team and the ones shared with all teams. Pass an installation's id as github_installation_id to create-service in that team. An installation that is suspended or not active cannot be used. With repository_selection selected, only the repositories picked on GitHub are reachable; list-github-repositories shows them.

GET
/github/installations

List the GitHub accounts and organizations the caller can build from in a team: their own connections, the ones shared with the team and the ones shared with all teams. Pass an installation's id as github_installation_id to create-service in that team. An installation that is suspended or not active cannot be used. With repository_selection selected, only the repositories picked on GitHub are reachable; list-github-repositories shows them.

Authorization

bearerAuth
AuthorizationBearer <token>

Access token or API key (unb_...) passed as Authorization: Bearer <token>.

In: header

Query Parameters

team_id*string

The team to build in. Service counts are limited to it.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/github/installations?team_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "data": [    {      "account_id": 0,      "account_login": "string",      "account_type": "string",      "account_url": "string",      "active": true,      "created_at": "2019-08-24T14:15:22Z",      "events": [        "string"      ],      "github_app_id": 0,      "id": 0,      "permissions": {        "contents": "string",        "metadata": "string"      },      "repository_selection": "string",      "service_count": 0,      "suspended": true,      "updated_at": "2019-08-24T14:15:22Z"    }  ]}