MediaFile (object)
| Field | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| created_at | string (date-time) | Creation timestamp in ISO 8601 format. | |||||||||
| description | string | — | |||||||||
| entity | object |
| |||||||||
| entity_id | integer | — | |||||||||
| entity_type | string | string
| |||||||||
| file_bytes | number | — | |||||||||
| file_ext | string | File extension (e.g., 'jpg', 'png', 'pdf'). Note: PDFs are converted to 'jpg' upon upload. | |||||||||
| file_type | string | MIME type (e.g., 'image/jpeg', 'image/png', 'application/pdf'). Note: PDFs are converted to 'image/jpeg' upon upload. | |||||||||
| id* | integer | — | |||||||||
| is_public | boolean | — | |||||||||
| key | string | — | |||||||||
| updated_at | string (date-time) | Last update timestamp in ISO 8601 format. | |||||||||
| url* | string | — | |||||||||
| user | object |
| |||||||||
| user_id | integer | — |
Example (JSON)
{
"id": 0,
"user_id": 0,
"entity_type": "Account",
"entity_id": 0,
"key": "string",
"is_public": true,
"url": "string"
}