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?

Dessalines
link
fedilink
61Y

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

They fully describe the endpoints and types.

KSP Atlas
creator
link
fedilink
1
edit-2
1Y

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

KSP Atlas
creator
link
fedilink
31Y

A lack of documentation like that is a serious bug

A community dedicated to fediverse news and discussion.

Fediverse is a portmanteau of “federation” and “universe”.

Getting started on Fediverse;

  • 0 users online
  • 6 users / day
  • 1 user / week
  • 70 users / month
  • 614 users / 6 months
  • 1 subscriber
  • 964 Posts
  • 13.2K Comments
  • Modlog