/REST/API/1.0/PROJECTS/{PROJECTKEY}/REPOS/{REPOSITORYSLUG}/PULL-REQUESTS/{PULLREQUESTID}/COMMENTS?ANCHORSTATE&DIFFTYPE&FROMHASH&PATH&TOHASH
How could i get response without specifying the filter query
Hi Paramanand,
The only mandatory parameter in the rest end point you shared is the path one. By adding it, only the comments on the file specified through the path will be returned.
@Felix replied to a similar question in this thread and suggested to use the activities end point instead:
Activity items include comments, approvals, rescopes (i.e. adding and removing of commits), merges and more.
Because this returns more data - not just the comments - you'll have to filter out anything that is not a comment, but it's going to be easier to do than grabbing comments individually for every file.
Cheers,
Caterina
Thanks caterina
It looks like you're new here. Sign in or register to get started.