mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
22c2da53e9
The pause/resume endpoints were only registered under /api/experimental
but the frontend and Go SDK were calling /api/v2, resulting in 404s.
Register the routes in the v2 group, update the SDK client paths, and
fix swagger annotations (Accept → Produce) since these POST endpoints
have no request body.
(cherry picked from commit 9d2aed88c4)