Line

You are reading the unreleased docs (next). See latest (v0.9)

/api/notes

6 routes under /api/notes.

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.

GET /api/notes#

Source: ui/server/src/notesApi.mjs.

POST /api/notes#

Source: ui/server/src/notesApi.mjs.

DELETE /api/notes/:id#

Parameter In Type
id path —

Source: ui/server/src/notesApi.mjs.

GET /api/notes/:id#

Parameter In Type
id path —

Source: ui/server/src/notesApi.mjs.

PUT /api/notes/:id#

Parameter In Type
id path —

Source: ui/server/src/notesApi.mjs.

POST /api/notes/:id/duplicate#

Parameter In Type
id path —

Source: ui/server/src/notesApi.mjs.