Question

Is there a way to filter the nodes that come from a SERVICES node Endpoint, by a field or status?

Was it helpful?

Solution

http://test/api/node?parameters[nid]=1&parameters[status]=1&fields=status,bid,title

As always you can look at the tests.

Below you can see whats possible.

Fetcher

OTHER TIPS

At least when the resource is provided by Drupal Commerce Services, this appears to be slightly different. I had to go read the source, but the equivalent to the parameter query string parameter for commerce services is filter.

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top