open-webui/src/lib/apis
Classic298 b9911c8bc6
refactor: remove unused GET /prompts/command/{command} endpoint (#24782)
The lookup-prompt-by-command endpoint's only frontend wrapper,
getPromptByCommand, is dead: nothing imports or calls it, the path is
referenced nowhere else, and the route handler has no internal caller
(slash-command resolution happens client-side from the loaded prompt
list). Removes the route handler, its section header, and the dead
wrapper.

The shared Prompts.get_prompt_by_command data-layer method is kept: it
is still used by create/update prompt validation (prompts.py:175, 275,
340). PromptAccessResponse and AccessGrants are untouched.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 00:28:07 +04:00
..
analytics chore: format 2026-02-11 16:24:11 -06:00
audio feat: user stt language 2025-05-24 00:36:30 +04:00
auths refactor: remove dead frontend API wrappers with no backend route (#24792) 2026-05-19 20:48:02 +04:00
automations chore: format 2026-04-01 04:36:02 -05:00
calendar refac 2026-04-20 03:35:17 -04:00
channels refac 2026-02-09 13:28:21 -06:00
chats refactor: remove unused DELETE /chats/{id}/tags/all endpoint (#24785) 2026-05-19 21:03:58 +04:00
configs refac 2026-05-09 06:01:02 +09:00
evaluations refactor: remove unused GET /evaluations/feedbacks/all endpoint (#24778) 2026-05-19 20:49:22 +04:00
files refac 2026-05-14 01:43:33 +09:00
folders refactor: remove dead frontend API wrappers with no backend route (#24792) 2026-05-19 20:48:02 +04:00
functions refac: functions 2025-10-07 14:20:07 -05:00
groups refac 2026-05-14 13:12:59 +09:00
images refac 2026-02-16 14:13:49 -06:00
knowledge feat: knowledge directory 2026-05-13 22:37:53 +09:00
memories Changed console logging of errors to use console error logging 2025-05-15 21:35:07 +02:00
models refac 2026-04-24 17:49:22 +09:00
notes chore: format 2026-04-14 17:27:31 -05:00
ollama refactor: remove dead frontend API wrappers with no backend route (#24792) 2026-05-19 20:48:02 +04:00
openai refactor: remove dead frontend API wrappers with no backend route (#24792) 2026-05-19 20:48:02 +04:00
prompts refactor: remove unused GET /prompts/command/{command} endpoint (#24782) 2026-05-20 00:28:07 +04:00
retrieval refac 2025-12-21 18:08:36 +04:00
skills chore: format 2026-02-11 16:24:11 -06:00
streaming chore: format 2024-12-17 13:51:29 -08:00
tasks chore: format 2026-02-11 16:24:11 -06:00
terminal chore: format 2026-04-01 04:36:02 -05:00
tools chore: format 2026-04-24 18:48:21 +09:00
users refac 2026-05-14 13:12:59 +09:00
utils refactor: remove unused POST /api/v1/utils/markdown endpoint (#24779) 2026-05-19 20:50:07 +04:00
index.ts refactor: remove dead generateFollowUps frontend wrapper (#24794) 2026-05-19 21:27:19 +04:00