Page 1 of 1

Sab API: Add NZB by URL - but can I give it a name?

Posted: April 7th, 2010, 3:06 pm
by sam1am
Hey I'm having trouble with the API - I can pass an NZB by URL, but sabnzbd does not return an ID that I can then use to rename the queue item. 

I was wondering if there was a way to bypass the problem altogether and just pass a name at the same time as adding the NZB.  The API doesn't mention this capability specifically, but it's a little unclear in the documentation.

Help?

Re: Sab API: Add NZB by URL - but can I give it a name?

Posted: April 8th, 2010, 1:58 am
by shypike
Yeah, documentation is always a pain. Developers don't like to create it.
Just add &nzbname=jobname to the URL.

Re: Sab API: Add NZB by URL - but can I give it a name?

Posted: April 8th, 2010, 11:29 am
by sam1am
Thanks!  The documentation got me pretty far  :P