Pipelines /
Get release flow
Required permission
Project > Pipelines > General > Read
Path parameters
projectId
string requiredID of the project
pipelineId
string requiredID of the pipeline
stage
string requiredStage of the pipeline
Response body
- {object}
Response object.
data
{object} requiredResult data.
apiVersion
string requiredThe version of the Northflank API to run the template against.
one ofv1arguments
{object}A set of arguments that can be referenced in a template using '${args.argumentName}'.
richInputs
[array]An array of rich UI override inputs for the Release Flow template.
- (multiple options: oneOf)
A node representing a rich UI override for the Release Flow template.
- {object}
BranchCommitSelector input
kind
string requiredThe kind of input.
one ofBranchCommitSelectorspec
{object} requiredThe specification for the BranchCommitSelector input.
- {object}
BuildSelector input
kind
string requiredThe kind of input.
one ofBuildSelectorspec
{object} requiredThe specification for the BuildSelector input.
spec
(multiple options: oneOf) requiredA node representing an action to be performed as part of the template.
concurrencyPolicy
stringDefines the concurrency behaviour of the template with respect to parallel runs.
one ofallow, queue, forbidstage
stringThe stage of the pipeline this release flow belongs to.
status
string requiredStatus of the template run
one ofpending, running, success, failure, aborted, abortingpaused
boolean requiredWhether triggers are paused for this release flow. If
true
, Git triggers and webhook triggers will not run the release flow.createdAt
string requiredTimestamp the template was created at.
updatedAt
string requiredTimestamp the template was last updated at.
OR
GET /v1/projects/{projectId}/pipelines/{pipelineId}/release-flows/{stage}
Example response
200 OK
JSON
{
"data": {
"apiVersion": "v1",
"arguments": {
"ARGUMENT_1": "value_1",
"ARGUMENT_2": "value_2"
},
"richInputs": [
{
"kind": "BranchCommitSelector",
"spec": {
"required": false,
"inputs": {
"source": "build-service"
},
"outputs": {
"branch": "TARGET_BRANCH",
"buildSha": "TARGET_COMMIT"
}
}
}
],
"spec": {
"kind": "Workflow"
},
"concurrencyPolicy": "allow",
"stage": "Development",
"status": "success",
"paused": false,
"createdAt": "2021-01-01 12:00:00.000Z",
"updatedAt": "2021-01-01 12:00:00.000Z"
}
}