Skip to content

Kirby 5.0.0

GET|POST /api/pages/:id/files/search

Search for page files

Query parameters

Parameter Example Description
q ?q=wanted The search string

Post parameters

Parameter Type Required Description
search stringorarray Either search string or array with query and options keys
filterBy array Array of filters
sortBy stringorarray 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