Search code examples
spinnaker

is there any api to execute Judgment stage in spinnaker


I want to exectue stage in Manual Judgment via http api.

I search swagger and api docs however I couldn't find.

Is there any way?


Solution

  • I think you can do this in the following way:

    • Request URL: http://spin-api-url/pipelines/<pipeline-execution-id>/stages/<manual-judgement-stage-id>
    • Request Method: Patch
    • Request Body: {"judgmentStatus":"continue"}

    You can get the pipeline and stage execution Ids using the APIs.