this post was submitted on 08 Jul 2023
0 points (NaN% liked)

Lemmy Support

4645 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?

top 1 comments
sorted by: hot top controversial new old
[–] [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.