Enneo

File Manager

Upload a file to managed-files storage

POST /files/manager/file

POST /files/manager/file

Request body

pathstringbodyrequired

Target directory path

namestringbody

File name

urlstringbody

URL to download the file from

base64stringbody

Base64-encoded file content (with or without data URI prefix)

Request Example

{
  "path": "Audiodateien",
  "name": "music.mp3",
  "url": "https://example.com/file.mp3",
  "base64": "data:image/png;base64,iVBORw0KGgo..."
}

Responses

200 — File uploaded successfully

Response Example

{
  "success": true,
  "file": {
    "name": "string",
    "path": "string",
    "url": "string",
    "size": 1,
    "contentType": "string"
  }
}

400 — Bad request

403 — Permission denied

409 — File already exists

500 — Internal error