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
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.