From 0d00c56b4421e108b4dec584f8f430f4981120b8 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 16 Jun 2025 15:08:38 +0200 Subject: [PATCH] Document mkdir --- tty-fwd/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tty-fwd/README.md b/tty-fwd/README.md index a4cd95f6..4b389301 100644 --- a/tty-fwd/README.md +++ b/tty-fwd/README.md @@ -105,6 +105,10 @@ When running with `--serve`, the following REST API endpoints are available: - **GET /api/sessions/{session-id}/snapshot** - Current session output snapshot - **POST /api/sessions/{session-id}/input** - Send input to session (body: `{"text": "input"}`) +### File System Operations + +- **POST /api/mkdir** - Create directory (body: `{"path": "/path/to/directory"}`) + ### Static Files - **GET /** - Serves static files from `--static-path` directory