upload

Upload a file

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

post/v1/upload

Request

  • Base URL
    http://localhost:6369
  • URL
    http://localhost:6369/v1/upload
  • Auth
    none declared

Request body multipart/form-data

filestring binary required

File to 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
}

Changes

No recorded changes to this operation across all 50 revisions of this API.