The current idea for specifying the access through an API is to add the constraint interface with the possible attributes "OAI-PMH" and "IIIF" and allowing them to be accessed "internal" or "external".
That would bring us more attributes, that
- would not fit nicely into our current schema (single word, lowercae)
- only allows two values, that are the same for both (basically a boolean schema)
- would leave out all other used APIs (every extra one would need a new extension)
Standard APIs in GLAM are:
- IIIF Image API
- IIIF Presentation API
- OAI-PMH
- ResourceSync
- SRU / SRW
- SPARQL
My proposal would be to name the constraint "api" and the matching attribute "apis", which can take a list of availble APIs.
I'm not sure why the "internal" and "external" would be needed, when we already restrict this already through inside, groups, subnet , etc.
So currently it would be encoded as
<restriction type="interface" OAI-PMH="internal" />
<restriction type="interface" IIIF="internal" />
With the arguments above it could be:
<restriction type="inside" location="SLUB" />
<restriction type="api" apis="IIIF OAI-PMH" />
But the basic question is if objects need to blocked completely for a single API, or are the other restrictions enough.
From my point of view the mets extension should be sufficient for provisioning through apis.
The current idea for specifying the access through an API is to add the constraint
interfacewith the possible attributes "OAI-PMH" and "IIIF" and allowing them to be accessed "internal" or "external".That would bring us more attributes, that
Standard APIs in GLAM are:
My proposal would be to name the constraint "api" and the matching attribute "apis", which can take a list of availble APIs.
I'm not sure why the "internal" and "external" would be needed, when we already restrict this already through
inside,groups,subnet, etc.So currently it would be encoded as
With the arguments above it could be:
But the basic question is if objects need to blocked completely for a single API, or are the other restrictions enough.
From my point of view the
metsextension should be sufficient for provisioning through apis.