From 376b37fed77c46e750250bc381df24fefa117223 Mon Sep 17 00:00:00 2001 From: lexis Date: Tue, 26 May 2026 16:03:28 +0200 Subject: [PATCH] docs: add POST /api/rebuild-queue/{id}/cancel endpoint (follow-up to #469) --- docs/web-ui.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/web-ui.md b/docs/web-ui.md index 3eda41eb..cb52dcf1 100644 --- a/docs/web-ui.md +++ b/docs/web-ui.md @@ -447,6 +447,11 @@ not ours. the sentinel `[cancelled]`. Same code path as a real answer. - `POST /request-spawn` — queue a Spawn approval. - `POST /update-all` — rebuild every stale container. +- `POST /api/rebuild-queue/{id}/cancel` — drop a `Queued` entry + (#447). Refuses `Running` / terminal-state entries (in-flight + rebuilds can't be safely interrupted). Always 200; body is + `{"cancelled": true}` on a successful flip or + `{"cancelled": false}` when the entry was not in `Queued` state. - `POST /op-send` (`to=`, `body=`) — drop an operator-authored message into ``'s inbox. `to=*` fans out to every registered agent. Returns 200; the broker