Services 3.0

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
sarav.din33's picture

Can any one guide me when i create a new services...

Hi all,
I using Services3.x, D6.

Can any one guide me when i creating a new services through 'http://mysite/admin/build/services/add' after submitting i got the following error.

Error: # User warning: Table 'mysite.services_endpoint' doesn't exist query: INSERT INTO services_endpoint (name, server, path, authentication, resources, debug) VALUES ('asdsad', 'rest_server', 'asdsad', 'a:0:{}', 'a:0:{}', 1) in _db_query() (line 149 of /var/www/html/mysite/includes/database.mysql.inc).

Read more
ziodave's picture

Services resource for Product types (from Drupal Commerce)

Dears,

As I need to programmatically create Products in Drupal 7.x and Drupal Commerce, I'm writing a small file based on the skeleton of resources/node_resource.inc.

Right now I'm just able to create products and receive the ID of the created product (which I'm looking to use as a reference for the node creation).

Is this of some interest for this group, should I share this small file - full with errors :-))

Thanks,
David

Read more
bsenftner's picture

Services OAuth: anyone have any idea how to configure?

I think the subject says it all. The Services OAuth module has no end user documentation, and looking at the interface pages I'm not sure what to do.
Anyone know of documentation for usage of the Services OAuth interface? All I can find is non-drupal specific OAuth docs for developers authoring an OAuth implementation, but not how to configure such an interface once it is there.

If you know how to use the Services OAuth module's interface, could you please write something up and post where that can be found?

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