I don't have any sample code to show you. It's just an HTTP GET at the URL,
though. You can browse the tree at /api/.

post-review may be useful for some bits of that.

Christian

-- 
Christian Hammond - [email protected]
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Sep 26, 2011 at 11:30 AM, jack jack <[email protected]> wrote:

> Thanks Christian,
>
> Could you please point me with sample code for the usage of these new
> webapi.
>
> On Mon, Sep 26, 2011 at 9:53 PM, Christian Hammond <[email protected]>wrote:
>
>> Hi Jack,
>>
>> No, that old API was removed. This will work, though:
>>
>>
>> http://www.reviewboard.org/docs/manual/1.5/webapi/2.0/resources/review-request-list/
>>
>> Basically, you can pass ?changenum= to get a list with that changenum (and
>> you can also narrow down by repository and other criteria).
>>
>> Christian
>>
>> --
>> Christian Hammond - [email protected]
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Mon, Sep 26, 2011 at 4:16 AM, jack jack <[email protected]> wrote:
>>
>>> I am writing a wrapper to get the review-request by changenum.
>>>
>>> I wanted to know, does this json api call is still valid for RB server
>>> 1.6.
>>>
>>>
>>> http://www.reviewboard.org/docs/manual/1.5/webapi/1.0/reference/apicalls/get-review-request-by-changenum/
>>>
>>> if not then please point me to the version where i can get the similar
>>> operation.
>>>
>>> Thanks in advance.
>>>
>>> --
>>>
>>> Want to help the Review Board project? Donate today at
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~----------~----~----~----~------~----~------~--~---
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/reviewboard?hl=en
>>>
>>
>>  --
>> Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~----------~----~----~----~------~----~------~--~---
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en
>>
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to