/channels/{channelCode}/media
List a channel's media library
Returns the images uploaded to the channel, newest first. Each entry carries the url the file is served on — that is what goes into a page section or an article's featured image — and the id used to address the record on this API.
Show the full description
Delta sync: ?modifiedSince= (ISO 8601 UTC datetime) returns records created or changed at or after that instant, and is the intended way to run an incremental sync. A change anywhere inside the record counts: editing a line moves the parent's modifiedDate too, so no change can hide below the resource level. Deletions are not visible here: a deleted record is really gone, so it simply stops appearing, which is indistinguishable from "unchanged". Poll GET /preview/deletions?deletedSince= alongside this endpoint to learn what was removed.
Path parameters
| Field | Type | Description |
|---|---|---|
channelCode
Required
|
string | Code of the channel whose media library to list. |
Query parameters
| Field | Type | Description |
|---|---|---|
folder
|
enum |
Restricts to one folder: Hero, Banner, Sections or Content.
Hero
Banner
Sections
Content
Documents
|
search
|
string | Matches file name, title and alt text, case-insensitively and on partial words. |
modifiedSince
|
string(date-time) | Returns only records created or changed at or after this instant (ISO 8601 UTC datetime). A change anywhere inside the record counts, including on its lines. |
page
|
integer | Page to return, 1-based. Default 1. |
pageSize
|
integer | Number of records per page. Default 50, max 200. |
Responses
PagedResult_PublicMediaAssetResponse
Paginated response: the fields below sit in items[], wrapped in totalCount, page, pageSize, totalPages, hasPreviousPage and hasNextPage. Paginated
| Field | Type | Description |
|---|---|---|
altText
|
string · nullable | Alt text for accessibility, or null if the editor has not written one. |
caption
|
string · nullable | Caption, or null. |
channelCode
Required
|
string · nullable | The channel the file belongs to. |
contentType
Required
|
string · nullable | MIME type, e.g. `image/webp`. |
createdDate
Required
|
string(date-time) | When the file was uploaded (UTC). |
fileName
Required
|
string · nullable | The original file name it was uploaded under. |
fileSize
Required
|
integer | File size in bytes. |
folder
Required
|
enum |
Where in the storefront a media file belongs. Filters the library, and decides the folder a
<em>new</em> upload is stored under.
Hero
Banner
Sections
Content
Documents
|
height
|
integer · nullable | Image height in pixels, or null when the dimensions were not read. |
id
Required
|
string(uuid) | The file's identifier in the library. Its address on this API. |
links
|
Links | Hypermedia links for a public API resource. Exposed as a computed `links` property on the public response DTOs so that create and read responses carry the same self-reference — the canonical URL is derived from the business key already present on the DTO and can never drift from the route it points at. |
modifiedDate
|
string(date-time) · nullable | When its metadata was last changed (UTC), or null if never changed. |
title
|
string · nullable | Display name in the library, or null to fall back to the file name. |
url
Required
|
string · nullable | The public URL the file is served on. This is what a page section references. |
width
|
integer · nullable | Image width in pixels, or null when the dimensions were not read. |
ProblemDetails
folder got a value outside its list.
| Field | Type |
|---|---|
detail
|
string · nullable |
instance
|
string · nullable |
status
|
integer · nullable |
title
|
string · nullable |
type
|
string · nullable |
ProblemDetails
No channel with that code.
| Field | Type |
|---|---|
detail
|
string · nullable |
instance
|
string · nullable |
status
|
integer · nullable |
title
|
string · nullable |
type
|
string · nullable |
Standard errors:
401
403
Errors
Examples
curl "https://api.fluit.cloud/preview/channels/{channelCode}/media"
{
"hasNextPage": true,
"hasPreviousPage": true,
"items": [
{
"altText": "string",
"caption": "string",
"channelCode": "STD",
"contentType": "image/jpeg",
"createdDate": "2026-06-11T09:24:13.418",
"fileName": "widget-a-front.jpg",
"fileSize": 42,
"folder": "Hero",
"height": 42,
"id": "0f8b2c1e-4d3a-4b7e-9f10-2a6c5d8e1b44",
"links": {
"self": "string"
},
"modifiedDate": "2026-06-11T09:24:13.418",
"title": "string",
"url": "https://cdn.fluit.cloud/assets/widget-a-front.jpg",
"width": 42
}
],
"page": 1,
"pageSize": 50,
"totalCount": 137,
"totalPages": 3
}
Base URL https://api.fluit.cloud/preview. The response example is generated from the schema: the shape is right, the values are made up.