...
Path | Method | Description |
---|
/api/v3/pipeline
| | Execute adhoc pipeline YAML or JSON given in the body. The pipeline is not stored. The request body will become the body of the pipeline. Request params will be set in vars scope of the pipeline. Request and response can be accessed via ${request} and ${response} object in the pipeline.
Info |
---|
For security reasons, executing adhoc pipelines is by default restricted to admin, support and developer users in DEV stage only. For production stage you should always consider to use persisted pipelines instead. |
|
/api/v3/pipeline:{path}
| | Store the pipeline YAML given in the body in the property store at {path} . Overwrite any existing one. |
/api/v3/pipeline:{path}
| | Load and execute the persisted pipeline at {path} from the property store: The request body will become the body of the pipeline. Request params will be set in vars scope of the pipeline. Request and response can be accessed via ${request} and ${response} object in the pipeline.
|
/api/v3/pipeline:{path}
| | Return the pipeline source persisted at {path} from the property store. |
/api/v3/pipeline:{path}
| | Delete the persisted pipeline at {path} from the property store. |
/api/v3/command:{name}
|
| Execute a single command given by name {name} . The request body in requests will become the body of the command.Request params of or requests will become the params to the command.
See the Command API documentation for a listing of all built-in commands. |
For more details see the API Documentation.
Execute
...
pipeline (adhoc)
Info |
---|
For security reasons, executing adhoc pipelines is by default restricted to admin, support and developer users in DEV stage only. For production stage you should always consider to use persisted pipelines instead. |
In order to execute an adhoc pipeline (= execute a pipeline without persisting it), you can send a HTTP POST
request to this endpoint url with the pipeline script as YAML or JSON in the body:
...
Note that the pipeline has the part name pipeline
and one or more files must all have the name file
.
Execute pipeline (persisted
...
A persisted pipeline is one which is stored in the property store.
...