Skip to content

action-gateway: add Tools.ListVersions - #1235

Merged
bbatha merged 1 commit into
mainfrom
action-gateway-tool-versions
Nov 18, 2026
Merged

bbatha merged 1 commit into
mainfrom
action-gateway-tool-versions

Conversation

@bbatha

@bbatha bbatha commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What

Adds ActionGateway.Tools.ListVersions(ctx, slug, *ActionGatewayCursorOptions) for GET /v2/action-gateway/tools/{tool_slug}/versions. It returns a page of a tool's released versions, newest first, each with a changelog against the previous release (Breaking, typed Changes).

Tool results already expose _meta as raw JSON, so _meta.latest_version needs no code change.

Spec: digitalocean/openapi#1335. Hold this PR until the spec PR merges, which waits for the production deploy.

doctl and the Terraform provider are skipped. A changelog read isn't a scripted resource.

Tests

go test -run ActionGateway . and go vet .. The operation table covers the path, query and escaping. A decode test covers the changelog fields.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bbatha
bbatha merged commit b501a09 into main Nov 18, 2026
8 checks passed
@bbatha
bbatha deleted the action-gateway-tool-versions branch November 18, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants