I can only find the documentation for the NPM packages, which i do not want to use. Is there any other documentation on just the HTTP API?
We do have full api docs, they’re here. https://join-lemmy.org/api/
They fully describe the endpoints and types.
Am i not allowed to use the lemmy api without JavaScript anymore? I just want something like how mastodon does it with a list of endpoints and how they work
Edit: I did not see it, whoops
The lemmy-js-client docs have the HTTP Enpoints somewhere in there and if you click on “form” for a specific endpoint, it shows you the parameters.
Bigger problem is that nothing has any description, but all in all the docs are quite bad, even if complete.
I can tell you that the api itself can be found at instance.com/api/v3/, and that you can for example get recent posts with instance.com/api/v3/post/list, and you can replace post with community or comment to get the same, but I learned that much from error messages messing with lemmy-js-client. unfortunately i don’t think the raw http api is posted anywhere
A lack of documentation like that is a serious bug
I found some documentation on https://web.archive.org/web/20230314235728/https://join-lemmy.org/docs/en/client_development/http_api_extras.html
oh awesome!
Don’t use that, its outdated.