API delete all does not work

This is the place to help test and discuss Version 6 Beta releases.

API delete all does not work

Postby Biship » Tue Aug 14, 2018 1:19 pm

The history call shows files I know downloaded weeks ago.
http://htpc:8999/api?apikey=<apikey>&mode=history
Per: https://sabnzbd.org/wiki/advanced/api#delete_history
I can clear them manually, by ID:
http://htpc:8999/api?apikey=<apikey>&mode=history&name=delete&value=3122
However the all param does not work:
http://htpc:8999/api?apikey=<apikey>&mode=history&name=delete&value=all
(deletes nothing)

Can you please fix?
Biship
Active Participant
Active Participant
 
Posts: 67
Joined: Sun Jul 27, 2003 10:14 am

Registered Newsbin User since: 04/01/03

Re: API delete all does not work

Postby Quade » Wed Aug 15, 2018 12:36 pm

I can look into it. Should be easy to implement.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43250
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: API delete all does not work

Postby Biship » Wed Aug 15, 2018 2:35 pm

Your the best developer on this web site.
Thank you.
Biship
Active Participant
Active Participant
 
Posts: 67
Joined: Sun Jul 27, 2003 10:14 am

Registered Newsbin User since: 04/01/03

Re: API delete all does not work

Postby Biship » Tue Aug 28, 2018 7:10 am

Doesn't work in 5079. A chance you can get it into the next beta?
Biship
Active Participant
Active Participant
 
Posts: 67
Joined: Sun Jul 27, 2003 10:14 am

Registered Newsbin User since: 04/01/03

Re: API delete all does not work

Postby Quade » Tue Aug 28, 2018 10:23 am

It was too late to put it into 6.81.

It's on my todo list. Basically every time I make even small changes this late in the game, it typically screws something up. 6.81 seems to be stable and reliable so, I didn't want to chance fucking it up.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43250
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: No registered users and 9 guests

cron