I am wondering if there is a way to exclude deleted comments using bitbucket rest api.
I have tried:
https://api.bitbucket.com/2.0/repositories/leremede321/test-bitbucket-api/pullrequests/2/comments?pagelen=10&q=deleted%3Dfalse
but it does not work
Did you ever figure this out?
According to documentation on queries for pull requests, queries for pull requests do not allow a deleted flag. Only state=open, for example, and that's for the pull request not the comment (as a comment can't have an "open" flag as that wouldn't make sense).
There is also no documentation for /pullrequest/{id}/comments queries, so it stands to reason that these filters are solely for the pull request and not for the comments.
It looks like you're new here. Sign in or register to get started.