Skip to content

Support direct multipart/base64 image uploads - #61

Merged
crisng95 merged 1 commit into
crisng95:mainfrom
Bl0ck154:feat/direct-image-uploads-upstream
Sep 24, 2026
Merged

crisng95 merged 1 commit into
crisng95:mainfrom
Bl0ck154:feat/direct-image-uploads-upstream

Conversation

@Bl0ck154

Copy link
Copy Markdown
Contributor

External callers should not have to share the FlowKit service filesystem namespace. This PR makes direct bytes the recommended upload path while keeping file_path as a server-local convenience mode.\n\nChanges:\n- add POST /api/flow/upload-image-file (multipart/form-data)\n- keep JSON image_base64 upload as a first-class external-caller path\n- document file_path as server-local only\n- return 403 for unreadable local files and descriptive 404 for paths invisible to the service namespace (including PrivateTmp-style cases)\n- preserve session-project auto creation when project_id is omitted\n- add OpenAPI descriptions and regression coverage\n- add python-multipart dependency\n\nValidation: 380/380 upstream unit tests passed locally.

@crisng95
crisng95 merged commit bc051f2 into crisng95:main Sep 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants