Update a pipeline.
Require owner permissions
Only the owner has access to create and modify pipelines.
Order Weights
You can create a custom sort order by setting the
orderWeight
field. For example, if you have one option with anorderWeight
of 10000 and another of 11000, you can create a new stage with anorderWeight
of 10500 that would be placed between them.However, once the stage has been created, the
orderWeight
for all stages will be recalculated to enforce the new ordering with gaps of 1000. In the previous example, that means the value that was at 11000 will be moved to 12000 and the new one created at 10500 becomes 11000.
Stage Updates
If you wish to modify the stages of a pipeline, you may do so by passing the id of the stage with your stage objects. Any stage objects that are missing ids will be created as new stages.