I’ve stumbled upon some limitations of the services module. I wanted to create the following endpoints:
public/events/ public/events/categories public/events/resources public/blogs/
I wanted to place all the above under a single endpoint with path “public/”. However, in the hook_services_resources the following is invalid:
/** * Implements hook_services_resources(). */ function kw_api_services_resources() { $service_resources = 'event/categories' => array( 'operations' => array( 'index' => array(
I ended up using two endpoints public/events and public/blogs. Is there a way to get around this? Meaning to user deeper than 1 level URLs.
Sponsored by SupremePR