ulrith: (Default)
ulrith ([personal profile] ulrith) wrote in [site community profile] dw_dev2022-03-26 12:00 pm

Dreamwidth API docs?

Hi!

I've checked this page for Dreamwidth API docs:
https://wiki.dreamwidth.net/wiki/index.php/Dreamwidth_API

It contains a broken link to Livejournal site only.
It seems Livejournal has removed API docs from their site.
However, I've found it in the Internet Archive:
https://web.archive.org/web/20161227131504/http://www.livejournal.com/doc/server/ljp.csp.protocol.html

Maybe we can have nice API docs here on www.dreamwidth.org folks?
Do you have them somewhere on the server?
alierak: (Default)

[personal profile] alierak 2022-03-26 01:58 pm (UTC)(link)
I found LJ's current API docs here. DW's XMLRPC API isn't exactly like LJ's but hopefully that helps. In any case the best documentation would probably be the source code.

I don't think anyone's really interested in maintaining the XMLRPC API or updating the documentation because it's being abandoned in place. But if you want to do it, let me know if you need help getting logged into the wiki.

The API under active development is the REST API which I think is supposed to document itself here. I don't believe it has enough features in production to be useful yet though.
alierak: (Default)

[personal profile] alierak 2022-03-26 02:00 pm (UTC)(link)
Source code for DW's XMLRPC API.
brooksmoses: (Default)

[personal profile] brooksmoses 2022-03-26 09:29 pm (UTC)(link)
So this is the standard "we have two kinds of systems: deprecated and not ready yet" situation?
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2022-03-26 11:48 pm (UTC)(link)
More like "this one still works but it has always sucked and we're not finished doing the replacement", but yeah. [personal profile] momijizukamori is actively working on the replacement, though!