Re: API does not return email, first_name, last_name fields for some users

2011-09-03 Thread Hongbin Lu
Hi Robert. The document is already there. Please check http://www.reviewboard.org/docs/manual/dev/webapi/2.0/resources/user/ under Description. Hongbin On Sat, Sep 3, 2011 at 12:44 AM, Robert Munteanu robert.munte...@gmail.comwrote: Hi Christian, I understand the reason behind this and I

Re: API does not return email, first_name, last_name fields for some users

2011-09-03 Thread Robert Munteanu
Hi, That was silly of me. I only looked at the field descriptions. Thanks! Robert On Sat, Sep 3, 2011 at 11:50 PM, Hongbin Lu hongbin...@gmail.com wrote: Hi Robert. The document is already there. Please check http://www.reviewboard.org/docs/manual/dev/webapi/2.0/resources/user/ under

API does not return email, first_name, last_name fields for some users

2011-09-02 Thread Robert Munteanu
Hi, I am not sure whether this is a bug or not, but here goes: The API does not return the {first_name, last_name, email} fields for some users ( 3 out of 8135 on reviews.review-board.org ) . I assume that this is some sort of privacy setting, but I think it would be best for the fields to be

Re: API does not return email, first_name, last_name fields for some users

2011-09-02 Thread Hongbin Lu
Hi Robert. I believe this is the private profile feature which was added in 1.6 RC1. http://code.google.com/p/reviewboard/issues/detail?id=2127 In general, user profiles are private by default so that email, first_name and last_name won't show up. Maybe you can upgrade your account to site admin

Re: API does not return email, first_name, last_name fields for some users

2011-09-02 Thread Robert Munteanu
Thanks for the reply, I now understand the root cause. As for my point, it was that the actual JSON and XML field declarations should still appear, i.e. instead of something like user id1/id usernamebla/username /user there should be user id1/id usernamebla/username email/ /user This