Browse Source

Re-exported services.

7.x-2.x
Daniel Lamb 10 years ago
parent
commit
83ce10891f
  1. 43
      islandora/islandora.module

43
islandora/islandora.module

@ -77,7 +77,9 @@ function islandora_default_services_endpoint() {
$endpoint->name = 'islandora';
$endpoint->server = 'rest_server';
$endpoint->path = 'islandora';
$endpoint->authentication = array();
$endpoint->authentication = array(
'services' => 'services',
);
$endpoint->server_settings = array(
'formatters' => array(
'json' => TRUE,
@ -101,9 +103,6 @@ function islandora_default_services_endpoint() {
'retrieve' => array(
'enabled' => '1',
),
'create' => array(
'enabled' => '1',
),
'update' => array(
'enabled' => '1',
),
@ -128,49 +127,39 @@ function islandora_default_services_endpoint() {
),
),
),
'user' => array(
'rdf_mapping' => array(
'operations' => array(
'retrieve' => array(
'enabled' => '1',
),
'create' => array(
'enabled' => '1',
),
'update' => array(
'enabled' => '1',
),
'delete' => array(
'system' => array(
'actions' => array(
'connect' => array(
'enabled' => '1',
),
'index' => array(
'enabled' => '1',
),
),
'user' => array(
'actions' => array(
'login' => array(
'enabled' => '1',
'settings' => array(
'services' => array(
'resource_api_version' => '1.0',
),
'logout' => array(
'enabled' => '1',
),
'token' => array(
'enabled' => '1',
),
'request_new_password' => array(
'enabled' => '1',
),
'register' => array(
'logout' => array(
'enabled' => '1',
'settings' => array(
'services' => array(
'resource_api_version' => '1.0',
),
),
'targeted_actions' => array(
'cancel' => array(
'enabled' => '1',
),
'password_reset' => array(
'enabled' => '1',
),
'resend_welcome_email' => array(
'token' => array(
'enabled' => '1',
),
),

Loading…
Cancel
Save