Search code examples
azure-devopsazure-pipelinesazure-devops-rest-apiazure-pipelines-yaml

Is there a corresponding Azure DevOps REST Api for ManualValidation task?


ManualValidation task was introduced for the YAML pipeline.

Anyone aware if there is a corresponding REST API for that?

I can see there is a REST API dedicated for ManualInterventions but that was more for the classic release pipeline.


Solution

  • Investigated the REST API call via the UI.. it actually uses the same Approvals and Checks REST API

    Hence, it will be very similar approach as discussed here Azure Pipelines: Bulk approve of deployments to environments where we can use the build/timeline REST API to retrieve the identifier and the post via the Approvals REST API