Azure / azure-devops-cli-extension

Azure DevOps Extension for Azure CLI
https://docs.microsoft.com/en-us/cli/azure/ext/azure-devops/?view=azure-cli-latest
MIT License
628 stars 241 forks source link

[Feature Request] #1238

Open jvdenning opened 2 years ago

jvdenning commented 2 years ago

It is not possible to do a full range of queries/updates to Azure DevOps using the supported/documented APIs via the Azure DevOps cli extension's invoke verb.

At the moment the somewhat opaque details surrounding az devops invoke take quite a bit of understanding, whereby what is clear that there is a motive to help the user and the first step is to try and define what API calls are "supported" (then define route parameters, resolve hostnames etc). Whilst this may be good to achieve compatibility and be able to manage and document the API, there are quite a few gaps in cover - but there are APIs being used by the browser UI (and possibly the SDKs) that can be traced and understood.

Be able to use the invoke verb with a "--raw" parameter that allows any api call to be made to any existing APIs endpoints including the "undocumented" ones as used by the UI - it is down to the user to determine route and query parameters and under the premise that these calls and the APIs they call can break/change with no notice (the fact being most are unlikely to change).