---
title: "Get a single PlatformHub GitHub app connection by id"
method: GET
path: "/platformhub/github/connections/{id}"
tags: ["PlatformHub"]
---

# Get a single PlatformHub GitHub app connection by id

`GET /platformhub/github/connections/{id}`

## Path parameters

- `id` string, required

## Response `200`

A PlatformHub GitHub app connection

- GetPlatformHubGitHubAppConnectionByIdResponse
  - `Id` string, required
  - `Installation` GitHubAppInstallation
    - `AccountAvatarUrl` string
    - `AccountId` string
    - `AccountLogin` string
    - `AccountType` string
    - `AllRepositories` boolean
    - `InstallationId` string
  - `Repositories` GitHubRepositoryResponse[], required
    - `DefaultBranch` string
    - `GitUrl` string
    - `IsAdmin` boolean
    - `IsPrivate` boolean
    - `Language` string
    - `RepositoryId` string
    - `RepositoryName` string
    - `Visibility` string
  - `Status` string, required
  - `StatusUserMessage` string
  - `UnknownRepositories` GitHubUnknownRepositoryResponse[], required
    - `RepositoryId` string
    - `RepositoryName` string

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/versions/bc9158facfc7/schema)
