This module was originally named 'islandora_rest_ingester_extras' but was renamed 'islandora_rest_extras' on January 9, 2018.
Utility module that provides additional functionality for Islandora's REST interface. Currently, it provides two features:
- a way to regenerate the DC of each ingested object, effectively emulating the behavior of objects ingested using Islandora's web interface or standard batch tools
- a very basic 'describe' REST endpoint that returns the server's configuration value limiting the size of the largest file that can be
POST
ed; the JSON returned by a requst toislandora/rest/v1/describe
is like this, where500M
is the value of the server's PHP 'upload_max_filesize' configuration value:
{
"max_datastream_file_size":"500M"
}
The /describe
endpoint takes no parameters, and only returns a JSON response. If you want to modify the output of /describe
, this module provides a hook to do so. See islandora_rest_extras.api.php for more information.
Install as usual, see this for further information.
Configuration options are available at Administration > Islandora > Islandora Utility Modules > Islandora REST Extras (admin/islandora/tools/rest_extras
). Access to the /describe
endpoint requires the user to have the "View repository describe" permission.
Bug reports, use cases, feature requests, and pull requests are welcome. Please open an issue before opening a pull request.