|
|
@ -77,7 +77,9 @@ function islandora_default_services_endpoint() { |
|
|
|
$endpoint->name = 'islandora'; |
|
|
|
$endpoint->name = 'islandora'; |
|
|
|
$endpoint->server = 'rest_server'; |
|
|
|
$endpoint->server = 'rest_server'; |
|
|
|
$endpoint->path = 'islandora'; |
|
|
|
$endpoint->path = 'islandora'; |
|
|
|
$endpoint->authentication = array(); |
|
|
|
$endpoint->authentication = array( |
|
|
|
|
|
|
|
'services' => 'services', |
|
|
|
|
|
|
|
); |
|
|
|
$endpoint->server_settings = array( |
|
|
|
$endpoint->server_settings = array( |
|
|
|
'formatters' => array( |
|
|
|
'formatters' => array( |
|
|
|
'json' => TRUE, |
|
|
|
'json' => TRUE, |
|
|
@ -101,9 +103,6 @@ function islandora_default_services_endpoint() { |
|
|
|
'retrieve' => array( |
|
|
|
'retrieve' => array( |
|
|
|
'enabled' => '1', |
|
|
|
'enabled' => '1', |
|
|
|
), |
|
|
|
), |
|
|
|
'create' => array( |
|
|
|
|
|
|
|
'enabled' => '1', |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
'update' => array( |
|
|
|
'update' => array( |
|
|
|
'enabled' => '1', |
|
|
|
'enabled' => '1', |
|
|
|
), |
|
|
|
), |
|
|
@ -128,49 +127,39 @@ function islandora_default_services_endpoint() { |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
'user' => array( |
|
|
|
'rdf_mapping' => array( |
|
|
|
'operations' => array( |
|
|
|
'operations' => array( |
|
|
|
'retrieve' => array( |
|
|
|
'retrieve' => array( |
|
|
|
'enabled' => '1', |
|
|
|
'enabled' => '1', |
|
|
|
), |
|
|
|
), |
|
|
|
'create' => array( |
|
|
|
|
|
|
|
'enabled' => '1', |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
'update' => array( |
|
|
|
|
|
|
|
'enabled' => '1', |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
'delete' => array( |
|
|
|
'system' => array( |
|
|
|
|
|
|
|
'actions' => array( |
|
|
|
|
|
|
|
'connect' => array( |
|
|
|
'enabled' => '1', |
|
|
|
'enabled' => '1', |
|
|
|
), |
|
|
|
), |
|
|
|
'index' => array( |
|
|
|
|
|
|
|
'enabled' => '1', |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
|
|
|
|
'user' => array( |
|
|
|
'actions' => array( |
|
|
|
'actions' => array( |
|
|
|
'login' => array( |
|
|
|
'login' => array( |
|
|
|
'enabled' => '1', |
|
|
|
'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', |
|
|
|
'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', |
|
|
|
'enabled' => '1', |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|