/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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.