Lack of lemmy HTTP AI documentation

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?

9 points · 9 comments · view on lemmy.world

9 Comments

dessalines@lemmy.ml · 6 pts · 3y (1 reply)

We do have full api docs, they're here. https://join-lemmy.org/api/

They fully describe the endpoints and types.

KSPAtlas@sopuli.xyz · 1 pts · 3y

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

jstsmthrgk@lemmy.jstsmthrgk.eu · 2 pts · 3y

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.

duskfall@lemmy.world · 1 pts · 1y
[ removed ]
_NetNomad@forum.dxcomplex.com · 1 pts · 3y (4 replies)

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

KSPAtlas@sopuli.xyz · 3 pts · 3y

A lack of documentation like that is a serious bug

KSPAtlas@sopuli.xyz · 1 pts · 3y (2 replies)
_NetNomad@forum.dxcomplex.com · 1 pts · 3y

oh awesome!

dessalines@lemmy.ml · 1 pts · 3y

Don't use that, its outdated.