1
votes

I am trying to write an Extension for Azure DevOps 2019 Server which will list the available dashboards and allow them to be deleted.

I have already created an extension and have used the REST Client to get work items. As per here: https://docs.microsoft.com/en-ca/azure/devops/extend/reference/client/rest-clients?view=azure-devops

However it appears that there is no REST Client for the API Dashboard functions that I need to use. How can I make calls to the API from within an Extension when there is no REST Client available? I can't find an example of this.

1

1 Answers

0
votes

You can use azure-devops-node-api that have methods to interact with the dashboards.

In addition, you can use the Dashboard Rest API and make Http request like every rest api call, you can read here "5 Ways to Make HTTP Requests in Node.js".