Thank you! That worked. However when I then tried the following in python,
it returned just the first 25 users only, not 200.
from rbtools.api.client import RBClient
client = RBClient('http://<my_reviewboard_instance>',
root = client.get_root()
users = root.get_users("max-results==200")
Another strange thing that happened is if I then changed the
username/password to that of a different user, the above code fragment did
not work. It complained that the username or password was not correct. I
double checked and know for fact that I did entered the correct username
Please advise. Thank you.
On Tuesday, July 14, 2015 at 12:27:16 PM UTC-7, Christian Hammond wrote:
> Looks like our help output may be wrong. Try it without the extra '--'.
> I'll make sure this is fixed for the next release.
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
> On Tue, Jul 14, 2015 at 12:03 PM, dang.tab <dang...@gmail.com
>> I am running into the following with trying to extract a list of users:-
>> D:\ws\dev>rbt api-get -d http://<my_reviewboard_instance>/api/users/ --
>> --start=201 --max-results=200
>> >>> RBTools 0.7.4
>> >>> Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit
>> >>> Running on Windows-7-6.1.7601-SP1
>> >>> Home = C:\Users\<redacted>\AppData\Roaming
>> >>> Current directory = D:\ws\dev
>> usage: rbt api-get [options] <path> [-- [--<query-arg>=<value> ...]]
>> Retrieve raw API resource payloads.
>> rbt: error: Unexpected query argument --
>> I believe I have entered the correct query syntax, but it is complaining
>> about "unexpected query argument --". What do I need to do to get this to
>> Thank you.
>> Supercharge your Review Board with Power Pack:
>> Want us to host Review Board for you? Check out RBCommons:
>> Happy user? Let us know! https://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
>> For more options, visit https://groups.google.com/d/optout.
Supercharge your Review Board with Power Pack:
Want us to host Review Board for you? Check out RBCommons:
Happy user? Let us know! https://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.