Skip to content

Get page collection (storefront callers see published pages only)​

GET
/rest/v1/cms/page

Storefront callers — guest (no token) and customer — receive only published pages (categories.is_published = 1): filter[isPublished] is server-forced to 1 for them, so a supplied value is ignored rather than combined. ?sort=children.isPublished is denied for them too — it ordered the list by a withheld column over the children relation, which is now itself scoped (Advisable-com/ecommercen#639 gave Page.parent and Page.children a visibility scope on the same column, at every depth including the recursive ?with=children* form), so the denial is retained as defence-in-depth rather than as the thing that closes the oracle. Backend callers are unaffected and may filter and sort by filter[isPublished] freely to see drafts.

Parameters​

Query Parameters

filter[id]

Filter by page IDs

Type
string
filter[parent]

Filter by parent category IDs

Type
string
filter[bannerImage]

Filter by banner image filename (EXACT match, not a substring search)

Type
string
filter[pageView]

Filter by view type

Type
string
filter[isPublished]

Filter by published status. Backend callers only — for storefront (guest/customer) callers this value is server-forced to 1 and any supplied value is ignored.

Type
boolean
filter[menu]

Filter by menu status

Type
boolean
filter[createdAt]

Filter by date

Type
string
filter[name.el]

Filter by page name (Greek)

Type
string
filter[slug.el]

Filter by page slug (Greek)

Type
string
filter[metaTitle.el]

Partial filter by meta title (Greek)

Type
string
filter[notEmptyContent.el]

Filter pages with non-empty content (Greek)

Type
boolean
Exampletrue
sort

Sort order

Type
string
page

Page number

Type
integer
limit

Pagination limit

Type
integer
with

With relations

Type
string

Responses​

Successful operation

application/json
JSON
"string"

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI