index - how to use parameters

Events happening in the community are now at Drupal community events on www.drupal.org.
DrMiaow's picture

index

Took me hours to locate this information.

If you want to use the 'index' operation in services, it takes only three parameters

page (the page number)
fields (the fields to include).
parameters (the actual parameters) - these are passed directly into the query, so these need to be node record field names.

eg:

/api/test/rest/node?fields=nid,title&parameters[type]=playlist&page=1

Read more
Subscribe with RSS Syndicate content