I am trying to use the JSS service Layout API to get the items from a datasource specified in a control.
When I set a specific item as a datasource, I do get the item fields.
But when I use a query to get multiple items, I don't get any data from the service. Only the text of datasource query.
I need to get the datasource items in the json. I am missing something? Should I extend the layout service for this to work?