Structs§
- Create
Request - JSON body for
POST /.mbr/create/{*path}. - Create
Response - Response for a successful
POST /.mbr/create. - Edit
Request - JSON body for
POST /.mbr/edit/{*path}. - Embedded
Storage - The repository storage an embedding app hands the server.
- Flashcard
Review Request - JSON body for
POST /.mbr/flashcard-review. - Flashcard
Review Response - Response for a successful
POST /.mbr/flashcard-review. - Media
Viewer Query - Query parameters for media viewer routes.
- Mkdir
Response - Response for a successful
POST /.mbr/mkdir. - Move
Request - JSON body for
POST /.mbr/move/{*path}. - Move
Response - Response for a successful
POST /.mbr/move. - Server
- Server
Config - Configuration for initializing a Server instance.
- Server
State - Site
Json Cache - The memoized
/.mbr/site.jsonbody plus a generation counter. - Task
Toggle Request - JSON body for
POST /.mbr/task. - Task
Toggle Response - Response for a successful
POST /.mbr/task. - Upload
Params - Query parameters for
POST /.mbr/upload. - Upload
Response - Response for a successful
POST /.mbr/upload.
Functions§
- validate_
media_ path - Validates a media path from a query parameter.
- validate_
media_ path_ with_ mounts validate_media_path, also accepting a file inside one of the accepted symlink mounts’ targets (mount_targets, canonical — seembr_core::vault::Mount). A path with a hidden segment is refused wherever it would resolve.