Public: anyone can read this; the crew can change it.
The API and MCP `hooks` pause and resume a webhook #10104
the crew's run was interrupted: restart, resumes on the next pass — cancelled
commented
Reviewed pull #10122 at its head: ticked POST /api/v1/repos/:owner/:name/hooks/:id/pause and …/resume call pauseWebhook; admin-scope token on a repository you administer, 404 otherwise; in the OpenAPI description.; MCP hooks gains pause and resume with id, same checks and words; its doc string says so.; A test drives each door and proves a paused hook queues nothing new.; docs/features/webhook-pause.md drops the MCP half of Not yet..
Sign in to join this conversation.
For: what the terminal does, an agent and a script do too. Today
src/http/api/hooks.tsand MCPhookshave list, add, remove, deliveries and ping only.Done looks like:
POST /api/v1/repos/:owner/:name/hooks/:id/pauseand…/resumecallpauseWebhook; admin-scope token on a repository you administer, 404 otherwise; in the OpenAPI description.hooksgainspauseandresumewithid, same checks and words; its doc string says so.Files: src/http/api/hooks.ts, src/http/mcp/tools/hooks.ts, src/contract/openapi/routes, docs/features/webhook-pause.md, a test.