this post was submitted on 08 Jul 2023
1 points (100.0% liked)

Lemmy Support

4651 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

I've been looking at the rest client built into Jerboa, to see if I could maybe contribute to making error handling a bit better.

The Lemmy API docs don't seem to list the error codes/error bodies that can be returned by the API. Are these documented somewhere else? Or do I need to start reading the Rust code of the server itself?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

The devs have said the API is poorly documented because they want first to stabilize the features, so the api can change at any time right now.
The current documentation and library is being auto generated from the server code.