/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
pathother than the root itself is a 403. All listing logic lives in src/dir-browser.mjs (+ ./dirBrowse.mjs adapter).
- "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
Source: ui/server/src/index.mjs.