Skip to content

Define the machine connection API in one wire file - #838

Merged
SaladDay merged 2 commits into
mainfrom
one-machine-api-wire-file
Oct 23, 2026
Merged

SaladDay merged 2 commits into
mainfrom
one-machine-api-wire-file

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Moves every /api/v1 request and response body into internal/machineapi/machineapi.go, used by Core handlers, the daemon and the sandbox node. Removes the /v1 NativeInstallationContext and grant constant, the duplicate node enrollment types, the daemon's mirrored structs and the anonymous maps/structs in the bootstrap, enrollment and connection handlers. runtime.openapi.yaml regenerated; machine-api.md (en/zh) and the AGENTS.md table row updated.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@SaladDay
SaladDay force-pushed the one-machine-api-wire-file branch 3 times, most recently from a8dc248 to bc35d80 Compare October 23, 2026 19:28
@SaladDay
SaladDay merged commit 864746d into main Oct 23, 2026
25 checks passed
@SaladDay
SaladDay deleted the one-machine-api-wire-file branch October 23, 2026 19:38
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.

1 participant