CreateMediaFileRequest (object)
| Feld | Typ | Beschreibung |
|---|---|---|
| description | string | — |
| entity_id* | integer | — |
| entity_type* | string | — |
| file* | string (binary) | The file to be uploaded. Supported formats: JPG, JPEG, PNG, PDF. PDF files will be automatically converted to JPEG images (first page only). Maximum file size: 10 MB. |
| key* | string | — |
Beispiel (JSON)
{
"entity_type": "string",
"entity_id": 0,
"key": "string",
"description": "string",
"file": "string"
}