Page 1 of 1

Request for API (Variable for random number)

Posted: May 3rd, 2008, 2:04 pm
by pieteckhart
Hi all,

I am running in some problems with json request beeing cached. i could use a variable where i can dump a random number so every call to the api would get a fresh result.

something like this:

http://myhost/sabnzbd/api?mode.......[b ... 4623473421[/b]

if i try this now i get a response that tells me its not implemented.
can someone add this dummy variable? thanks, it would help me a lot with my Sidebar Gadget.

Piet

Re: Request for API (Variable for random number)

Posted: May 3rd, 2008, 3:18 pm
by switch
Use &dummy

EDIT: I think this was only added for 0.4 just so you know.

Re: Request for API (Variable for random number)

Posted: May 3rd, 2008, 4:40 pm
by pieteckhart
thanks! i just figured out that using the 'name' var in a qstatus call does not hurt anything. i will use this for a while to stay compatible with older versions. but i will gladly use the dummy var if 0.4 goes out of beta.

Thanks!