Skip to content

Utility module that provides additional functionality for Islandora's REST interface.

License

Notifications You must be signed in to change notification settings

mjordan/islandora_rest_extras

Repository files navigation

Islandora REST Extras

This module was originally named 'islandora_rest_ingester_extras' but was renamed 'islandora_rest_extras' on January 9, 2018.

Introduction

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 POSTed; the JSON returned by a requst to islandora/rest/v1/describe is like this, where 500M 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.

Requirements

Installation

Install as usual, see this for further information.

Configuration

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.

Maintainer

Development and feedback

Bug reports, use cases, feature requests, and pull requests are welcome. Please open an issue before opening a pull request.

License

About

Utility module that provides additional functionality for Islandora's REST interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages