user
Upload or update a user data file
Upload a file to a user's data directory. Optional query parameters allow control over overwrite behavior and response detail.
post/api/userdata/{file}
Request
- Base URLhttps://api.comfy.org
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
filestring required
The target file path (URL encoded if necessary).
Query parameters
overwrite'true' | 'false'
If "false", prevents overwriting existing files. Defaults to "true".
full_info'true' | 'false'
If "true", returns detailed file info; if "false", returns only the relative path.
Request body application/octet-stream
string binary required
Response
File uploaded successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.