v1

latestSwagger 2.02026-07-175445133.1 KB
upload

Upload a file

Upload a file to /tmp/uploads directory with automatic conflict resolution

post/v1/upload

Response

OK

filePathstring

Path where the uploaded file was saved

messagestring

Status message or error details

successboolean

Whether the upload succeeded

Example response

{
  "filePath": "/tmp/uploads/document.pdf",
  "message": "File uploaded successfully",
  "success": true
}