Hi Christian,

I tried both of them
  http://gitdepot:8088/r/api/review-requests/28/reviews/28/

and

  
http://gitdepot:8088/api/review-requests/28/reviews/28/<http://gitdepot:8088/r/api/review-requests/28/reviews/28/>

I get a 404 with the first one (as served by the ReviewBoard) and with the
second a broken link message on my browser (i was using chrome).

With wget i get 404 with both.

Both the review and the review request are published. And I own that review.

Best regards,
Vivek


On Fri, Mar 18, 2011 at 1:11 PM, Christian Hammond <chip...@chipx86.com>wrote:

> Hi Vivek,
>
> Am I right in assuming that the root of your Review Board install is
> http://gitdepot:8088/r/ ? I ask because /r/ is what usually precedes a
> review request ID, so I want to make sure you're using the right path. The
> API should be at /api/, respective of the root of the Review Board install.
>
> Given that you got the page you did when pasting in a web browser, it
> sounds like it's just a wrong path. That page is a 404, just like what wget
> is returning.
>
> If the path is indeed correct, make sure both the review request and review
> are published.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Thu, Mar 17, 2011 at 11:19 PM, Vivek Subramanian <
> subramanian.vi...@gmail.com> wrote:
>
>> Hi,
>>
>> We are using review board and I am looking to enforce a policy wherein a
>> topic that has not been marked as ship-it may not be pushed to the central
>> git repository. I was trying to use the webAPI and I keep getting a HTTP 404
>> error.
>>
>> I have tried the following:
>> a) through my browser which is logged in to my account on Reviewboard, I
>> try pasting the following link into the address bar
>>
>>
>> http://gitdepot:8088/r/api/review-requests/28/reviews/28/
>>  <http://gitdepot:8088/r/api/review-requests/28/reviews/28/>but I get a
>> page from ReviewBoard that says that this page does not exist and I should
>> try logging in if I really think this topic exists.
>>
>> b) using wget from command line, I ran this:
>>
>> [viveks@localghost scripts]$ wget
>> http://gitdepot:8088/r/api/review-requests/28/reviews/28/
>> --2011-03-18 11:45:36--
>> http://gitdepot:8088/r/api/review-requests/28/reviews/28/
>> Resolving gitdepot... 192.168.55.90
>> Connecting to gitdepot|192.168.55.90|:8088... connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2011-03-18 11:45:36 ERROR 404: Not Found.
>>
>> Am I doing something wrong or missing something out? Please help.
>>
>>  <http://gitdepot:8088/r/api/review-requests/28/reviews/28/>
>>
>> Best regards,
>> Vivek
>>
>> --
>> 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
>
>
>

-- 
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