API | XML | JSON | Turtle |
---|---|---|---|
getNuds | NUDS/XML | ||
getRDF | RDF/XML |
Get an aggregated NUDS/XML serialization based on the recordIds in the collection.
Webservice Type : REST
Url: http://coinhoards.org/apis/getNuds?
Parameters : identifiers (recordIds divided by a pipe '|')
Result : returns NUDS/XML records aggregated in a nudsGroup root element.
Example: apis/getNuds?identifiers=igch1176|igch1177|igch1178
Get an aggregated RDF/XML serialization based on the recordIds in the collection.
Webservice Type : REST
Url: http://coinhoards.org/apis/getRDF?
Parameters : identifiers (recordIds divided by a pipe '|')
Result : returns RDF/XML triples for given objects/hoards/coin types.
Example: apis/getRDF?identifiers=igch1176|igch1177|igch1178
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 http://coinhoards.org/id/. Requesting an unsupported content type will result in an HTTP 406: Not Acceptable error.
Model | REST | Content Type |
---|---|---|
HTML | http://coinhoards.org/id/{$id} | text/html |
NUDS/XML | http://coinhoards.org/id/{$id}.xml | application/xml |
KML | http://coinhoards.org/id/{$id}.kml | application/vnd.google-earth.kml+xml |
RDF/XML | http://coinhoards.org/id/{$id}.rdf | application/rdf+xml |
Turtle | http://coinhoards.org/id/{$id}.ttl | text/turtle |
JSON-LD | http://coinhoards.org/id/{$id}.jsonld | application/ld+json |
geoJSON | http://coinhoards.org/id/{$id}.geojson | application/vnd.geo+json |
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, http://coinhoards.org/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.
Model | REST | Content Type |
---|---|---|
HTML | http://coinhoards.org/results | text/html |
Atom | http://coinhoards.org/feed/ | application/atom+xml |
RSS | http://coinhoards.org/apis/search?q=*:*&format=rss | N/A |
Solr/XML | N/A | application/xml |
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.
Data dumps conforming to the Nomisma ontology are linked on the index page. At present, these files are only available in RDF/XML.
Data dumps conforming to the Pelagios 3 model are linked on the index page. At present, these files are only available in RDF/XML.