MicrosoftDocs / vsts-rest-api-specs

MIT License
169 stars 116 forks source link

Get a repository by remote URL example misleadingly broken. #685

Open MitchBodmer opened 7 months ago

MitchBodmer commented 7 months ago

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.