Services

Component ID

109640

Component name

Services

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

971192

Component created

Component changed

Component body

A standardized solution for building API's so that external clients can communicate with Drupal. Out of the box it aims to support anything Drupal Core supports and provides a code level API for other modules to expose their features and functionality via HTTP. It provide Drupal plugins that allow others to create their own authentication mechanisms, request formats, and response formats.

Currently all development is happening on github for the useful help of PR's. https://github.com/kylebrowning/services

Services 4.x (Drupal 8) Non-RESTful Web services

Services 4.x is currently in development. Since Drupal 8 contains REST functionality in CORE, Services in Drupal 8 will be slightly different. Were aiming to accomplish the following for D8.

  • Services API allows others to expose custom API's or modify/hook into entities, and add actions/targetable actions or indexes in a standard Non-RESTful Web services way.
  • Provide endpoint capabilities to put your API behind a centralized URL
  • Accept header-based negotiation
  • Provide and extension to some of Cores capabilities.
  • Provide multiple response formats
  • Version your API's

Services 3.x(Drupal 7):

  • Service API allow modules to create other services, including pluggable access control
  • Server API allow modules to create other servers, such as SOAP
  • Aliasing methods
  • Integration with core Drupal functionality like files, nodes, taxonomy, users, files and more.
  • Response format API allows you to define response Formats for CONTENT-TYPE ie. application/json or application/xml. (also calls such as ENDPOINT/node/1.json work)

Visit the Services Handbook for help and information. Subscribe to the Services Group for news, updates and discussions.

For modules with services support goto https://drupal.org/node/750036. Note: anyone can add to this list.