X Tutup
Skip to content

fix: register task pause/resume routes under /api/v2 (#22544)#22550

Merged
david-fraley merged 1 commit intorelease/2.31from
release/2.31_pauseresumev2
Mar 3, 2026
Merged

fix: register task pause/resume routes under /api/v2 (#22544)#22550
david-fraley merged 1 commit intorelease/2.31from
release/2.31_pauseresumev2

Conversation

@EhabY
Copy link
Contributor

@EhabY EhabY commented Mar 3, 2026

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 9d2aed8)

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 9d2aed8)
@EhabY EhabY self-assigned this Mar 3, 2026
@EhabY EhabY added the cherry-pick/v2.31 Needs to be cherry-picked to the 2.31 release branch label Mar 3, 2026
@david-fraley david-fraley merged commit 22c2da5 into release/2.31 Mar 3, 2026
54 of 56 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cherry-pick/v2.31 Needs to be cherry-picked to the 2.31 release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup