/blog
List published blog posts / news
Returns the channel's published posts, newest first, with their tags and cover images. Filter with ?tag= and choose the kind with ?type=BlogPost (default) or ?type=NewsPost; an unrecognised type falls back to BlogPost.
Visa hela beskrivningen
Page is 1-based, default pageSize is 12 and the maximum is 50. Scheduled posts appear on their publish date, so the response is time-dependent and cached for a short while.
Frågeparametrar
| Fält | Typ |
|---|---|
page
|
integer |
pageSize
|
integer |
tag
|
string |
type
|
string |
Svar
BlogListResponse
| Fält | Typ |
|---|---|
items
|
BlogPost[] · nullable |
page
|
integer |
pageSize
|
integer |
totalCount
|
integer |
totalPages
|
integer |
-
Retry-After— Seconds to wait before retrying.
Standardfel:
404
Felhantering
Exempel
curl "https://api.erp.fluit.cloud/ecom/blog" \
-H "X-Tenant-Id: $FLUIT_TENANT_ID" \
-H "X-Channel: web"
{
"items": [
{
"authorName": "Widget A",
"excerpt": "string",
"featuredImageUrl": "https://cdn.fluit.cloud/assets/widget-a-front.jpg",
"pageType": "string",
"publishDate": "2026-06-11T09:24:13.418",
"slug": "string",
"tags": [
"string"
],
"title": "string"
}
],
"page": 1,
"pageSize": 50,
"totalCount": 137,
"totalPages": 3
}
Bas-URL https://api.erp.fluit.cloud/ecom. Svarsexemplet är genererat ur schemat: formen stämmer, värdena är påhittade.