Hello friends, I have successfully created my first REST API and I can list out all persons and get a specific person like so :
I have followed the official documentation and my controller is extending the modRestController, and I have checked the class on github.
So to my question: what is the syntax for querying on a specific field?
For example to fetch all persons with firstname «Roger». I would expect something like this:
I see that the modRestController has a method called addSearchQuery(xPDOQuery $c)
From my understanding this should be out of the box ready, but I cannot for the life of me figure out what the url should look like.
Any and all help is appreciated.