clarification

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

I've been using Services for simple retrieve calls, and now I need to accept more arguments!

I've been using this custom service for ahwile:

'event' => array(
'retrieve' => array(
'help' => 'Retrieves a single event',
'file' => array('file' => 'inc', 'module' => 'drupalconnect', 'name' => 'drupalconnect'),
'callback' => '_event_retrieve',
'access callback' => '_whatson_resource_access',
'access arguments' => array('view'),
'access arguments append' => TRUE,
'args' => array(
array(
'name' => 'event nid',
'type' => 'int',
'description' => 'The event node id',
'source' => array('path' => '0'),

Read more
dru_paul's picture

need clarification on the comment_service module

(referring to this post, which is the conclusion of a thread and patch created by heyrocker)
http://drupal.org/comment/reply/182069/1395176

I traced my problem to an error in the final Drupal 5 patch.
It has a trailing comma after the last array which causes the patch routine to choke and not spit out the module itself. So, after correcting that, and following up with all the other requisites, I can now post comments remotely.

yay

!

Read more
Subscribe with RSS Syndicate content

Services

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: