Line

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

/api/fs

1 route under /api/fs.

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/fs/browse#

    • "My projects" list for the project picker. The ONLY root is the signed-in user's workspace (never $HOME, never a client-set list) and only that ONE level is listed, directories only, each flagged with whether it holds architecture.yml; any path other than the root itself is a 403. All listing logic lives in src/dir-browser.mjs (+ ./dirBrowse.mjs adapter).

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