Interfaces
Interface: MediaItem
Full media item returned by GET /media/:id.
Contains complete metadata including id, size, and timestamps.
Full media item returned by GET /media/:id.
Contains complete metadata including id, size, and timestamps.
Extended by
Properties
| Property | Type | Description |
|---|---|---|
altText? | string | Alt text for accessibility |
createdAt | string | Upload timestamp |
filename | string | Filename |
height? | number | Image height in pixels (if image) |
id | string | Media ID |
mimeType | string | MIME type |
size | number | File size in bytes |
updatedAt | string | Last update timestamp |
url | string | File URL |
width? | number | Image width in pixels (if image) |

