List GitHub Repositories
List the repositories the caller can build in a team, each with the installation_id to pass to create-service along with owner.login and name. A repository missing here cannot be built in the team until it is added to the installation on GitHub or its connection is shared with the team.
List the repositories the caller can build in a team, each with the installation_id to pass to create-service along with owner.login and name. A repository missing here cannot be built in the team until it is added to the installation on GitHub or its connection is shared with the team.
Authorization
bearerAuth Access token or API key (unb_...) passed as Authorization: Bearer <token>.
In: header
Query Parameters
The team to build in
uuidResponse 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/repositories?team_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": [ { "clone_url": "string", "full_name": "string", "homepage": "string", "html_url": "string", "id": 0, "installation_id": 0, "name": "string", "owner": { "avatar_url": "string", "id": 0, "login": "string", "name": "string" }, "updated_at": "2019-08-24T14:15:22Z" } ]}Reorder Service Group PUT
Set the custom order of the services inside a service group. List them in the order they should appear; ones left out keep their order after the listed ones. To move the group itself, use reorder-services. Returns the environment's services in the new order.
List GitHub Installations GET
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.