hosts

Function hosts 

Source
pub(in server) async fn hosts(
    __arg0: State<Arc<AppState>>,
    __arg1: Path<String>,
) -> Result<Json<RolloutHosts>, StatusCode>
Expand description

GET /v1/rollouts/{rolloutId}/hosts — per-host summary for a rollout.

Projects host_rollout_records into one entry per (rollout, host) pair: state, target/current closure, dispatch + terminal timestamps. Operator-facing read: “what state is each host in?” The CLI’s nixfleet rollout hosts <id> renders this as a table.

For the chronological event-log stream (engineer-facing replay surface; RFC-0005 §10.5), see events / GET /v1/rollouts/{id}/events.