Fs Cat
Return the rendered body of a KFS file.
For .md files this returns YAML-frontmatter markdown. For
messages.jsonl it returns one JSON object per line. Fragment
selectors (:page/N, :section/<name>, etc.) are documented in
the design doc but land in Phase 2; passing one returns
ENOTSUP for now.
Query Parameters
path*Path
KFS file path
line?|
One-based line to start reading from
lines?|
Number of lines to return
fragment?|
Fragment selector (page|section|sheet|slide|chunk) — Phase 2
raw?Raw
For .source.* files: return original bytes (501 in Phase 1)
Default
falseResponse Body
application/json
application/json
curl -X GET "https://example.com/fs/cat?path=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}