The "Get a repository by remote URL" example says that the request should be:
GET https://dev.azure.com/fabrikam/_apis/git/repositories/{repositoryId}?api-version=7.2-preview.1
When it should be:
GET https://dev.azure.com/fabrikam/_git/FabrikamCloud/vsts/info
Interestingly, this is correctly noted in the example json file here.
My guess is that there is a bug when rendering the page that is exposed because the correct URL is under the _git path instead of the _apis path.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
ID: 1ae881be-9169-fd94-cc1a-df8f7ee132f6
Version Independent ID: 4b243cda-44e2-94ff-e332-ddc7341dc242
The "Get a repository by remote URL" example says that the request should be:
GET https://dev.azure.com/fabrikam/_apis/git/repositories/{repositoryId}?api-version=7.2-preview.1
When it should be:
GET https://dev.azure.com/fabrikam/_git/FabrikamCloud/vsts/info
Interestingly, this is correctly noted in the example json file here.
My guess is that there is a bug when rendering the page that is exposed because the correct URL is under the
_git
path instead of the_apis
path.Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.