I’m making a client for Lemmy but am planning to make the calls myself rather than use a library, is there any good documentation of the HTTP API that I can use as a reference?
You must log in or register to comment.
You can find the routes here: https://github.com/LemmyNet/lemmy/blob/main/src/api_routes_http.rs
And the forms are documented here: https://join-lemmy.org/api/
They are planning to switch from WS to HTTP soon (backend is already switch over I think). Either way I don’t think there’s a documentation of the API itself yet, but you can just reverse engineer the calls from the calls from JS library or look at the backend code directly.