[PR #12431] [MERGED] feat: Allow making content optional when listing all files #38541

Closed
opened 2026-04-25 11:31:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/12431
Author: @gaby
Created: 4/4/2025
Status: Merged
Merged: 4/6/2025
Merged by: @tjbck

Base: devHead: fix-12237


📝 Commits (7)

  • 6d5cb6b Add query param to remove content from GET /api/v1/files
  • 138e985 Rename field to include_content
  • da94835 Merge pull request #12373 from open-webui/dev
  • 41aca84 Merge pull request #12491 from open-webui/dev
  • eda3eba Merge branch 'open-webui:main' into fix-12237
  • ff1d454 Fix formatting
  • 9445383 Update index.ts

📊 Changes

1 file changed (+7 additions, -1 deletions)

View changed files

📝 backend/open_webui/routers/files.py (+7 -1)

📄 Description

Description

  • Added Query param to allow the user to disable retrieving the content of files when making a GET call to /api/v1/files.

Fixes #12237, #12246

Added

  • Query param to GET /api/v1/files/

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/12431 **Author:** [@gaby](https://github.com/gaby) **Created:** 4/4/2025 **Status:** ✅ Merged **Merged:** 4/6/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `fix-12237` --- ### 📝 Commits (7) - [`6d5cb6b`](https://github.com/open-webui/open-webui/commit/6d5cb6b04ee188e644fc71a5e3fcbdc90dcf181a) Add query param to remove content from GET /api/v1/files - [`138e985`](https://github.com/open-webui/open-webui/commit/138e985d6631a52b19b983c3a8f597549cde9471) Rename field to include_content - [`da94835`](https://github.com/open-webui/open-webui/commit/da948351658602fb7870b3e8573ad2b6f1ace09e) Merge pull request #12373 from open-webui/dev - [`41aca84`](https://github.com/open-webui/open-webui/commit/41aca849136202c010f40ac74347cae4b944c932) Merge pull request #12491 from open-webui/dev - [`eda3eba`](https://github.com/open-webui/open-webui/commit/eda3eba084b572075aa9226d3bc3943b76e8ad5c) Merge branch 'open-webui:main' into fix-12237 - [`ff1d454`](https://github.com/open-webui/open-webui/commit/ff1d454bddaf6ea33f8d6e51c47a73cdd7bc553e) Fix formatting - [`9445383`](https://github.com/open-webui/open-webui/commit/94453839bab0d4d39e807da4283717411715d0f2) Update index.ts ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/files.py` (+7 -1) </details> ### 📄 Description ### Description - Added Query param to allow the user to disable retrieving the content of files when making a GET call to `/api/v1/files`. Fixes #12237, #12246 ### Added - Query param to `GET /api/v1/files/` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 11:31:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#38541