feat(api): expose board automation endpoints

This commit is contained in:
ajnart committed 2026-07-06 02:25:44 +02:00
1 parent 529942e4da
commit 6b2007c647
10 files changed
+279 -40

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# Changes - 2026-07-06
## Expose Board Automation APIs
- **Why**: Board management automation needed broader OpenAPI and MCP coverage, including board settings and global board defaults.
- **What**: Exposed board duplicate, rename, visibility, home-board, mobile-home-board, and partial settings procedures to OpenAPI/MCP; added typed global board settings get/update procedures; bumped OpenAPI schema version to `1.1.0`; regenerated the docs OpenAPI schema; documented board automation use cases.
- **Files**: `packages/api/src/router/board.ts`, `packages/api/src/router/serverSettings.ts`, `packages/api/src/open-api.ts`, `packages/api/src/mcp.ts`, `apps/docs/static/api/open-api-schema.json`, `apps/docs/docs/management/api/index.mdx`
- **Tests**: Added/updated OpenAPI, MCP, and server settings tests. Verified targeted Vitest tests, `@homarr/api` typecheck/lint, and `@homarr/docs` typecheck/lint.
- **Docs**: Updated API management docs and regenerated the static OpenAPI schema.
- **Risks**: Existing lint warnings remain outside the new code paths; full docs build was not run because the local filesystem hit `ENOSPC` during Next/Turbopack dev output generation.