Media
Get Media
Retrieve a single media resource by media ID.
GET
Get Media
Endpoint
ID format
Supported IDs:post-{postId}author-{authorId}
post-post_01HZX2...author-author_01HZ...
Query parameters
| Parameter | Type | Description |
|---|---|---|
_fields | string | Comma-separated attribute field filter |
Example request
Example response
Error responses
Invalid media ID format
Media not found
Response field descriptions
| Field | Type | Description |
|---|---|---|
data.id | string | Media ID |
data.type | string | Resource type (media) |
data.attributes.source | string | post or author |
data.attributes.source_id | string | Related post/author ID |
data.attributes.url | string | Media URL |
data.attributes.type | string | Media type (image) |
data.attributes.title | string | null | Title |
data.attributes.description | string | null | Description |
data.attributes.aspect_ratio | string | null | Aspect ratio |
data.attributes.palette | object | null | Palette metadata |
data.attributes.created_at | string | ISO datetime |
Notes
- Media IDs are not slug-based.
- Single media fetch expects exact media ID format.
Get Media