I am creating some Azure CLI script to update an Azure DevOps project wiki, using the following command:
az devops wiki page update
However, the above command requires a --version (ETag) parameter which appears cannot be obtained via an Azure CLI command. It is however available through REST API Get request, as can be seen in the screenshot below from a Postman session.
Any idea how I can retrieve this ETag value from the REST API Get request and pass into my az devops wiki page update command in Azure CLI?