get
https://api.duodeal.app/api/medias/
Retrieves a single media file by its ID.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Media unique identifier |
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Media unique identifier |
name | string | Original file name |
url | string | Public URL to access the file |
mime | string | MIME type (e.g., image/png, application/pdf) |
folder | string | Folder/category for organization |
path | string | Storage path |
thumbnail | string | Thumbnail URL (for images) |
thumbPath | string | Thumbnail storage path |
createdAt | datetime | Creation timestamp |
updatedAt | datetime | Last update timestamp |
Response
200 OK: Returns the media details401 Unauthorized: Invalid or missing API key404 Not Found: Media not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Successful response
401Unauthorized
