Skip to content

fix: add missing response examples across Controller endpoints#673

Merged
BrentIO merged 2 commits into
mainfrom
worktree-agent-a97fcd0e1daa28b5f
Jun 21, 2026
Merged

fix: add missing response examples across Controller endpoints#673
BrentIO merged 2 commits into
mainfrom
worktree-agent-a97fcd0e1daa28b5f

Conversation

@BrentIO

@BrentIO BrentIO commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Multiple Controller endpoints had no complete response examples. Added realistic examples for GET /api/version, GET /api/controllers, GET /api/clients, GET /api/controllers/{uuid}, GET /api/clients/{uuid}, GET /api/cloud-backup, POST /api/cloud-backup 502, POST /api/reboot, and POST /auth.

Also added a description field to the dexieFormat schema noting its opaque Dexie.js export structure, and updated the 204 descriptions for /api/reboot and /auth to be more informative.

Closes #638

Comment thread Controller/openapi.yaml Outdated
Comment thread Controller/openapi.yaml Outdated
Comment thread Controller/openapi.yaml Outdated
BrentIO and others added 2 commits June 21, 2026 14:55
- Replace UUID v1 (6ba7b810-9dad-11d1-...) with valid v4
- Set controller and client OTA URL examples to the canonical
  template URL with $$class$$/$$product_hex$$/$$application$$ substitution variables

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@BrentIO BrentIO force-pushed the worktree-agent-a97fcd0e1daa28b5f branch from 51f712d to 0ab6ca8 Compare June 21, 2026 18:55
@BrentIO BrentIO merged commit 15e3ded into main Jun 21, 2026
2 checks passed
@BrentIO BrentIO deleted the worktree-agent-a97fcd0e1daa28b5f branch June 21, 2026 20:01
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.

Controller spec: multiple endpoints missing response examples

1 participant