Page 1 of 1

More feedback from API

Posted: February 28th, 2010, 6:33 pm
by dougle
There is currently not enough feedback through the API.

For instance (but no way limited to):
error: expect one parameter
Not clear at all, had to look at the source to figure out what it referred to.
error: file does not exist
would be nice if the requested file path was fed back to the developer in the error.

Re: More feedback from API

Posted: March 1st, 2010, 3:34 am
by shypike
No need to go to the source, there's the Wiki:
http://wiki.sabnzbd.org/api

As for the second one, you know which file you asked for.

Re: More feedback from API

Posted: March 1st, 2010, 8:04 am
by dougle
As most of the api call descriptions are blank, the wiki doesn't tell you what param was expected but not found.

For someone new to this API, it would have been handy to see how sabnzb translated unusual characters in filenames, i would have looked it up in the wiki, but i would go as far as to say what wiki, there is sod all there apart from a bunch of urls!!!??