Line

You are reading the unreleased docs (next). See latest (v0.9)

/api/github

3 routes under /api/github.

Cockpit server REST reference, next.

All routes sit below the Cockpit server's session gate (app.use('/api', auth.requireSession)) except /api/health. Generated from the real route table in ui/server/src.

POST /api/github/disconnect#

Source: ui/server/src/githubRepoApi.mjs.

GET /api/github/repos#

Parameter In Type
page query —
per_page query —
q query —

Source: ui/server/src/githubRepoApi.mjs.

GET /api/github/status#

The one route that answers when the feature is off, and then with nothing beyond enabled:false.

Source: ui/server/src/githubRepoApi.mjs.