Use case 2 - Programmers use API for access condition support in external systems, i.e. Hydra

Title (goal)
Programmers use API for access condition support in external systems, i.e. Hydra
Primary ActorIT/programming
Scope 
LevelUser goal
Story

A programmer can use an API in Fedora that will provide access conditions for a requested object.

In an ideal implementation I could make a request to Fedora with a PID and the data stream, the API would then return the requirements for access. For example, a URL might look like http://fedora/PID/TIF/access and then returns something sort of JSON or XML that has all the access information for the specific request. If the data stream type is not specified then all access information would be returned.

Since we also would like to contain information related to born digital/emulation environments, this output would also list the restrictions for environments for accessing materials.

4 Comments

  1. Andrew Woods will test to see if this use case can be satisfied in the 4.0-Alpha-4 build.

    1. This use case is likely supported, but needs verification from Michael Friscia. See: authorization API

      Currently, a repo manager is able to set an ACL on objects and/or datastreams. By subsequently using "GET /resource/fcr:accessroles", the ACL is returned in JSON format. Of course the user making the GET request needs to have "read" privileges on the resource.

  2. Michael Friscia can you review Andrew's comment above? We need to get the use cases for the 4.0 beta through acceptance testing as soon as possible. Thanks!

  3. I confirmed with Osman and Eric that the functionality exists. This functionality is supported. Thanks.