Liftbay
API referenceGitHub

GitHub setup status of a project

GET
/v1/orgs/{org}/projects/{project}/github/status

Whether the repo is linked, the GitHub App covers it, and the Liftbay workflow is on the default branch. Cached for 5 minutes.

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

project*string

Project slug

Query Parameters

refresh?string
Value in"true""false"

Response Body

OK

application/json
  1. response
repo*string|null
connected*boolean
defaultBranch*string|null
workflow*string
Value in"present""outdated""missing""unknown"
curl -X GET "https://example.com/v1/orgs/string/projects/string/github/status"
{  "repo": "string",  "connected": true,  "defaultBranch": "string",  "workflow": "present"}