Adam,

This is a long-standing limitation of the current API. We're planning on
adding a new resource soon to query reviews across all review requests.

There is an extension that we've used internally that adds a new API
endpoint to do this. It's not well documented but perhaps it could serve as
a starting point:
https://github.com/beanbaginc/student-sonar/tree/master/misc/rb-reviews-api

David

On Tue, May 10, 2022 at 6:55 AM Adam Gross <gros...@gmail.com> wrote:

> I am working on a Python script which uses the rbtools package and
> collects the contributions made by a person. I started with the basic
> things like enumerating all code reviews posted by a user and sorting by
> lines of code changed.
>
> I want to add functionality to query for all reviews given by a user as
> part of reviewing someone else's code during a specific time period.
> However, I can't find any relevant web API under
> https://www.reviewboard.org/docs/manual/3.0/webapi/ that would fit. All
> of the ones that seem relevant (e.g. get_diff_comments and get_reviews) all
> require a review request ID instead of allowing me to do a search based on
> username and time period. Is there an API that would help me here?
>
> Thanks,
> Adam
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/d95123a1-2a6c-4174-9886-2287077dadc9n%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/d95123a1-2a6c-4174-9886-2287077dadc9n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAFS3VNU-44HmP%3Dx%2BfTd0o9e24DDe2aVFfeAJYVOndUeFGZtBMA%40mail.gmail.com.

Reply via email to