Integrations
Preview

List the GitHub App installations

The installations of the Wardn GitHub App linked to this organization, with the repositories each covers as of the last time Wardn read them. Answers 503 when this server has no GitHub App configured.

GET
/github/installations
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Response Body

The installations, by account.

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/github/installations'
Example Response
{  "items": [    {      "installationId": 0,      "accountLogin": "string",      "accountType": "string",      "repositorySelection": "all",      "credentialsRef": "string",      "repositories": [        {          "id": 0,          "fullName": "string",          "private": true,          "defaultBranch": "string"        }      ],      "suspendedAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}