Download OpenAPI specification:
Queries pipeline folder entries
filter[namespace][EQ] | string |
filter[namespace][IN] | Array of strings |
filter[name][EQ] | string |
filter[name][CO] | string |
filter[name][ST] | string |
filter[folderId][EQ] | string |
filter[folderPath][EQ] | string |
filter[_type][EQ] | string (pipelineEntityType) Enum: "Pipeline" "Folder" |
filter[_id][IN] | Array of strings |
filter[_created][LT] | string <date-time> |
filter[_created][GT] | string <date-time> |
filter[_modified][LT] | string <date-time> |
filter[_modified][GT] | string <date-time> |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "_created" "-_created" "_modified" "-_modified" "name" "-name" |
{- "data": [
- {
- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "namespace": "string",
- "_type": "Pipeline"
}
], - "totalCount": 0
}
Creates a new pipeline or pipeline folder
_id | string |
_created | string <date-time> |
_modified | string <date-time> |
name | string |
namespace | string |
_type | string (pipelineEntityType) |
folderId | string |
folderPath | string |
object (pipelineSpec) |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "namespace": "string",
- "_type": "Pipeline",
- "folderId": "string",
- "folderPath": "string",
- "spec": {
- "nodes": [
- {
- "name": "string",
- "connections": {
- "onSuccess": [
- "string"
], - "onTrue": [
- "string"
], - "onFalse": [
- "string"
], - "onAny": [
- "string"
], - "onError": [
- "string"
]
}, - "inputs": {
- "resources": {
- "property1": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}, - "property2": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}
}
}, - "outputs": {
- "artifacts": {
- "property1": {
- "path": "string",
- "contentType": "string"
}, - "property2": {
- "path": "string",
- "contentType": "string"
}
}
}, - "task": {
- "type": "rawexec",
- "command": "string",
- "args": [
- "string"
], - "envVars": [
- {
- "name": "string",
- "value": "string"
}
], - "conditionNode": true
}, - "meta": { }
}
], - "meta": { },
- "keepGoing": true
}
}
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "namespace": "string",
- "_type": "Pipeline",
- "folderId": "string",
- "folderPath": "string",
- "spec": {
- "nodes": [
- {
- "name": "string",
- "connections": {
- "onSuccess": [
- "string"
], - "onTrue": [
- "string"
], - "onFalse": [
- "string"
], - "onAny": [
- "string"
], - "onError": [
- "string"
]
}, - "inputs": {
- "resources": {
- "property1": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}, - "property2": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}
}
}, - "outputs": {
- "artifacts": {
- "property1": {
- "path": "string",
- "contentType": "string"
}, - "property2": {
- "path": "string",
- "contentType": "string"
}
}
}, - "task": {
- "type": "rawexec",
- "command": "string",
- "args": [
- "string"
], - "envVars": [
- {
- "name": "string",
- "value": "string"
}
], - "conditionNode": true
}, - "meta": { }
}
], - "meta": { },
- "keepGoing": true
}
}
id required | string |
fields | Array of strings (pipelineFolderEntryEntityField) Items Enum: "_id" "_created" "_modified" "_type" "name" "folderId" "folderPath" |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "namespace": "string",
- "_type": "Pipeline",
- "folderId": "string",
- "folderPath": "string",
- "spec": {
- "nodes": [
- {
- "name": "string",
- "connections": {
- "onSuccess": [
- "string"
], - "onTrue": [
- "string"
], - "onFalse": [
- "string"
], - "onAny": [
- "string"
], - "onError": [
- "string"
]
}, - "inputs": {
- "resources": {
- "property1": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}, - "property2": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}
}
}, - "outputs": {
- "artifacts": {
- "property1": {
- "path": "string",
- "contentType": "string"
}, - "property2": {
- "path": "string",
- "contentType": "string"
}
}
}, - "task": {
- "type": "rawexec",
- "command": "string",
- "args": [
- "string"
], - "envVars": [
- {
- "name": "string",
- "value": "string"
}
], - "conditionNode": true
}, - "meta": { }
}
], - "meta": { },
- "keepGoing": true
}
}
Replaces the definition of the entity. In most cases it is preferable to use the PATCH method.
It is not permitted to change a pipeline into a folder or vice versa.
The _id
, _created
and _modified
fields in the request body are ignored
id required | string |
_id | string |
_created | string <date-time> |
_modified | string <date-time> |
name | string |
namespace | string |
_type | string (pipelineEntityType) |
folderId | string |
folderPath | string |
object (pipelineSpec) |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "namespace": "string",
- "_type": "Pipeline",
- "folderId": "string",
- "folderPath": "string",
- "spec": {
- "nodes": [
- {
- "name": "string",
- "connections": {
- "onSuccess": [
- "string"
], - "onTrue": [
- "string"
], - "onFalse": [
- "string"
], - "onAny": [
- "string"
], - "onError": [
- "string"
]
}, - "inputs": {
- "resources": {
- "property1": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}, - "property2": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}
}
}, - "outputs": {
- "artifacts": {
- "property1": {
- "path": "string",
- "contentType": "string"
}, - "property2": {
- "path": "string",
- "contentType": "string"
}
}
}, - "task": {
- "type": "rawexec",
- "command": "string",
- "args": [
- "string"
], - "envVars": [
- {
- "name": "string",
- "value": "string"
}
], - "conditionNode": true
}, - "meta": { }
}
], - "meta": { },
- "keepGoing": true
}
}
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "namespace": "string",
- "_type": "Pipeline",
- "folderId": "string",
- "folderPath": "string",
- "spec": {
- "nodes": [
- {
- "name": "string",
- "connections": {
- "onSuccess": [
- "string"
], - "onTrue": [
- "string"
], - "onFalse": [
- "string"
], - "onAny": [
- "string"
], - "onError": [
- "string"
]
}, - "inputs": {
- "resources": {
- "property1": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}, - "property2": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}
}
}, - "outputs": {
- "artifacts": {
- "property1": {
- "path": "string",
- "contentType": "string"
}, - "property2": {
- "path": "string",
- "contentType": "string"
}
}
}, - "task": {
- "type": "rawexec",
- "command": "string",
- "args": [
- "string"
], - "envVars": [
- {
- "name": "string",
- "value": "string"
}
], - "conditionNode": true
}, - "meta": { }
}
], - "meta": { },
- "keepGoing": true
}
}
Applies a modification to the entity using a JSON Patch document.
It is not permitted to change a pipeline into a folder or vice versa. Any attempt to
change the _id
, _created
and _modified
fields are ignored
id required | string |
op required | string Enum: "add" "remove" "replace" The operation to be performed |
path required | string A JSON-Pointer |
value | any The value to be used within the operations. |
[- {
- "op": "add",
- "path": "string",
- "value": null
}
]
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "namespace": "string",
- "_type": "Pipeline",
- "folderId": "string",
- "folderPath": "string",
- "spec": {
- "nodes": [
- {
- "name": "string",
- "connections": {
- "onSuccess": [
- "string"
], - "onTrue": [
- "string"
], - "onFalse": [
- "string"
], - "onAny": [
- "string"
], - "onError": [
- "string"
]
}, - "inputs": {
- "resources": {
- "property1": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}, - "property2": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}
}
}, - "outputs": {
- "artifacts": {
- "property1": {
- "path": "string",
- "contentType": "string"
}, - "property2": {
- "path": "string",
- "contentType": "string"
}
}
}, - "task": {
- "type": "rawexec",
- "command": "string",
- "args": [
- "string"
], - "envVars": [
- {
- "name": "string",
- "value": "string"
}
], - "conditionNode": true
}, - "meta": { }
}
], - "meta": { },
- "keepGoing": true
}
}
Submits the pipeline, creating a pipeline run
id required | string |
executionProfileId required | string |
{- "executionProfileId": "string"
}
{- "pipelineRunId": "string"
}
Validates a new pipeline or pipeline folder
_id | string |
_created | string <date-time> |
_modified | string <date-time> |
name | string |
namespace | string |
_type | string (pipelineEntityType) |
folderId | string |
folderPath | string |
object (pipelineSpec) |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "namespace": "string",
- "_type": "Pipeline",
- "folderId": "string",
- "folderPath": "string",
- "spec": {
- "nodes": [
- {
- "name": "string",
- "connections": {
- "onSuccess": [
- "string"
], - "onTrue": [
- "string"
], - "onFalse": [
- "string"
], - "onAny": [
- "string"
], - "onError": [
- "string"
]
}, - "inputs": {
- "resources": {
- "property1": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}, - "property2": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}
}
}, - "outputs": {
- "artifacts": {
- "property1": {
- "path": "string",
- "contentType": "string"
}, - "property2": {
- "path": "string",
- "contentType": "string"
}
}
}, - "task": {
- "type": "rawexec",
- "command": "string",
- "args": [
- "string"
], - "envVars": [
- {
- "name": "string",
- "value": "string"
}
], - "conditionNode": true
}, - "meta": { }
}
], - "meta": { },
- "keepGoing": true
}
}
{- "errors": [
- "string"
]
}
Queries current pipeline run instances
filter[namespace][EQ] | string |
filter[namespace][IN] | Array of strings |
filter[created][LT] | string <date-time> |
filter[created][GT] | string <date-time> |
filter[startedAt][LT] | string <date-time> |
filter[startedAt][GT] | string <date-time> |
filter[finishedAt][LT] | string <date-time> |
filter[finishedAt][GT] | string <date-time> |
filter[state][EQ] | string (pipelineRunState) Enum: "Queued" "Executing" "Succeeded" "Failed" "Cancelled" |
filter[state][IN] | string |
filter[ownerPrincipal][EQ] | string |
filter[pipelineId][EQ] | string |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "created" "-created" |
{- "data": [
- {
- "id": "string",
- "created": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "state": "Queued",
- "cancelled": true,
- "ownerPrincipal": "string",
- "namespace": "string",
- "executionProfileId": "string"
}
], - "totalCount": 0
}
Creates a new pipeline run.
The definition of the pipeline. In the definition any value for the
id, status or created fields will be ignored. That is, only the spec field
is honoured
id | string |
created | string <date-time> |
ownerPrincipal | string |
pipelineId | string |
pipelinePath | string |
object (pipelineRunStatus) | |
required | object (pipelineSpec) |
entryPoint | string |
executionProfileId required | string |
{- "id": "string",
- "created": "2019-08-24T14:15:22Z",
- "ownerPrincipal": "string",
- "pipelineId": "string",
- "pipelinePath": "string",
- "status": {
- "state": "Queued",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "nodeStatus": {
- "property1": {
- "state": "Created",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "exitCode": 0,
- "events": [
- {
- "time": "2019-08-24T14:15:22Z",
- "type": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "property2": {
- "state": "Created",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "exitCode": 0,
- "events": [
- {
- "time": "2019-08-24T14:15:22Z",
- "type": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
}, - "spec": {
- "nodes": [
- {
- "name": "string",
- "connections": {
- "onSuccess": [
- "string"
], - "onTrue": [
- "string"
], - "onFalse": [
- "string"
], - "onAny": [
- "string"
], - "onError": [
- "string"
]
}, - "inputs": {
- "resources": {
- "property1": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}, - "property2": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}
}
}, - "outputs": {
- "artifacts": {
- "property1": {
- "path": "string",
- "contentType": "string"
}, - "property2": {
- "path": "string",
- "contentType": "string"
}
}
}, - "task": {
- "type": "rawexec",
- "command": "string",
- "args": [
- "string"
], - "envVars": [
- {
- "name": "string",
- "value": "string"
}
], - "conditionNode": true
}, - "meta": { }
}
], - "meta": { },
- "keepGoing": true
}, - "entryPoint": "string",
- "executionProfileId": "string"
}
{- "id": "string",
- "created": "2019-08-24T14:15:22Z",
- "ownerPrincipal": "string",
- "pipelineId": "string",
- "pipelinePath": "string",
- "status": {
- "state": "Queued",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "nodeStatus": {
- "property1": {
- "state": "Created",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "exitCode": 0,
- "events": [
- {
- "time": "2019-08-24T14:15:22Z",
- "type": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "property2": {
- "state": "Created",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "exitCode": 0,
- "events": [
- {
- "time": "2019-08-24T14:15:22Z",
- "type": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
}, - "spec": {
- "nodes": [
- {
- "name": "string",
- "connections": {
- "onSuccess": [
- "string"
], - "onTrue": [
- "string"
], - "onFalse": [
- "string"
], - "onAny": [
- "string"
], - "onError": [
- "string"
]
}, - "inputs": {
- "resources": {
- "property1": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}, - "property2": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}
}
}, - "outputs": {
- "artifacts": {
- "property1": {
- "path": "string",
- "contentType": "string"
}, - "property2": {
- "path": "string",
- "contentType": "string"
}
}
}, - "task": {
- "type": "rawexec",
- "command": "string",
- "args": [
- "string"
], - "envVars": [
- {
- "name": "string",
- "value": "string"
}
], - "conditionNode": true
}, - "meta": { }
}
], - "meta": { },
- "keepGoing": true
}, - "entryPoint": "string",
- "executionProfileId": "string"
}
Returns the given pipeline run
pipelineRunId required | string ID of the pipeline run |
{- "id": "string",
- "created": "2019-08-24T14:15:22Z",
- "ownerPrincipal": "string",
- "pipelineId": "string",
- "pipelinePath": "string",
- "status": {
- "state": "Queued",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "nodeStatus": {
- "property1": {
- "state": "Created",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "exitCode": 0,
- "events": [
- {
- "time": "2019-08-24T14:15:22Z",
- "type": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "property2": {
- "state": "Created",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "exitCode": 0,
- "events": [
- {
- "time": "2019-08-24T14:15:22Z",
- "type": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
}, - "spec": {
- "nodes": [
- {
- "name": "string",
- "connections": {
- "onSuccess": [
- "string"
], - "onTrue": [
- "string"
], - "onFalse": [
- "string"
], - "onAny": [
- "string"
], - "onError": [
- "string"
]
}, - "inputs": {
- "resources": {
- "property1": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}, - "property2": {
- "type": "git",
- "repo": "string",
- "branchOrTag": "string",
- "revision": "string",
- "depth": 0,
- "relativePath": "string"
}
}
}, - "outputs": {
- "artifacts": {
- "property1": {
- "path": "string",
- "contentType": "string"
}, - "property2": {
- "path": "string",
- "contentType": "string"
}
}
}, - "task": {
- "type": "rawexec",
- "command": "string",
- "args": [
- "string"
], - "envVars": [
- {
- "name": "string",
- "value": "string"
}
], - "conditionNode": true
}, - "meta": { }
}
], - "meta": { },
- "keepGoing": true
}, - "entryPoint": "string",
- "executionProfileId": "string"
}
Returns the current status of a given pipeline run by ID
pipelineRunId required | string ID of the pipeline run |
{- "state": "Queued",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "nodeStatus": {
- "property1": {
- "state": "Created",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "exitCode": 0,
- "events": [
- {
- "time": "2019-08-24T14:15:22Z",
- "type": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}, - "property2": {
- "state": "Created",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "exitCode": 0,
- "events": [
- {
- "time": "2019-08-24T14:15:22Z",
- "type": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
}
Returns a list of the results generated by all nodes in the given pipeline run
pipelineRunId required | string ID of the pipeline run |
{- "property1": [
- {
- "name": "string",
- "size": 0
}
], - "property2": [
- {
- "name": "string",
- "size": 0
}
]
}
Returns the current status of a specific node in the given pipeline run
pipelineRunId required | string ID of the pipeline run |
nodeName required | string Name of the pipeline node |
{- "state": "Created",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "exitCode": 0,
- "events": [
- {
- "time": "2019-08-24T14:15:22Z",
- "type": "string",
- "details": {
- "property1": "string",
- "property2": "string"
}
}
]
}
Returns the standard output or standard error log from execution of a given node in a pipeline run
pipelineRunId required | string ID of the pipeline run |
nodeName required | string Name of the pipeline node |
logType required | string Enum: "stdout" "stderr" Type of log to return |
{- "msg": "string"
}
Returns a list of the results generated by the given node in a pipeline run
pipelineRunId required | string ID of the pipeline run |
nodeName required | string Name of the pipeline node |
[- {
- "name": "string",
- "size": 0
}
]
Returns the content of the given node result
pipelineRunId required | string ID of the pipeline run |
nodeName required | string Name of the pipeline node |
resultName required | string Name of the result |
{- "msg": "string"
}
Returns info for the given node result
pipelineRunId required | string ID of the pipeline run |
nodeName required | string Name of the pipeline node |
resultName required | string Name of the result |
{- "name": "string",
- "contentType": "string",
- "size": 0
}
Queries triggers for a given pipeline
id required | string |
filter[type][EQ] | string (triggerType) Enum: "Cron" "File" |
filter[created][LT] | string <date-time> |
filter[created][GT] | string <date-time> |
filter[modified][LT] | string <date-time> |
filter[modified][GT] | string <date-time> |
filter[disabled][EQ] | boolean |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "created" "-created" "modified" "-modified" |
{- "totalCount": 0,
- "data": [
- {
- "id": "string",
- "pipelineId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modifed": "2019-08-24T14:15:22Z",
- "runAsPrincipal": "string",
- "disabled": true,
- "trigger": {
- "type": "Cron",
- "cronExpression": "string",
- "timezone": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z"
}, - "lastTriggered": "2019-08-24T14:15:22Z",
- "executionProfileId": "string"
}
]
}
Creates a new trigger
id required | string |
id | string |
pipelineId required | string |
created | string <date-time> |
modified | string <date-time> |
runAsPrincipal | string |
disabled required | boolean |
required | any (triggerSpec) |
executionProfileId required | string |
{- "id": "string",
- "pipelineId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "runAsPrincipal": "string",
- "disabled": true,
- "trigger": {
- "type": "Cron",
- "cronExpression": "string",
- "timezone": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z"
}, - "executionProfileId": "string"
}
{- "id": "string",
- "pipelineId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "runAsPrincipal": "string",
- "disabled": true,
- "trigger": {
- "type": "Cron",
- "cronExpression": "string",
- "timezone": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z"
}, - "executionProfileId": "string"
}
Queries triggers
filter[namespace][EQ] | string |
filter[namespace][IN] | Array of strings |
filter[type][EQ] | string (triggerType) Enum: "Cron" "File" |
filter[pipelineId][EQ] | string |
filter[runAsPrincipal][EQ] | string |
filter[executionProfile][EQ] | string |
filter[disabled][EQ] | boolean |
filter[created][LT] | string <date-time> |
filter[created][GT] | string <date-time> |
filter[modified][LT] | string <date-time> |
filter[modified][GT] | string <date-time> |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "created" "-created" "modified" "-modified" |
{- "totalCount": 0,
- "data": [
- {
- "id": "string",
- "pipelineId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modifed": "2019-08-24T14:15:22Z",
- "runAsPrincipal": "string",
- "disabled": true,
- "trigger": {
- "type": "Cron",
- "cronExpression": "string",
- "timezone": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z"
}, - "lastTriggered": "2019-08-24T14:15:22Z",
- "executionProfileId": "string"
}
]
}
Returns a pipeline trigger by ID
triggerId required | string ID of the trigger |
{- "id": "string",
- "pipelineId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "runAsPrincipal": "string",
- "disabled": true,
- "trigger": {
- "type": "Cron",
- "cronExpression": "string",
- "timezone": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z"
}, - "executionProfileId": "string"
}
Deletes a trigger by ID
triggerId required | string ID of the trigger |
{- "id": "string",
- "pipelineId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "runAsPrincipal": "string",
- "disabled": true,
- "trigger": {
- "type": "Cron",
- "cronExpression": "string",
- "timezone": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z"
}, - "executionProfileId": "string"
}
Replaces the definition of the given trigger.
The values of the created and modified fields in the request body are
ignored. If present the id field must match the ID of the trigger
triggerId required | string ID of the trigger |
id | string |
pipelineId required | string |
created | string <date-time> |
modified | string <date-time> |
runAsPrincipal | string |
disabled required | boolean |
required | any (triggerSpec) |
executionProfileId required | string |
{- "id": "string",
- "pipelineId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "runAsPrincipal": "string",
- "disabled": true,
- "trigger": {
- "type": "Cron",
- "cronExpression": "string",
- "timezone": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z"
}, - "executionProfileId": "string"
}
{- "id": "string",
- "pipelineId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "runAsPrincipal": "string",
- "disabled": true,
- "trigger": {
- "type": "Cron",
- "cronExpression": "string",
- "timezone": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z"
}, - "executionProfileId": "string"
}
Patches the trigger with a JSON Patch document
triggerId required | string ID of the trigger |
op required | string Enum: "add" "remove" "replace" The operation to be performed |
path required | string A JSON-Pointer |
value | any The value to be used within the operations. |
[- {
- "op": "add",
- "path": "string",
- "value": null
}
]
{- "id": "string",
- "pipelineId": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "runAsPrincipal": "string",
- "disabled": true,
- "trigger": {
- "type": "Cron",
- "cronExpression": "string",
- "timezone": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z"
}, - "executionProfileId": "string"
}
Returns the history of firings of the given trigger
triggerId required | string ID of the trigger |
filter[triggerTime][LT] | string <date-time> |
filter[triggerTime][GT] | string <date-time> |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "triggerTime" "-triggerTime" "triggerId" "-triggerId" |
{- "totalCount": 0,
- "data": [
- {
- "triggerId": "string",
- "triggerTime": "2019-08-24T14:15:22Z",
- "runId": "string",
- "error": "string",
- "state": "Success"
}
]
}
Queries trigger firings for all triggers
filter[triggerId][EQ] | string |
filter[triggerTime][LT] | string <date-time> |
filter[triggerTime][GT] | string <date-time> |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "triggerTime" "-triggerTime" "triggerId" "-triggerId" |
{- "totalCount": 0,
- "data": [
- {
- "triggerId": "string",
- "triggerTime": "2019-08-24T14:15:22Z",
- "runId": "string",
- "error": "string",
- "state": "Success"
}
]
}