Skip to main content

Module http

Module http 

Source
Expand description

HTTP route modules.

This module provides the HTTP introspection surface for the ActionQueue daemon. Routes are organized by functionality:

  • health - Liveness endpoint (GET /healthz)
  • ready - Readiness endpoint (GET /ready)
  • stats - Aggregate statistics endpoint (GET /api/v1/stats)
  • tasks_list - Task listing endpoint (GET /api/v1/tasks)
  • task_get - Single task endpoint (GET /api/v1/tasks/:task_id)
  • runs_list - Run listing endpoint (GET /api/v1/runs)
  • run_get - Single run endpoint (GET /api/v1/runs/:run_id)
  • control - Feature-gated control endpoints (cancel + pause/resume)

Modules§

control
Feature-gated control route registration.
health
Health check route module.
metrics
Metrics route module.
pagination
Shared pagination types and parsing for list endpoints.
ready
Ready route module.
run_get
Single run retrieval route module.
runs_list
Runs list route module.
stats
Stats route module.
task_get
Single task retrieval route module.
tasks_list
Tasks list route module.

Structs§

RouterObservability
Observability dependencies grouped for router state construction.
RouterStateInner
Router state shared across all HTTP handlers.

Functions§

build_router
Builds the HTTP router with all registered routes.

Type Aliases§

ControlMutationAuthority
Shared control mutation authority type used by control handlers.
RouterState
Shared router state type (Arc-wrapped inner struct for Clone compatibility).