Hi Christian, The /r/{review_request_id}/diff/raw works from the web browser. But when I try to access it using the json API I get the following error:
Unable to access http://172.16.98.82/api/json/reviewrequests/95/diff/raw (404). The host path may be invalid And so is the case with /r/{review_request_id}/diff/{diff_revision}/ raw/ -- works in browser but errors in API access. Unable to access http://172.16.98.82/api/json/reviewrequests/95/diff/1/raw (404). The host path may be invalid Is there any other API available that I'm missing. Thanks, Jothiram On Dec 30, 1:33 am, "Christian Hammond" <chip...@chipx86.com> wrote: > Hi, > > You can get the latest diff by accessing /r/{review_request_id}/diff/raw/ > > You can also use /r/{review_request_id}/diff/{diff_revision}/raw/ to get a > specific revision. > > I don't know that we have anything for retrieving the number of revisions > from the API yet, though. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > On Mon, Dec 29, 2008 at 3:21 PM, Jothiram <jothira...@gmail.com> wrote: > > > Hello Everyone, > > > I'm running review board on Linux (with SVN) and wondering whether, > > through any Review Board API, is it possible to get the latest diff > > patch from a review. > > > Also, a review can have more than one diff updated in it. Is it > > possible to find the the number of uploaded diffs and to get each > > specific uploaded diff. > > > Thank you very much. > > Jothiram --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---