Request for API (Variable for random number)

Want something added? Ask for it here.
Post Reply
User avatar
pieteckhart
Release Testers
Release Testers
Posts: 131
Joined: April 30th, 2008, 9:34 am
Location: Netherlands
Contact:

Request for API (Variable for random number)

Post 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
SABnzbd+ Windows 7 Gadget
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Request for API (Variable for random number)

Post by switch »

Use &dummy

EDIT: I think this was only added for 0.4 just so you know.
User avatar
pieteckhart
Release Testers
Release Testers
Posts: 131
Joined: April 30th, 2008, 9:34 am
Location: Netherlands
Contact:

Re: Request for API (Variable for random number)

Post 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!
SABnzbd+ Windows 7 Gadget
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
Post Reply