MicrosoftDocs / vsts-rest-api-specs

MIT License
169 stars 116 forks source link

Examples should have {instance}/{collection}/{project} in the URLs. The specified URLs don't work. #712

Open csharpengineer opened 4 months ago

csharpengineer commented 4 months ago

The example on this page should be a

POST to https://{instance}/{collection}/{project}/_apis/git/repositories/3411ebc1-d5aa-464f-9615-0b527bc66719/pullRequests/22/threads/148/comments?api-version=7.0

instead of a

POST to https://{instance}/fabrikam/_apis/git/repositories/3411ebc1-d5aa-464f-9615-0b527bc66719/pullRequests/22/threads/148/comments?api-version=7.0

See: https://developercommunity.visualstudio.com/t/Creating-a-thread-comment-results-in-Val/10698765#T-N10701749

This also applies to this page (and probably several other ones as well): https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-request-threads/create?view=azure-devops-server-rest-7.0&tabs=HTTP


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.