Add a permanent URL for non-specimen records
Closed this issue · 1 comments
jrdh commented
Overview
The specimen records get a special endpoint all to themselves /object/
which is supposed to be used as a permanent URL for citation to the record.
You can also add the version to the end to get a permanent reference to a specific version of the record.
All the other records (including index lot and artefacts) don't get any special URL.
Possible Solutions
- Could reuse the
/object/
endpoint but create a unique ID that combines the resource ID with the record ID using a hyphen to make it look like a GUID? E.g. for https://data.nhm.ac.uk/dataset/join-the-dots-collection-level-descriptions/resource/660de433-447b-40ad-9aaf-77c98f8c2ba9/record/4633, maybe https://data.nhm.ac.uk/object/660de433-447b-40ad-9aaf-77c98f8c2ba9-4633? - Could reuse the
/object/
endpoint but create a unique ID that combines the resource ID with the record ID using a slash? E.g. for https://data.nhm.ac.uk/dataset/join-the-dots-collection-level-descriptions/resource/660de433-447b-40ad-9aaf-77c98f8c2ba9/record/4633, maybe https://data.nhm.ac.uk/object/660de433-447b-40ad-9aaf-77c98f8c2ba9/4633? - Could use a different endpoint say
/record/
or something else?
some other ideas?!...
alycejenni commented
I went with /record/
instead of adding onto /object/
because I don't want to cause any clashes or other issues with our existing URLs.