Where is JSON API docs?

Suggestions and discussion of future versions
Bunta
New User
New User
Posts: 6
Joined: Fri Mar 09, 2012 6:33 am
OS or Distro: Win7

Where is JSON API docs?

Postby Bunta » Sun May 14, 2017 8:03 am

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

MutatedHero
Member
Member
Posts: 17
Joined: Wed Mar 08, 2017 5:08 pm
OS or Distro: Windows

Re: Where is JSON API docs?

Postby MutatedHero » Mon May 15, 2017 4:56 pm


Bunta
New User
New User
Posts: 6
Joined: Fri Mar 09, 2012 6:33 am
OS or Distro: Win7

Re: Where is JSON API docs?

Postby Bunta » Tue May 16, 2017 2:26 am

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?

Cas
Top Bloke
Top Bloke
Posts: 3426
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Where is JSON API docs?

Postby Cas » Tue May 16, 2017 10:00 am

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.

viewtopic.php?f=7&t=54470


Return to “Development”

Who is online

Users browsing this forum: No registered users and 2 guests