Title here
Summary here
The Moonlight API uses one versioned URL, but Pionia still speaks real HTTP — status codes, headers, and middleware chains matter for production apps like DeskFlow.
| Topic | Page |
|---|---|
| Envelopes & status codes | Requests & responses |
| Working with JSON payloads | Collections |
| Global request pipeline | Middleware |
| Errors & validation | Exceptions |
| Static routes & SPA fallback | HTTP routing |
When Alex creates a task without a title, DeskFlow returns HTTP 422 with returnCode in the JSON body — see Validation and Exceptions.
Add RequestIdMiddleware so support tickets reference a single request ID — covered in Middleware.
Services that produce these responses.
Auth runs after middleware.
mustAuthenticate() on services.POST /api/v1/ with a JSON body, not /api/v1/task/list.