Home > Software engineering >  How to create a serviceEndpoint via Azure DevOps REST API with an approver or group of approvers?
How to create a serviceEndpoint via Azure DevOps REST API with an approver or group of approvers?

Time:11-09

I am using the Azure DevOps REST API to create a serviceendpoint/serviceconnection which works fine. I am using the following endpoint: enter image description here

Project Settings->Serviceconnections-> Approvals and check

Can this be done via the Azure DevOps REST API?

I reviewed the Microsoft docs with regard to Azure DevOps REST API.

CodePudding user response:

Project Settings->Serviceconnections-> Approvals and check Can this be done via the Azure DevOps REST API?

Yes. We can achieve this via Rest API.

You can use the Rest API: enter image description here

CodePudding user response:

Have not tried this myself, but a little reverse engineering of the Azure DevOps UI leads me to believe there is a generic API object for checks and approvals used by various object types within ADO.

I think Check Configurations API for approvals and checks is what you need. This does use version 7.1 of the API though.

  • Related