Pipeline Settings
- POST
- /workspaces
- /:workspace
- /projects
- /:project_name
- /pipelines
- /:pipeline_id
- /actions
Creates a new Pipeline Settings action in the pipeline
Request example
curl -X POST "https://api.buddy.works/workspaces/:workspace/projects/:project_name/pipelines/:pipeline_id/actions" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "Update Pipeline Schedule",
"type": "PIPELINE_SETTINGS",
"trigger_time": "ON_EVERY_EXECUTION",
"cron": "0 2 * * 1-5",
"target_pipeline": {
"id": 123,
"identifier": "nightly-build",
"project": {
"name": "my-project"
}
}
}'STATUS200 OK