POST
/
api
/
v1
/
ci
/
{ci_config_id}
/
trigger
curl --request POST \
  --url https://app.datafold.com/api/v1/ci/{ci_config_id}/trigger \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "base_branch": "<string>",
  "base_sha": "<string>",
  "pr_branch": "<string>",
  "pr_number": 123,
  "pr_sha": "<string>"
}'
{
  "ci_run_id": 123,
  "run_id": 123
}

Authorizations

Authorization
string
header
required

Use the 'Authorization' header with the format 'Key <api-key>'

Path Parameters

ci_config_id
integer
required

Body

application/json
base_branch
string
required
base_sha
string
required
pr_branch
string
required
pr_number
integer
required
pr_sha
string
required

Response

200
application/json
Successful Response
ci_run_id
integer | null
run_id
integer | null