I just realized that this request it doesn't work if the last / (slash) is
not present, with the url like
http://reviewboard.kde.org/api/json/reviewrequests/4647/diff/new .
I don't really know if that should have a meaning but it's quite confusing.
Hope that helps.
Aleix
On Fri, Jul 16, 2010 at
Hi Aleix,
Off-hand, I don't know why it'd be problematic, but I'd recommend setting up
a little development server on your box, set DEBUG = True in your
settings_local.py, and testing it there. We should be able to better see
what the error is that way, along with lots of debug information.
We
You can't yet. It's one of the things I'm working on before 1.5.
What you can do though is browse /api/ (I recommend the JSONView FireFox
extension for this), and look at reviewboard/webapi/resources.py.
The new API is pretty browseable. Not everything, but it's getting there.
You can also look
Well I could make it work.
Just for the record, the correct line was this:
curl http://reviewboard.kde.org/api/json/reviewrequests/4647/diff/new/ -u
apol -F basedir=/trunk/KDE/kdeedu/kalgebra -F pa...@cosa | json_reformat
On Thu, Jul 15, 2010 at 11:37 PM, Christian Hammond