Get content
Get file content or directory listing at a path. Use Accept: application/json for the JSON union response, or Accept: application/octet-stream for raw file bytes. Directory + octet-stream requests return 406 Not Acceptable.
File, symlink, and directory responses include an optional metadata field with the path’s metadata when any is set; the field is omitted otherwise. Values are plain UTF-8 strings. Directory listings additionally surface per-entry metadata inline on each row in entries[] (also UTF-8 strings, omitted when empty). Reads at a historical change_id return today’s metadata for the resolved path, not the values as of that change (metadata is stored separately from Git history).
Directory listings can be filtered by metadata predicates: ?metadata[key]=value, repeatable. Multiple keys are AND-ed (exact-value match). Entries without metadata (or with mismatched values) are dropped from entries[]. The filter is ignored when the resolved path is a file or symlink.
readAuthorizations
Path Parameters
Query Parameters
Filter directory entries[] to rows whose metadata matches. Pass one param per key as a deepObject: ?metadata[<key>]=<value>, repeatable. Multiple keys are AND-ed (an entry must match every pair to survive; exact-value match). Ignored when the resolved path is a file or symlink. Example: ?metadata[tag]=archived&metadata[lang]=en.
Response
Content response
- Option 1
- Option 2
- Option 3

