pub async fn get_power_transition(
ctx: RequestCtx,
__arg1: Path<String>,
) -> Result<impl IntoResponse, (StatusCode, Json<ErrorResponse>)>Expand description
GET /api/v1/power/transitions/{id} — fetch the current snapshot
of a PCS power transition (status, task counts, per-task detail).
Called by the CLI’s poll loop after POST /power returns the id.