Public API Reference

Version 2.0.1
#

Introduction

The DigitaltMuseum Public API provides access to cultural heritage data from museums in Norway and Sweden. An API key is required; use demo for testing.

Base URL: /

Response Formats: JSON, XML

Search Engine: Apache Solr

#

Owners

List museums (owners) by country:

/api/owners?country=no&api.key=demo
Open ↗
/api/owners?country=se&api.key=demo
Open ↗

Each owner element includes:

#

Fields

Stored Fields (display)

Indexed Fields (searchable)

#

Examples

Standard legacy solr Free-text search for "ølbolle" in NF and MH:

/api/solr/select?q=%C3%B8lbolle&wt=json&fq=(identifier.owner:NF%20OR%20identifier.owner:MH)&api.key=demo
Open ↗

ML vector search in metadata "hester i vinterlandskap":

/api/solr/select?metadata_q=hester%20i%20vinterlandskap&wt=json&api.key=demo
Open ↗

ML vector search in image content "hester i vinterlandskap":

/api/solr/select?image_content_q=hester%20i%20vinterlandskap&wt=json&api.key=demo
Open ↗

ML vector search similar images from image-url":

/api/solr/select?rows=10&api.key=demo&image_url_q=https%3A%2F%2Fframmuseum.no%2Ffilarkiv%2Fexplorers%2Fno-nb_bldsa_1a011_large.jpg
Open ↗

Objects with images:

/api/solr/select?q=%C3%B8lbolle&wt=json&fq=(identifier.owner:NF%20OR%20identifier.owner:MH)&fq=artifact.hasPictures:true&api.key=demo
Open ↗

Field search for Oslo:

/api/solr/select?q=artifact.event.place:(oslo)&wt=json&api.key=demo
Open ↗
#

Types

#

Artifact Endpoint

Retrieve full object record by owner and identifier:

/api/artifact?owner={identifier.owner}&identifier={identifier.id}&mapping={MAPPING}&api.key=demo
Open ↗

lookup via unique_id:

/api/artifact?unique_id={artifact.uniqueId}&mapping=simple_json&api.key=demo
Open ↗

lookup via uuid:

/api/artifact?unique_id={artifact.uuid}&mapping=simple_json&api.key=demo
Open ↗

NB: ONLY mapping for legacy artifact json is available in this test

Valid mapping values:

#

Multimedia

Retrieve images via the Multimedia Server:

https://ems.dimu.org/image/{artifact.defaultMediaIdentifier}?dimension={WIDTH}x{HEIGHT}[-crop]
Open ↗

Example dimensions:

Images are not upsampled; size availability varies by provider.

#

Contact

For technical support, email support@kulturit.no.