Thanks!
/api/pages/lids/children/search?q=
doesn’t return any results, unfortunately.
Adding an “a” to the q= works, but then I won’t get all results.
Also I can’t use “select” with search it seems.
Is there a way to define custom collections, like I can do in a template? Like saying for “/api/overview” I’d like to return all pages with the content, slug, and the first file’s thumbnail?
Thanks! When I add a plugin like in the first example, suddenly all request (not only to /api) serve the index.php from the plugin-folder like it’s not being interpreted by php. I’m seeing the index.php source in the browser. What am I missing?