Hi Nirmam,

The /api/json API is deprecated and removed in 1.6. The.new
/api/review-requests is the correct one to use.

Please read the API docs on how to close review requests. It's not using the
same paths, and an HTTP GET won't suffice. You'll need to do a PUT.

Christian


On Wednesday, August 31, 2011, Nirmam Sandesara <nirma...@gmail.com> wrote:
> Hi, I am having issues with closing a reviewboard request.
>
> A Simple get call does the trick of /close/submitted/ but when i try
> to use it in my script it complaints about
>
> "deprecated": {"in_version": "1.5"}, "stat": "fail", "err": {"msg":
> "You are not logged in", "code": 103}
>
> So I am really confused about the api/json/reviewrequests vs api/
> review-requests.
>
> When I use the api/review-requests it just does not go anwhere ?
>
> http://reviewboard.local.com/api/review-requests/12345/close/submitted/
>
> Any thoughts on this would be greatly appreciated.
>
> Thanks
> Nirmam
>
> --
> 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
reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en

-- 
-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com

-- 
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 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to