/api/lint-buffer
1 route under /api/lint-buffer.
Cockpit server REST reference, next.
All routes sit below the Cockpit server's session gate (app.use('/api', auth.requireSession)) except /api/health. Generated from the real route table in ui/server/src.
POST /api/lint-buffer#
the editor's live-typing diagnostics -- buffer-scope rules only, against an unsaved buffer's content, debounced client-side (see lint-buffer.mjs's header).
| Parameter | In | Type |
|---|---|---|
file |
body | — |
source |
body | — |
Source: ui/server/src/index.mjs.