v1beta
Double column
curl
API
CLI

Jobs /

Start builds

Start a new build for the given combined or build service. Given a commit sha, it will build that commit.

URL parameters

    • project

      string required

      ID of the project

    • job

      string required

      ID of the job

Request attributes

  • object

    • sha

      string required

      Commit sha to build.

API
CLI

POST /v1beta/projects/{project}/jobs/{job}/build

Example request

request body

curl

curl --header "Content-Type: application/json" \
  --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
  --request POST \
  --data '{"sha":"262ed9817b3cad5142fbceabe0c9e371e390d616"}' \
  https://api.northflank.com/v1beta/projects/{project}/jobs/{job}/build

Example response

200 OK

success

© 2021 Northflank Ltd. All rights reserved.

TermsPrivacy

contact@northflank.com