Upload a file to the server using multipart/form-data. The file must be included in the request body under the file form field.
Example:
curl -X POST api/v1/actions/upload_file -H 'x-api-key: your-api-key' -H 'x-api-secret: your-api-secret' -F 'file=@/path/to/file.png'
| Header Parameters |
|---|
x-api-key uuid — REQUIRED |
x-api-secret uuid — REQUIRED |
| Request Body — REQUIRED |
|---|
file binary |
| Responses |
|---|
| Schema — OPTIONAL |
|---|
data object[]_id string | company string | uploadedUser string | originalName string | mimeType string | size number | path string | md5Hash string | createdAt string | updatedAt string | __v number | filename string |
| meta objecttotal number | page number | limit number | totalPages number |
|
|
| Schema — OPTIONAL |
|---|
status string | request_id string | error string |
|