The Drupal REST services is an user-created module for Drupal 7 and 6.
The module converts resources on Drupal sites - content types - into REST, XMLRPC, JSON, JSON-RPC, SOAP, AMF and other types for easy parsing by external applications.
It can also enable Drupal sites to accept CRUD operations to modify resources.
The requests between Drupal and external applications can have authentications via OAuth.
- Install Services module 7.x-3.3 - http://drupal.org/project/services
- Install Services Views module 7.x-1.0-beta2 - http://drupal.org/project/services_views
- Enable both modules and the REST server module.
- Install OAuth 7.x-3.0+18-dev - http://drupal.org/project/oauth (You must use this version because the recommended version - 7.x-3.0 - is bugged)
The Libraries module must be at least version 7.x-2.0 for REST server.
This is a two-stage process.
First, make a Service Endpoint that hosts REST resources; it is seen as the first part of the URL to your resource.
Next, make a REST resource, which is a View customized by the Services View module; in it, you specify which Content Types are included.
Authentication is configured afterwards.
Config Endpoint / View without OAuth