You can use the review request list resource to get both of these:

https://www.reviewboard.org/docs/manual/2.0/webapi/2.0/resources/review-request-list/

For the first, you'd use /api/review-requests/?commit-id=hash
For the second, /api/review-requests/from-user=username

-David

On Wed, Dec 3, 2014 at 2:49 PM, <jameslam91...@gmail.com> wrote:

> Hi RB users,
>
> Is there an effective way of using the API to retrieve the review request
> ID with only knowledge of the commit hash?
>
> If not, is there a way to retrieve all review requests made by a certain
> user?
>
> It does not seem to be made available in
>
> https://www.reviewboard.org/docs/manual/dev/webapi/2.0/resources/user/
>
> This is with RB 2.0.11 using Git.
>
> Thanks!
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to