Are the Lemmy API error responses documented anywhere? - eviltoast

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?

  • pe1uca@lemmy.pe1uca.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.