We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Im having a hard time supplying params with something else than leaving it empty, if I supply it with for example only "name" the results are empty.
This is what I get back when I supply params with something: {"result": {"torrents": []}, "error": null, "id": 2}
Leaving params empty gives me the name, hash, save_path and comment.
{"method": "webapi.get_torrents", "params": [], "id": 2} <- works {"method": "webapi.get_torrents", "params": ["name"], "id": 2} <- doesnt work
{"method": "webapi.get_torrents", "params": [], "id": 2}
{"method": "webapi.get_torrents", "params": ["name"], "id": 2}
The text was updated successfully, but these errors were encountered:
In your case you may want to try passing params as a comma-separated string: https://github.com/idlesign/deluge-webapi/blob/master/webapi/webui.py#L39
Sorry, something went wrong.
No branches or pull requests
Im having a hard time supplying params with something else than leaving it empty,
if I supply it with for example only "name" the results are empty.
This is what I get back when I supply params with something:
{"result": {"torrents": []}, "error": null, "id": 2}
Leaving params empty gives me the name, hash, save_path and comment.
{"method": "webapi.get_torrents", "params": [], "id": 2}
<- works{"method": "webapi.get_torrents", "params": ["name"], "id": 2}
<- doesnt workThe text was updated successfully, but these errors were encountered: