Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 42 additions & 1 deletion src/pages/docs/api/_generated/platform-hub.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Api.astro
pubDate: 2026-08-11
modDate: 2026-08-11
modDate: 2026-08-25
title: Platform Hub
---

Expand Down Expand Up @@ -2466,6 +2466,47 @@ Gets a set of GitHub App connections for the Platform Hub.
```
:::

## Get the GitHub repositories for a PlatformHub GitHub app connection

:endpoint{method="GET" path="/api/platformhub/github/connections/\{connectionId\}/repositories"}

**Path Parameters**

- **`connectionId`** :span[string]{.type-label} *(required)*

**Response**

`200` — GitHub repositories available for the PlatformHub connection

- **`Repositories`** :span[array of object]{.type-label}
- **`DefaultBranch`** :span[string]{.type-label}
- **`GitUrl`** :span[string]{.type-label}
- **`IsAdmin`** :span[boolean]{.type-label}
- **`IsPrivate`** :span[boolean]{.type-label}
- **`Language`** :span[string]{.type-label}
- **`RepositoryId`** :span[string]{.type-label}
- **`RepositoryName`** :span[string]{.type-label}
- **`Visibility`** :span[string]{.type-label}

:::api-example{label="Response"}
```json
{
"Repositories": [
{
"DefaultBranch": "string",
"GitUrl": "string",
"IsAdmin": false,
"IsPrivate": false,
"Language": "string",
"RepositoryId": "string",
"RepositoryName": "string",
"Visibility": "string"
}
]
}
```
:::

## Get a single PlatformHub GitHub app connection by id

:endpoint{method="GET" path="/api/platformhub/github/connections/\{id\}"}
Expand Down