Documentation

APIs

APIXMLJSONTurtle
getNudsNUDS/XML
getRDFRDF/XML

Get NUDS

Get an aggregated NUDS/XML serialization based on the recordIds in the collection.
Webservice Type : REST
Url: https://coins.warwick.ac.uk/token-specimens/apis/getNuds?
Parameters : identifiers (recordIds divided by a pipe '|')
Result : returns NUDS/XML records aggregated in a nudsGroup root element.
Example: apis/getNuds?identifiers=ashmolean.milne.5283i|ashmolean.milne.5440|ashmolean.milne.s5451a

Get RDF

Get an aggregated RDF/XML serialization based on the recordIds in the collection.
Webservice Type : REST
Url: https://coins.warwick.ac.uk/token-specimens/apis/getRDF?
Parameters : identifiers (recordIds divided by a pipe '|')
Result : returns RDF/XML triples for given objects/hoards/coin types.
Example: apis/getRDF?identifiers=ashmolean.milne.5283i|ashmolean.milne.5440|ashmolean.milne.s5451a

Data Access

Individual Records

Numishare supports delivery of individual records in a variety of models and serializations through both REST and content negotiation. Content negotiation (with the accept header) requests should be sent to the URI space https://coins.warwick.ac.uk/token-specimens/id/. Requesting an unsupported content type will result in an HTTP 406: Not Acceptable error.

ModelRESTContent Type
HTMLhttps://coins.warwick.ac.uk/token-specimens/id/{$id}text/html
NUDS/XMLhttps://coins.warwick.ac.uk/token-specimens/id/{$id}.xmlapplication/xml
KMLhttps://coins.warwick.ac.uk/token-specimens/id/{$id}.kmlapplication/vnd.google-earth.kml+xml
RDF/XMLhttps://coins.warwick.ac.uk/token-specimens/id/{$id}.rdfapplication/rdf+xml
Turtlehttps://coins.warwick.ac.uk/token-specimens/id/{$id}.ttltext/turtle
JSON-LDhttps://coins.warwick.ac.uk/token-specimens/id/{$id}.jsonldapplication/ld+json
geoJSONhttps://coins.warwick.ac.uk/token-specimens/id/{$id}.geojsonapplication/vnd.geo+json

Search Results

Search results (the browse page) are returned in HTML5, but Numishare supports Atom and RSS via REST, as well as Atom and raw Solr XML via content negotiation of the browse page URL, https://coins.warwick.ac.uk/token-specimens/results. The REST-based Atom feed sorts by the Lucene syntax 'timestamp desc' by default, but the sort parameter may be provided manually to alter the default field and order.

ModelRESTContent Type
HTMLhttps://coins.warwick.ac.uk/token-specimens/resultstext/html
Atomhttps://coins.warwick.ac.uk/token-specimens/feed/application/atom+xml
RSShttps://coins.warwick.ac.uk/token-specimens/apis/search?q=*:*&format=rssN/A
Solr/XMLN/Aapplication/xml

Geographic Responses

Search results may also be serialized into geographic models when relevant, for example to show the mints, findspots, or subjects related to the current query. Results are made available in KML and geoJSON.

Response TypegeoJSONKML
Mintshttps://coins.warwick.ac.uk/token-specimens/mints.geojsonhttps://coins.warwick.ac.uk/token-specimens/mints.kml
Findspotshttps://coins.warwick.ac.uk/token-specimens/findspots.geojsonhttps://coins.warwick.ac.uk/token-specimens/findspots.kml
Subjectshttps://coins.warwick.ac.uk/token-specimens/subjects.geojsonhttps://coins.warwick.ac.uk/token-specimens/subjects.kml

Nomisma RDF Dump

Data dumps conforming to the Nomisma ontology are linked on the index page. At present, these files are only available in RDF/XML.

Pelagios RDF Dump

Data dumps conforming to the Pelagios 3 model are linked on the index page. At present, these files are only available in RDF/XML.