#2042 API endpoint for retrieving all comments for an issue & deleting comment by id
Opened 7 years ago by sayanchowdhury. Modified a year ago

Pagure only implements to list comment by the comment id on an issue.

While fixing issue in the Fedora-Badges repo I hit an issue, where I need to delete comments based on a criteria. So, it would be good if Pagure API supports listing all the comments on an issue and deleting comments by id.


I think https://pagure.io/api/0/pagure/issue/2042 includes all the comments.

But for your work, aren't you using the ticket git repo?

Yes, I am using the git ticket repo. I updated the JSON files with the correct URL and pushed the changes.

I think https://pagure.io/api/0/pagure/issue/2042 includes all the comments.

I will update the API documentation for this endpoint then and update the issue to just add feature to delete the comment?

Cool :)

But that created the new comments instead of updating the old ones.

But that created the new comments instead of updating the old ones.

Not cool :/

Metadata Update from @pingou:
- Issue tagged with: RFE

7 years ago

might worth a deeper look to understand how's the behavior today and if it requires further attention, adding it to milestone 5.13

Metadata Update from @wombelix:
- Issue set to the milestone: 5.13

a year ago

Login to comment on this ticket.

Metadata