Page 1 of 1

Where is JSON API docs?

Posted: Sun May 14, 2017 8:03 am
by Bunta
The JSON API documentation appears to be missing.
When I click the link on the devlopment documentation page I get a 404 error:
http://deluge-torrent.org/docs/master/m ... n_api.html

Re: Where is JSON API docs?

Posted: Mon May 15, 2017 4:56 pm
by MutatedHero

Re: Where is JSON API docs?

Posted: Tue May 16, 2017 2:26 am
by Bunta
No that doesn't appear to be accurate either. It states URL is /json/rpc which doesn't exist and most of the commands are missing.
I've found the web ui code in the git source so should be able to go from there.

I'm actually updating my Firefox plugin to work with current Deluge versions but even using Postman to connect direct to the json service I only ever get 500 responses no matter what data I send it.
It appears to me that the json api is not functioning at all and is failing simply because Deluge is broken.

Can anyone confirm?

Re: Where is JSON API docs?

Posted: Tue May 16, 2017 10:00 am
by Cas
Bunta wrote:When I click the link on the devlopment documentation page I get a 404 error:
http://deluge-torrent.org/docs/master/m ... n_api.html
Yeah those docs were lost with the old web server but waybackmachine has them: https://web.archive.org/web/20150423143 ... n_api.html
Bunta wrote:It states URL is /json/rpc which doesn't exist and most of the commands are missing.
I've found the web ui code in the git source so should be able to go from there.
The source code is the best alternative solution :)
Bunta wrote:I only ever get 500 responses no matter what data I send it.
http://forum.deluge-torrent.org/viewtop ... =7&t=54470