I have implemented custom APIs using the Restful v1 module where I would like to filter the returned JSON results by a field value inside a Field Collection that's attached to my node.
I have tried to do some research but couldn't find any references.
Here is my code to output the contents of the node's Field Collection data:
I have implemented custom APIs using the Restful v1 module where I would like to filter the returned JSON results by a field value inside a Field Collection that's attached to my node.
I have tried to do some research but couldn't find any references.
Here is my code to output the contents of the node's Field Collection data:
Now the current JSON output is good already:
Now I need to add a filter in the URL that would list nodes that has the featured value set to TRUE.
Any ideas on how this can be achieved?
Thank you!