Skip to main content

Module task_get

Module task_get 

Source
Expand description

Single task retrieval route module.

This module provides the single task endpoint (GET /api/v1/tasks/:task_id) for the daemon. The endpoint returns a task’s full specification (including payload and content_type) plus authoritative timestamps. The response is read-only, deterministic, and sourced strictly from the recovery projection.

§Invariant boundaries

The handler performs no IO, reads no mutation authority or WAL, and mutates no runtime state. It only reads from the authoritative projection state.

Structs§

TaskGetResponse
Task get response payload.

Functions§

handle
Task get handler.
register_routes
Registers the task get route in the router builder.