is it possible to delete files via api as we can do in ui
What version are you using? latest
Wat OS are you running? ubuntu
Are you using Docker or as a service? yes
Which debrid provider are you using? rd
Which downloader are you using? symlink
Please attach a log file here with the log setting set to debug
not require as pic is attached
Additional Info - i am using Authentication Type as No Authentication
i have a query can we delete torrent via api just like we do from ui. i can query just fine from script for torrent info but i can't delete that using http://ip:6500/api/v2/torrents/delete?hashes=abcabc&deleteFiles=true maybe its for radarr but can you provide another end point for delete like http://ip:6500/api/v2/torrents/deletefromrd?hashes=abcabc&deleteFiles=true so that we can delete from rd.
Use Cases:
- delete duplicate hash torrent which then creates conflict in *arr for importing.
- delete download which has gone stale (without seeders) (without waiting for
Torrent maximum lifetimeas if the download speed is slow we still want to download the file)
If it is not possible to add the api can you provide those feature in ui like Delete download when in error, Torrent maximum lifetime
- Remove duplicate hash ( it could have multiple options like remove - keep oldest/keep newest)
- Delete torrent without seeders ( add time option in which we can input time after that time inactivity duration it didn't find any seeders it will delete the torrent)
You can call the regular api/v2/torrents/delete. This will delete the files based on the setting qBittorrent/*arr Post Download Action.
You can pass a property in the body deleteFiles, if it's set to true it will also delete the files.
You can call the regular
api/v2/torrents/delete. This will delete the files based on the settingqBittorrent/*arrPost Download Action.
yes, but in Post Download Action i cannot use Remove from both client and provider as general rule as would make use of rdtclient pointless (symlink and regular download won't work)
You can pass a property in the body
deleteFiles, if it's set to true it will also delete the files.
yes i am using that it work without issues in normal cases but in case of duplicate hashes or without seeders it won't be able to delete it from provider which i can do it from the ui. Since rd has now limited the download slot the issue has becomes more noticeable. Currently i use dmm or rd website to manually delete those problematic hashes but i want to avoid those if possible (api limits will be shared with rdtclient) and manual intervention.
Can a property be passed in the body deleteFilesfromprovider which can delete it from provider also ? and does these features come under the scope of rdtclient if not i would close the issue