Skip to content

Get document collection (storefront callers see active documents only)​

GET
/rest/v1/cms/document

Storefront callers — guest (no token) and customer — receive only active documents (documents.active = 1): filter[active] is server-forced to 1 for them, so a supplied value is ignored rather than combined. This matters beyond row existence — the document translations carry a working /files/documents/ URL for the attached PDF, so an inactive row handed to a guest handed over the asset with it. Backend callers are unaffected and may filter by filter[active] freely.

Parameters​

Query Parameters

filter[id]

Filter by document IDs

Type
string
filter[active]

Filter by active 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[title.el]

Filter by document title (Greek)

Type
string
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