Pipelines /
Update release flow
Required permission
Project > Pipelines > General > Update
Path parameters
projectId
string requiredID of the project
pipelineId
string requiredID of the pipeline
stage
string requiredStage of the pipeline
Request body
- {object}
content
{object} requiredapiVersion
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, forbidpaused
booleanWhether triggers are paused for this release flow. If
true
, Git triggers and webhook triggers will not run the release flow.
OR
POST /v1/projects/{projectId}/pipelines/{pipelineId}/release-flows/{stage}
Example request
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request POST \
--data '{"content":{"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","paused":false}' \
https://api.northflank.com/v1/projects/{projectId}/pipelines/{pipelineId}/release-flows/{stage}
Example response
200 OK