Update an existing Pipeline Step
pipeline_id*integerThe ID of the pipeline.
1 <= valuestep_id*integerThe ID of the step.
1 <= valueAccept*stringapplication/json
Content-Type*stringapplication/json
A JSON object containing the resource data
application/json- body
id*integerThe unique ID of the given Pipeline Step.
name?stringName/short description of the script. Must be at least 4 characters. Must not be greater than 60 characters.
description?stringA short text describing the command. Can be helpful for other team members to understand why a pipeline step is needed. Must not be greater than 255 characters.
type?stringThe pipeline step's type. Must not be greater than 20 characters.
command*stringA command line or multiline bash script. Must be at least 10 characters. Must not be greater than 300 characters.
runner*PipelineStepRunnerNameName of the script runner that will run the script
"composer""custom""npm""pip""yarn"run_as_user?stringThe name of the Unix user on behalf of which the script will be executed. Must not be greater than 60 characters.
trigger_after?integerRepositions the pipeline step after the step with the given trigger_order. Must be at least 0. Must not be greater than 16777214.
No Content
curl -X PUT 'https://api.devopness.com/pipelines/123/steps/123' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <your_api_token>' \ -H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \ -d '{ "id": 1, "command": "echo '\''Deploy with devopness is a breeze!'\'' | tee -a /tmp/build-started.log", "runner": "pip"}'