Hi there,
I can't find any documentations with the full list of available parameters for the method web.update_ui.
Is there any full documentation somewhere?
Thanks a lot!
web update ui method documentation
-
- Leecher
- Posts: 56
- Joined: Sun Oct 04, 2015 6:11 pm
Re: web update ui method documentation
The source code is where the docs are generated from so can always view that. Webui specific methods are in deluge/ui/web/json_api.py
-
- Leecher
- Posts: 56
- Joined: Sun Oct 04, 2015 6:11 pm
Re: web update ui method documentation
Thanks but I can't find any list of all attributs of the torrent object.
Can you provide me the list?
label, hash, ...
Thanks
Can you provide me the list?
label, hash, ...
Thanks
Re: web update ui method documentation
TorrentOptions class in deluge/core/torrent.py
You can also look at the options attribute for an existing torrent object.
You can also look at the options attribute for an existing torrent object.
-
- Leecher
- Posts: 56
- Joined: Sun Oct 04, 2015 6:11 pm
Re: web update ui method documentation
I'm looking for a way to update core settings but something seems wrong and I can't find docs...
'{"method": "core.set_config", "params": [["max_upload_speed": 9000, {}], "id": 1}'
Thanks for helping
'{"method": "core.set_config", "params": [["max_upload_speed": 9000, {}], "id": 1}'
Thanks for helping
Re: web update ui method documentation
params is not corrects. The config is a dict, the same format as the result from core.get_config.
-
- Leecher
- Posts: 56
- Joined: Sun Oct 04, 2015 6:11 pm
Re: web update ui method documentation
Do you have an example please?
Re: web update ui method documentation
This should be all you need to change it to:
Code: Select all
{"method": "core.set_config", "params": [{"max_upload_speed": 9000,}], "id": 1}