Pergunta

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

Foi útil?

Solução

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

Outras dicas

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a drupal.stackexchange
scroll top