Re: RBTools 5.x API: Can it be used to modify database?
Ah, a light bulb just went on. I was missing the link between the new RBTools API and the web resources. After reading your message I went back and read more carefully the section titled Links Between Resources. Things are starting to make more sense to me now. Thanks! --Steve On Monday, September 23, 2013 3:31:02 PM UTC-7, David Trowbridge wrote: 1. Yes. You can remove a user from a group by issuing a DELETE operation on the review group user resource. See http://www.reviewboard.org/docs/manual/1.7/webapi/2.0/resources/review-group-user/for more details. 2. The online docs are generated by introspecting the code, and they are complete. -David On Mon, Sep 23, 2013 at 11:36 AM, Steve seide...@gmail.com javascript:wrote: I've written a script using the RBTools 5.x API which lists RB groups containing users who have left the company. I have 2 questions: 1. Can the API be used to actually remove the users from the groups? 2. What's the best source of complete documentation on all the classes/methods available via the API? The online docs don't appear to be complete, but I may be missing something. Thanks Steve -- 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...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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/groups/opt_out.
RBTools 5.x API: Can it be used to modify database?
I've written a script using the RBTools 5.x API which lists RB groups containing users who have left the company. I have 2 questions: 1. Can the API be used to actually remove the users from the groups? 2. What's the best source of complete documentation on all the classes/methods available via the API? The online docs don't appear to be complete, but I may be missing something. Thanks Steve -- 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/groups/opt_out.
Re: RBTools 5.x API: Can it be used to modify database?
1. Yes. You can remove a user from a group by issuing a DELETE operation on the review group user resource. See http://www.reviewboard.org/docs/manual/1.7/webapi/2.0/resources/review-group-user/for more details. 2. The online docs are generated by introspecting the code, and they are complete. -David On Mon, Sep 23, 2013 at 11:36 AM, Steve seide.al...@gmail.com wrote: I've written a script using the RBTools 5.x API which lists RB groups containing users who have left the company. I have 2 questions: 1. Can the API be used to actually remove the users from the groups? 2. What's the best source of complete documentation on all the classes/methods available via the API? The online docs don't appear to be complete, but I may be missing something. Thanks Steve -- 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/groups/opt_out. -- 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/groups/opt_out.