From 4987eb720f6538d15af1968d08857fe81fd805fd Mon Sep 17 00:00:00 2001 From: Daniel Lamb Date: Thu, 7 May 2015 16:24:20 -0300 Subject: [PATCH] Re-exported services after messing with config. --- islandora/islandora.module | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/islandora/islandora.module b/islandora/islandora.module index 39913aca..c1f13991 100644 --- a/islandora/islandora.module +++ b/islandora/islandora.module @@ -32,7 +32,23 @@ function islandora_default_services_endpoint() { $endpoint->server = 'rest_server'; $endpoint->path = 'islandora'; $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( 'node' => array( 'operations' => array(