jcansdale / GitPullRequest

Git extension that opens PRs associated with the current branch
4 stars 2 forks source link

We could use host API #45

Open jcansdale opened 5 years ago

jcansdale commented 5 years ago

For example for Azure DevOps

https://docs.microsoft.com/en-us/rest/api/azure/devops/git/pull%20requests/get%20pull%20requests?view=azure-devops-rest-5.0

https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/pullrequests?searchCriteria.sourceRefName=refs/heads/{branchName}&api-version=5.0