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
}
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
}
Use the 'Authorization' header with the format 'Key <api-key>'
Successful Response
The response is of type object
.