ComfyUI/api_server/routes/internal
cest-la-v 70eb6f5a0b fix(files-api): make GET /files/{directory_type} recursive
Replace os.scandir (top-level only) with os.walk so nested subfolders
are included. Returns relative paths (e.g. '2025-01/foo.png') which the
frontend's getMediaUrl already handles via subfolder param splitting.

Hidden files and hidden directories (starting with '.') are pruned.
Applies to all three directory types: input, output, temp.
2026-04-26 19:38:40 +08:00
..
__init__.py Add GET /internal/files. (#4295) 2024-08-21 01:25:06 -04:00
internal_routes.py fix(files-api): make GET /files/{directory_type} recursive 2026-04-26 19:38:40 +08:00
README.md Add GET /internal/files. (#4295) 2024-08-21 01:25:06 -04:00

ComfyUI Internal Routes

All routes under the /internal path are designated for internal use by ComfyUI only. These routes are not intended for use by external applications may change at any time without notice.