Open rogerhyam opened 3 years ago
I've bumped this out as a separate issue. I'd like to be able to search the API for specimens that have IIIF Manifests but can't specify it because there is no associated MediaType.
i.e. do this
https://api.gbif.org/v1/occurrence/search?q=Rhododendron&mediaType=InteractiveResource
Hi - just to provide a use case here - I am leading an AHRC funded project (including the RBGE) looking at the use of IIIF and one of the outputs is to create a Simple IIIF Discovery system (https://research.ng-london.org.uk/ss-iiif/) to allow people to run simple text based searches over complex APIs and visualise the results based on IIIF resources.
If this new mediatype is added in I should be able to provide the same interface option for the GBIF API, which would be key for our project and helpful for less specialist users exploring the system.
Thanks
Hi, Just checking, is there any possibility of this happening soon? My related project is coming to an end soon so I just thought I would ask. Thanks
Hi @jpadfield, it should happen soon, that's why I just transferred the issue.
@muttcg / @fmendezh -- please add a new MediaType of InteractiveResource
, supporting a format of application/ld+json
. Interpretation of dc:type and dc:format is straightforward.
(We will leave ac:serviceExpectation or similar for later, it's less clear what we might do there.)
The media type can be used immediately to search and identify occurrences with IIIF images/video/sound/etc, i.e. https://www.gbif.org/occurrence/search?media_type=InteractiveResource and https://api.gbif.org/v1/occurrence/search?media_type=InteractiveResource
This occurrence would then have a media section including:
{
"type": "InteractiveResource",
"format": "application/json+ld",
"description": "IIIF Manifest for specimen E00010016",
"creator": "Royal Botanic Garden Edinburgh",
"license": "http://creativecommons.org/publicdomain/zero/1.0/",
"rightsHolder": "Royal Botanic Garden Edinburgh",
"identifier": "https://iiif.rbge.org.uk/herb/iiif/E00010016/manifest"
},
Did this die or is it still in the pipeline somewhere. We are discussing IIIF at CETAF and it'd be nice to have this enabled.
@rogerhyam It is in the progress, I will notify you when it is ready
Cool. I'll have a play when I get a chance.
Hi - Just to say I have now had a chance to add GBIF to my simple IIIF Discovery system - It is not bullet proof but it seems to work :-)
When this is in a state that you like @muttcg, then please tell. portal16, translations, graphql and react components needs to be updated accordingly.
Yes - that is the intention. But it requires a little change in the GBIF API: https://api.gbif.org/v1/enumeration/basic/MediaType. in this response, you will see that type and format are missing for "InteractiveResource" and "application/ld+json":
Originally posted by @thomasstjerne in https://github.com/gbif/portal16/issues/1570#issuecomment-873976382