Syndai Docs

List GitHub installations

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/coding/customers/{customer_id}/github-installations

The GitHub App installations linked to the workspace and the repositories they reach. Any member.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
installations*array<>
repos*array<>
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/github-installations'
Example Response
{  "installations": [    {      "account_github_id": 0,      "account_login": "string",      "account_type": "string",      "created_at": "2019-08-24T14:15:22Z",      "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",      "github_installation_id": 0,      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "installed_at": "2019-08-24T14:15:22Z",      "repository_selection": "string",      "target_github_id": 0,      "target_type": "string",      "uninstalled_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "repos": [    {      "created_at": "2019-08-24T14:15:22Z",      "default_branch": "string",      "full_name": "string",      "github_repo_id": 0,      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "installation_id": "91166175-c6a9-4caf-88e9-3147ffc9c934",      "last_synced_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ]}
Was this page helpful?