Hi all,
the signposting implementation according to the FAIR profile has been merged in DSpace so it will be part of the coming 7.6 (expected on 27th June).
The current code is deployed on the public community demo so it would be appreciated a final check to verify that we haven't overseen anything.
These are two sample URLs
The publication landing page
curl -v
https://demo7.dspace.org/entities/publication/1974d7d3-9648-4dbe-b083-56374f5314e4 | more
> Link: <
https://demo7.dspace.org/bitstreams/7193727d-5f9f-42a9-b1a6-521cc116e2b2/download> ; rel="item" ; type="application/pdf" , <
https://demo7.dspace.org/handle/10673/248> ; rel="cite-as" , <
https://schema.org/AboutPage> ; rel="type" ; type="text/html" , <
https://schema.org/ScholarlyArticle> ; rel="type" ; type="text/html"
and so the file can be downloaded at
curl -v
https://demo7.dspace.org/bitstreams/7193727d-5f9f-42a9-b1a6-521cc116e2b2/downloadLink: <
https://demo7.dspace.org/signposting/linksets/1974d7d3-9648-4dbe-b083-56374f5314e4> ; rel="linkset" ; type="application/linkset" , <
https://demo7.dspace.org/signposting/linksets/1974d7d3-9648-4dbe-b083-56374f5314e4> ; rel="linkset" ; type="application/linkset" , <
https://demo7.dspace.org/signposting/linksets/1974d7d3-9648-4dbe-b083-56374f5314e4/json> ; rel="linkset" ; type="application/linkset+json" , <
https://demo7.dspace.org/signposting/linksets/1974d7d3-9648-4dbe-b083-56374f5314e4/json> ; rel="linkset" ; type="application/linkset+json" , <
https://demo7.dspace.org/entities/publication/1974d7d3-9648-4dbe-b083-56374f5314e4> ; rel="collection" ; type="text/html" , <
https://demo7.dspace.org/entities/publication/1974d7d3-9648-4dbe-b083-56374f5314e4> ; rel="collection" ; type="text/html"
Please note that we are already aware of a couple of issues, that will be solved over the next few days but I don't wont to postpone further the request for your double check:
1. in the landing page the rel="type" links should hanve not the mimetype (i.e. type="text/html"
2.
https://demo7.dspace.org/signposting/linksets/1974d7d3-9648-4dbe-b083-56374f5314e4 only work if you specify the "Accept: application/linkset" Header in the request, this constrainst is going to be removed
3. the Link exposed for the file contains two times all the values
4. the file download is currently looking odd when you request it multiple times hitting the cache. You should get back a Location header redirecting you to the backend (i.e.
https://api7.dspace.org/core/bitstreams/7193727d-5f9f-42a9-b1a6-521cc116e2b2/contentThanks for your feedback on that,
Andrea