multiple arguments in the service_resources

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

What will be the URL for a REST GET service with multiple arguments

Hello,

If I have a hook_service_resource() implementation as follows and my url of the end point is

"localhost/services/mylist"; what should be my full url with the two arguments?

function rest_managed_items_services_resources() {
return array(
'myList' => array(
'retrieve' => array( 'help' => 'Retrieves list of managed items',
'callback' => 'rest_managed_items_list_retrieve',
'access callback' => 'rest_managed_items_list_access',
'access arguments' => array('view'),

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: