Last updated December 12, 2012. Created on March 8, 2010.
Edited by MisterSpeed, Chris Johnson, juampynr, Daniel Young. Log in to edit this page.

Some of the thoughts behind 3.x can be gleaned from Hugo Wetterberg's presentation from Drupal Camp Stockholm 2009. In short the big changes from 2.x are:

  • The transition to resources (with CRUD support) from rpc-style services
  • Services endpoints can be placed on arbitrary paths in the menu system and configured completely independently
  • endpoints can be disabled
  • Endpoints can have debugging enabled
  • Endpoints are exportable and can be packaged as features (with or without the Features module).

All this means that modules now can use services to expose APIs - a combination of services, a server and, optionally, an authentication method. And it's those who want to develop these API-providing modules, the services, servers and authentication modules, that is the intended audience for this preview release.

One thing we are looking into is Tests! We currently have tests for all administration tasks. The client->server tests have been written but do not have 100% coverage yet.

Documentation in progress

The links below are designed to help contributors get involved in Services 3.x. If you find any missing or incorrect information below, please feel free to correct it! Things will be moving along pretty quickly and parts of the documentation are sure to fall out of date.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.

Comments

joe casey’s picture

See http://drupal.stackexchange.com/questions/4718/how-to-create-test-endpoint

Scroll down for step-by-step screenshots of setting up a REST server using only the built in capabilities of the Services module - No Coding!

snarfman’s picture

I'm trying to update the target language of a node.
Multi lang has been enabled and french has been added. This node was created from the ui but I'm looking to update it or add a translation from the rest api. Can anyone tell me if this is possible? It only updates the source EN portion.

using the PUT.

{ "body" : { "en" : [ {
            "value" : "body - updated by rest"
          } ],
      "fr" : [ {
            "value" : "body - updated by rest"
          } ]
    },
  "type" : "article"
}
bibstha1’s picture

Could someone put the 'Installation and Setup' link at the top insetead of more than halfway down.
It helps new users of services module to get started quickly.

mdedere’s picture

A good resource to unterstand the module Services is "Services Sandbox. Testing resources on a test server."
http://drupal.org/node/1447020. I wished I explored it first of all!