Schedule a pipeline execution
This will create a job for execution of the specified pipeline and variables. If the pipeline is not schedulable (running and no queue / limit or concurrency exceeded) it will error.
POST
/pipelines/schedule
curl \
-X POST http://localhost:8080/pipelines/schedule \
-d '{"pipeline":"my_pipeline","variables":{"databases":["mysql","postgresql"],"tag_name":"v1.17.4"}}'
Request example
{
"pipeline": "my_pipeline",
"variables": {
"databases": [
"mysql",
"postgresql"
],
"tag_name": "v1.17.4"
}
}
Request examples
{
"pipeline": "my_pipeline",
"variables": {
"tag_name": "v1.17.4",
"databases": [
"mysql",
"postgresql"
]
}
}
Response examples (400)
{
"error": "string"
}
Response examples (400)
{
"error": "string"
}
Response examples (default)
{
"jobId": "string"
}
Response examples (default)
{
"jobId": "string"
}