jDrupal
jDrupal copied to clipboard
Returning node collections
Hi, there doesn't seem to be a way to retrieve a collection of nodes from the service. Is there a reason for this? Am I supposed to use a view?
@JeSuisAlrick For D7 or D8?
In D7, there is the node_index() resource for this.
And yes, Views is a nice alternative, as is creating your own custom Service Resource.
Oh, ok. I'm actually using Drupal 8.
I prefer to deal with raw data because of how heavy Views can be. I was hoping there was a way to send a query back to the service for certain types of nodes, but basically you saying I can create my own resource and call it from jDrupal?