Skip to content

Kirby 4.4.1

GET|POST /api/site/:id/search

Search for pages (index)

Query parameters

Parameter Example Description
q q=wanted|null The search string

Post parameters

Parameter Type Required Description
search string|array Either search string or array with query and options keys
filterBy array Array of filters
sortBy string|array Sort the returned results
not array Array of results to be excluded
paginate array Paginate the returned results
limit int Limits the number of returned results
offset int Sets a manual offset