Browse Source

Re-exported services after messing with config.

7.x-2.x
Daniel Lamb 10 years ago
parent
commit
4987eb720f
  1. 18
      islandora/islandora.module

18
islandora/islandora.module

@ -32,7 +32,23 @@ function islandora_default_services_endpoint() {
$endpoint->server = 'rest_server'; $endpoint->server = 'rest_server';
$endpoint->path = 'islandora'; $endpoint->path = 'islandora';
$endpoint->authentication = array(); $endpoint->authentication = array();
$endpoint->server_settings = array(); $endpoint->server_settings = array(
'formatters' => array(
'json' => TRUE,
'bencode' => FALSE,
'jsonp' => FALSE,
'php' => FALSE,
'xml' => FALSE,
),
'parsers' => array(
'application/json' => TRUE,
'application/vnd.php.serialized' => FALSE,
'application/x-www-form-urlencoded' => FALSE,
'application/xml' => FALSE,
'multipart/form-data' => FALSE,
'text/xml' => FALSE,
),
);
$endpoint->resources = array( $endpoint->resources = array(
'node' => array( 'node' => array(
'operations' => array( 'operations' => array(

Loading…
Cancel
Save