From fe034a78fe9fdc9fbac0ee75db465664045e8534 Mon Sep 17 00:00:00 2001 From: DrMelone <27028174+Classic298@users.noreply.github.com> Date: Sun, 1 Mar 2026 18:20:31 +0100 Subject: [PATCH] Update index.md --- .../extensibility/open-terminal/index.md | 31 +------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/docs/features/extensibility/open-terminal/index.md b/docs/features/extensibility/open-terminal/index.md index 35c7b419..7618b57a 100644 --- a/docs/features/extensibility/open-terminal/index.md +++ b/docs/features/extensibility/open-terminal/index.md @@ -7,7 +7,7 @@ title: "Open Terminal" :::info -This page is up-to-date with Open Terminal release version [v0.3.0](https://github.com/open-webui/open-terminal). +This page is up-to-date with Open Terminal release version [v0.4.0](https://github.com/open-webui/open-terminal). ::: @@ -813,37 +813,8 @@ curl -X POST "http://localhost:8000/files/upload?directory=/home/user" \ -F "file=@local_file.csv" ``` -**Via temporary upload link (no auth needed to upload):** -```bash -# 1. Generate an upload link -curl -X POST "http://localhost:8000/files/upload/link?directory=/home/user" \ - -H "Authorization: Bearer " -# → {"url": "http://localhost:8000/files/upload/a1b2c3d4..."} - -# 2. Upload to the link (no auth required) -curl -X POST "http://localhost:8000/files/upload/a1b2c3d4..." \ - -F "file=@local_file.csv" -``` - -Opening a temporary upload link in a browser shows a simple file picker form — useful for manual uploads without curl. - The filename is automatically derived from the uploaded file or the URL. -#### Download a File - -**`GET /files/download/link`** - -Returns a temporary download URL for a file. The link expires after 5 minutes and requires no authentication to use. - -```bash -curl "http://localhost:8000/files/download/link?path=/home/user/output.csv" \ - -H "Authorization: Bearer " -``` - -```json -{"url": "http://localhost:8000/files/download/a1b2c3d4..."} -``` - ### Process Status (Background) **`GET /processes/{process_id}/status`**