aion_server/api/http/mod.rs
1//! axum HTTP/JSON workflow facade.
2//!
3//! Module layout:
4//! - [`router`] — public router construction (the only public surface).
5//! - `workflows` — workflow management handlers.
6//! - `schedules` — schedule management handlers.
7//! - `events` — websocket event-subscription handlers.
8//! - `deploy` — operator deploy handlers (mounted only when `[deploy].enabled`).
9//! - `authoring` — server-side Gleam authoring (mounted only when `[authoring].gleam_path` is set).
10//! - `dev_ui` — local dev-server surface (mounted only when `[dev].enabled`).
11//! - `auth` — caller-identity extraction from request headers.
12//! - `visibility` — visibility query-string parsing and namespace scoping.
13//! - `payload` — HTTP body/payload encode-decode shapes and conversions.
14//! - `clean_dtos` — clean JSON request/response DTOs for the workflow POST endpoints.
15//! - `error` — wire-error-to-HTTP response mapping.
16
17mod auth;
18mod authoring;
19mod awl;
20mod clean_dtos;
21mod cluster_command;
22mod deploy;
23mod dev_ui;
24mod error;
25mod events;
26mod intervene;
27mod payload;
28mod router;
29mod schedules;
30mod transcripts;
31mod visibility;
32mod whoami;
33mod workflows;
34
35#[cfg(test)]
36mod test_support;
37
38pub use router::{http_router, workflow_router};