Liftbay
API referenceGitHub

Propose the Liftbay workflow as a pull request

POST
/v1/orgs/{org}/projects/{project}/github/workflow

Pushes .github/workflows/liftbay.yml to the liftbay/workflow branch and opens a pull request against the default branch. Besides this, Liftbay only creates temporary liftbay/build/* branches to start builds.

Authorization

cookielb_session<token>

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

Path Parameters

org*string

Organization slug

project*string

Project slug

Response Body

OK

application/json
  1. response
status*string
Value in"opened""updated""up_to_date"
url*string|null
curl -X POST "https://example.com/v1/orgs/string/projects/string/github/workflow"
{  "status": "opened",  "url": "string"}