Services 3.0

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
vkakani's picture

Retrieve a specific version (vid) of a node : D7

How do we retrieve a specific revision (vid) attributes of a node.

Works : http://mysite.com/endpoint/node?parameters[nid]=5&parameters[vid]=34 [vid=34 is the latest version version id]

Doesn't Works : http://mysite.com/endpoint/node?parameters[nid]=5&parameters[vid]=31 [vid=31 is the second version version id]

Please advise, how to construct the query to pull the a specific version ID related node attributes

Drupal Version : D7

Read more
bsenftner's picture

anyone have an example of a remote Flash app login thru Services 3.x REST server?

I have a REST API implemented in Services 3.x. The API uses session authentication. A client wants to access the API from a remotely hosted Flash application. We've placed a crossdomain.xml in our docroot, enabling the client's app to communicate with us, but they are having troubles getting past login.

Anyone have any examples of a REST Login within Flash?

I, personally, don't know Flash...

Read more
bsenftner's picture

Drupal Services 3.0 examples

Here are two example modules I wrote demonstrating how to implement a Services 3.0 based REST API: http://www.blakesenftner.com/Services-3-examples

They are bare bones, but demonstrate the correct handling for each of the CRUD operations, plus Relationships and Actions.

Read more
zezaz's picture

Services 3.x on D6: taxonomy and REST

Hi,

I am giving a try at Services using Drupal 6.22 (Pressflow).

I want to manage taxonomies, nodes and nodequeues through Services. I installed Services 6.x-3.0-rc4, along with its dependencies (ctools, autoload, inputstream), and i can't manage to have it working.

Read more
stilllife00's picture

How to send an Image to a Drupal Services 3 endpoint using json

Hi all!
I'm having a trouble during a simple Android application development. I'm trying to add a simple News on my Drupal site from the Android application. I created a new content type called "News" with 2 strings (title and body) and a Image field. I sent to my site a title and a body and it works correctly using JSONObject class.

Read more
bsenftner's picture

seeking discussions on RESTful API designs with a Services 3.0 REST Server

I am in the process of writing a Services 3.0 Module based RESTful API for a WebApp I am developing.

I have prior experience creating an XMLRPC API through Services, and Services itself handles all the nitty-gritty of coding up a RESTful interface... While googling to find information, I located lots of "hello world" style RESTful examples in oodles of different languages, and I found upteen definitions of REST and descriptions about that PHD dude that wrote it up formally... but I'm not finding anyplace where developers have discussed or are discussing RESTful architectures of anything other than a simple, single level data service.

Read more
Subscribe with RSS Syndicate content