Re: Unable to do HTTP Post to Diff List resource, {"fields": {"path": ["This field is required"]}, "stat": "fail", "err": {"msg": "One or more fields had errors", "code": 105}}

2010-12-10 Thread Christian Hammond
Hi, "path" is the name of the file, not the path on the repository. The repository path will come from the parent review request. You should be encoding the file name and content together as "path". Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VM

Unable to do HTTP Post to Diff List resource, {"fields": {"path": ["This field is required"]}, "stat": "fail", "err": {"msg": "One or more fields had errors", "code": 105}}

2010-12-10 Thread Dlite
I am using Java and HttpClient to interface with the reviewboard web API.I have created a new review request draft using HTTP Post, but I am stuck with the diff part. >From what I read (http://www.reviewboard.org/docs/manual/1.5/webapi/ 2.0/resources/diff-list/), to create a new diff, I need to d