Download OpenAPI specification:Download
Fulltext queries are performed by setting the value of the q
parameter in the
querystring. Complex operations for filtering can be accomplished by using Lucene query syntax in the fq
parameter, e.g., fq=(collections:"Arabic" OR collections:"Western)
. This has been tested with AND, OR, and
NOT operators. Multiple fq
parameters provided will be treated as AND
statements.
The response is an object that can be parsed for a page of search results. The member
key contains an array of
search results, if any were found. Results to a query are sorted by relevance by default
in this array. The sorting of the array can be controlled with the sort
query parameter.
q | string Enum: "binding" "collections" "contents" "date" "decorations" "description" "hands" "holding-institution" "inscriptions" "languages" "materials" "musical-notation" "provenance" "shelfmark" "titles" "architects" "people" "artists" "authors" "cartographers" "commentators" "composers" "compilers" "draughtsmen" "editors" "engravers" "former-owners" "illustrators" "origins" "patrons" "photographers" "printers" "publishers" "sitters" "translators" "performers" Example: q=unicorns A fulltext search query. This supports some Lucene search syntax, such as the fuzzy operator ( |
page | integer Example: page=10 The page number. |
fq | string Enum: "collections" "completeness" "origins" "languages" "has-musical-notation" Example: fq=collections:"Arabic"&fq=(collections:"Arabic" OR collections:"Western)&fq=date:[700 TO 900] A filter to apply to the query. Use this with Lucene syntax to filter on a given value, e.g.,
completeness:Yes for completely digitised objects or has-musical-notation:No for objects without musical notation.
Fields from the list above are supported.
Multiple |
sort | string Enum: "relevance" "shelfmark" "published" "date" Example: sort=date desc Controls the sort order of the results. |
rows | string Enum: "20" "40" "100" The number of results per page. |
{- "suggestedCollections": [
- {
- "type": "db:Collection",
- "title": "string",
- "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}
}
], - "facets": [
- {
- "name": "collections",
- "displayName": "Collections",
- "type": "Facet",
- "items": {
- "Archives and Modern Manuscripts": 3,
- "Bindings": 1
}
}
], - "type": "Collection",
- "query": [
- {
- "q": [
- "ms ashmole 1511"
], - "fq": [
- "completeness:complete"
]
}
], - "view": {
- "type": "PartialCollectionView",
- "totalPages": 20
}, - "totalItems": 400,
- "member": [
- {
- "surfaceCount": 802,
- "resultsWithin": {
- "totalItems": 101,
}, - "displayFields": {
- "shelfmark": [
- "string"
], - "people": [
- "string"
], - "origins": [
- "string"
], - "languages": [
- "string"
], - "title": [
- "string"
], - "dateStatement": [
- "string"
], - "snippet": [
- "... Speech welcoming <em>Henry</em> <em>VII</em> to Cambridge University. ..."
]
}, - "type": "Object",
- "shelfmark": "Bodleian Library MS Bodl. 264",
- "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}, - "saved": true,
- "contacts": {
- "imaging": [
- {
- "text": "Image rights and reuse enquiries"
}, - {
- "links": {
- "url": "mailto:imaging@bodleian.ox.ac.uk?subject=Bodleian%20Library%20MS.%20Bodl.%20264",
- "text": "imaging@bodleian.ox.ac.uk"
}
}
], - "object": [
- {
- "text": "Enquiries about this object"
}, - {
- "links": {
}
}
], - "technical": [
- {
- "text": "Technical enquiries and questions about the digital collections"
}, - {
- "links": {
- "url": "mailto:digital-bodleian@bodleian.ox.ac.uk?subject=Bodleian%20Library%20MS.%20Bodl.%20264",
- "text": "digital-bodleian@bodleian.ox.ac.uk"
}
}
]
}, - "logo": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}
}
], - "contacts": {
- "imaging": [
- {
- "text": "Image rights and reuse enquiries"
}, - {
- "links": {
- "url": "mailto:imaging@bodleian.ox.ac.uk?subject=Bodleian%20Library%20MS.%20Bodl.%20264",
- "text": "imaging@bodleian.ox.ac.uk"
}
}
], - "object": [
- {
- "text": "Enquiries about this object"
}, - {
- "links": {
}
}
], - "technical": [
- {
- "text": "Technical enquiries and questions about the digital collections"
}, - {
- "links": {
- "url": "mailto:digital-bodleian@bodleian.ox.ac.uk?subject=Bodleian%20Library%20MS.%20Bodl.%20264",
- "text": "digital-bodleian@bodleian.ox.ac.uk"
}
}
]
}, - "logo": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}
}
Digital Bodleian collections are retrieved by accessing this route using a GET request and submitting a string
containing the collection name, e.g., /collections/western-medieval-manuscripts
.
name required | string Example: western-medieval-manuscripts The name of the collection |
{- "type": "db:Collection",
- "view": {
- "type": "PartialCollectionView",
- "totalPages": 20
}, - "totalItems": 802,
- "member": {
- "displayFields": {
- "shelfmark": [
- "Bodleian Library MS. Bodl. 264"
], - "people": [
- "Gillray, James, 1756-1815"
], - "origins": [
- "string"
], - "languages": [
- "English"
], - "title": [
- "Very slippy-weather: St. Jame's Street"
], - "dateStatement": [
- "1808-02-10"
]
}, - "type": "Object",
- "shelfmark": "Bodleian Library MS Bodl. 264",
- "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
},