islandora / pdx
Top level container for the various PCDM related Islandora CLAW microservices
Requires
- easyrdf/easyrdf: ^0.9.1
- islandora/chullo: ^0.0
- islandora/crayfish: ^0.0
- ml/json-ld: ^1.0
- moust/silex-cache: 1.0.*@dev
- silex/silex: ^1.3
- symfony/config: ^3.0
- symfony/yaml: ^3.0
- twig/twig: ^1.23
Requires (Dev)
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ^2.0@dev
This package is not auto-updated.
Last update: 2022-02-01 12:58:27 UTC
README
This is a top level container for the various PCDM related Islandora CLAW microservices. It allows you to mount the various endpoints at one port on one machine and makes a development vagrant/docker configuration easier to produce.
Requirements
Installation
You will need to copy the configuration file example.settings.yml to either settings.yml or settings.dev.yml (if $app['debug'] = TRUE) and change any required settings.
You can run just this service using PHP by executing
php -S localhost:<some port> -t src/ src/index.php
from this directory to start it running.
Services
This mounts all the various individual microservices under the /islandora
URL, so you currently have access to
- CollectionService at
/islandora/collection
See the individual services for more information on their endpoints.
CollectionService
This an Islandora PHP Microservice to create PCDM:Collections and add/remove PCDM:Objects to a PCDM:Collection.
Services
The CollectionService provides the following endpoints for HTTP requests.
Note: The UUID is of the form 18c67794-366c-a6d9-af13-b3464a1fb9b5
-
POST to
/collection
for creating a new PCDM:Collection at the root level
-
POST to
/collection/{uuid}
for creating a new PCDM:Collection as a child of resource {uuid}
-
POST to
/collection/{uuid}/member/{member}
for adding the resource identifier by the UUID {member} to the collection identified by the UUID {uuid}
-
DELETE to
/collection/{uuid}/member/{member}
for removing the resource identifier by the UUID {member} from the collection identified by the UUID {uuid}
Sponsors
- UPEI
- discoverygarden inc.
- LYRASIS
- McMaster University
- University of Limerick
- York University
- University of Manitoba
- Simon Fraser University
- PALS
- American Philosophical Society
- common media inc.