Skip to main content

api_job

Function api_job 

Source
pub fn api_job(
    _caller: Actor,
    uuid: &str,
    pool: &State<DbPool>,
) -> Result<Json<JobDto>, Status>
Expand description

Polls a job by its uuid (the agent twin of the progress page). Token-gated (Actor): jobs carry admin attribution (actor) + operational params, so — like the human /jobs/<uuid> (require_admin) and /api/audit — they are not public (X-10’s sibling read-twin gap).