Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returning node collections #81

Open
JeSuisAlrick opened this issue Apr 13, 2018 · 2 comments
Open

Returning node collections #81

JeSuisAlrick opened this issue Apr 13, 2018 · 2 comments

Comments

@JeSuisAlrick
Copy link

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?

@signalpoint
Copy link
Owner

@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.

@JeSuisAlrick
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants