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"
}
]
}, - "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"
}
]
}
}, - "facets": {
- "name": "collections",
- "displayName": "Collections",
- "type": "Facet",
- "items": {
- "Archives and Modern Manuscripts": 3,
- "Bindings": 1
}
}, - "title": [
- "Western Medieval Manuscripts"
], - "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}
}
Fulltext queries can be performed on collections by accessing this route using a GET request and submitting
a string containing the collection name and 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=(languages:English)
. 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.
name required | string Example: western-medieval-manuscripts The name of the collection |
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. |
{- "query": [
- {
- "q": [
- "MS Bodl. 264"
], - "fq": [
- "completeness:complete"
]
}
], - "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"
}
]
}, - "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"
}
]
}
}, - "facets": {
- "name": "collections",
- "displayName": "Collections",
- "type": "Facet",
- "items": {
- "Archives and Modern Manuscripts": 3,
- "Bindings": 1
}
}, - "title": [
- "Western Medieval Manuscripts"
], - "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}
}
Partner collections are retrieved by accessing this route using a GET request and submitting a string containing
the partner name, e.g., /partners/balliol
.
name required | string Example: balliol The name of the partner |
{- "type": "db:Collection",
- "view": {
- "type": "PartialCollectionView",
- "totalPages": 20
}, - "totalItems": 802,
- "member": {
- "displayFields": {
- "shelfmark": [
- "Balliol College MS 238A"
], - "people": [
- "Bandini, Domenico",
- "Werken, Theodoricus"
], - "origins": [
- "string"
], - "languages": [
- "Latin"
], - "title": [
- "Fons memorabilium uniuersi (Part I)"
], - "dateStatement": [
- "1444–1448"
]
}, - "type": "Object",
- "shelfmark": "Balliol College MS 238A",
- "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}, - "saved": true
}, - "facets": {
- "name": "collections",
- "displayName": "Collections",
- "type": "Facet",
- "items": {
- "Archives and Modern Manuscripts": 3,
- "Bindings": 1
}
}, - "title": [
- "Western Medieval Manuscripts"
], - "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}, - "logo": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}
}
Fulltext queries can be performed on collections by accessing this route using a GET request and submitting
a string containing the partner's name and 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=(languages:English)
. 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.
name required | string Example: balliol The name of the partner |
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. |
{- "query": [
- {
- "q": [
- "Balliol College MS 238A"
], - "fq": [
- "completeness:complete"
]
}
], - "type": "db:Collection",
- "view": {
- "type": "PartialCollectionView",
- "totalPages": 20
}, - "totalItems": 802,
- "member": {
- "displayFields": {
- "shelfmark": [
- "Balliol College MS 238A"
], - "people": [
- "Bandini, Domenico",
- "Werken, Theodoricus"
], - "origins": [
- "string"
], - "languages": [
- "Latin"
], - "title": [
- "Fons memorabilium uniuersi (Part I)"
], - "dateStatement": [
- "1444–1448"
]
}, - "type": "Object",
- "shelfmark": "Balliol College MS 238A",
- "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}, - "saved": true
}, - "facets": {
- "name": "collections",
- "displayName": "Collections",
- "type": "Facet",
- "items": {
- "Archives and Modern Manuscripts": 3,
- "Bindings": 1
}
}, - "title": [
- "Western Medieval Manuscripts"
], - "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}, - "logo": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}
}
A surface represents a page in an object.
surface_id required | string <uuid> The ID of the surface |
object_id required | string <uuid> The ID of the object containing the surface |
{- "type": "Surface",
- "description": "Upper Board",
- "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}, - "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. ..."
]
}
}
An object represents a physical object in the collection. For example, this can be a map, a board game, or a manuscript.
object_id required | string <uuid> Example: faeff7fb-f8a7-44b5-95ed-cff9a9ffd198 The ID of the object to retrieve |
{- "surfaceCount": 802,
- "collections": [
- {
- "type": "db:Collection",
- "title": "string",
- "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}
}
], - "exhibitions": [
- {
- "type": "db:Collection",
- "title": "string",
- "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}
}
], - "related": [
- {
- "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"
}
]
}
}
], - "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"
}
]
}
}
Search the surfaces belonging to the given object. This accepts the same parameters as the main search API,
except for the sort
parameter, since surfaces are expected to be returned in the order in which they appear
in the document.
object_id required | string <uuid> Example: faeff7fb-f8a7-44b5-95ed-cff9a9ffd198 The ID of the object containing the surfaces |
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 |
rows | string Enum: "20" "40" "100" The number of results per page. |
{- "member": [
- {
- "order": 24,
- "type": "Object",
- "description": "Upper Board",
- "thumbnail": {
- "type": "Image",
- "format": "image/jpeg",
- "service": [
- {
- "type": "ImageService2",
- "profile": "level1"
}
]
}, - "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. ..."
]
}, - "surfaceCount": 802,
- "resultsWithin": {
- "totalItems": 101,
}, - "shelfmark": "Bodleian Library MS Bodl. 264",
- "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"
}
]
}
}
], - "type": "Collection",
- "query": [
- {
- "q": [
- "ms ashmole 1511"
], - "fq": [
- "completeness:complete"
]
}
], - "view": {
- "type": "PartialCollectionView",
- "totalPages": 20
}, - "totalItems": 400,
- "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"
}
]
}
}
A GET request can be used on /account
to retrieve a response containing the user account data.
Users performing a GET request who are not authenticated will receive a 401
response,
indicating that they are not operating as a logged-in user.
The GET response for authenticated users will contain account information including a
savedSearches
and a savedObjects
key containing searches and objects saved by the user.
{- "type": "db:Account",
- "email": "string",
- "name": "string",
- "isStaff": true,
- "savedSearches": [
- [
- {
- "name": "Search Example",
- "route": "/search/",
- "created": "2019-11-05 14:51:50"
}
]
], - "savedObjects": [
- [
- {
- "tags": [
- "Elizabethan",
- "Drama"
], - "displayFields": {
- "shelfmark": "Bodleian Library Arch. G c.7",
- "people": [
- "Heminge, John, approximately 1556-1630",
- "Condell, Henry, -1627",
- "Holland, Hugh",
- "Shakespeare, William, 1564-1616",
- "Jonson, Ben",
- "Digges, L.",
- "Smethwicke, John, -1641",
- "Aspley, William, -1640",
- "Blount, Edward, active 1588-1632",
- "Jaggard, Isaac, -1627"
], - "origins": [
- "London"
], - "languages": [
- "English"
], - "title": "Mr. VVilliam Shakespeares comedies, histories, & tragedies.: Published according to the True Originall Copies.",
- "dateStatement": [
- "1623"
]
}
}
]
]
}
Searches are saved to the user account by accessing this route with a POST request containing a valid JSON
object. Searches can be saved from the search page e.g. /search/?q=Shakespeare
or via a collection page e.g.
/partners/balliol/?q=Shakespeare
by changing the route value in the request body to /search/
or /partners/balliol/
etc.
name | string An optional name for the search the user wishes to save. It must be in valid JSON format, e.g.,
|
route required | string The route for where the search is being saved from. If must be in valid JSON format, e.g.,
|
search required | string The query string containing the search parameters used for the search the account user wishes to
save. The leading question mark must be omitted. It must be in valid JSON format, e.g.,
|
{- "name": "Shakespeare in English",
- "route": "/search/",
- "search": "q=Shakespeare&fq=languages:English"
}
{- "id": "550ff925-d87b-4e8a-a5b7-c9ecd3bef265",
- "name": "Shakespeare in Western English",
- "route": "/search/",
- "search": [
- {
- "q": [
- "Shakespeare"
], - "fq": [
- "collections:Western",
- "languages:English",
- "page=10",
- "rows=20",
- "sort='shelfmark_asc'"
]
}
], - "created": "2019-11-05 14:51:50"
}
Searches are deleted from the user account by accessing this route using a DELETE request and
submitting a primary key in UUID format as a part of the path, e.g., /account/searches/550ff925-d87b-4e8a-a5b7-c9ecd3bef265
.
saved_search_id required | string <uuid> Example: 550ff925-d87b-4e8a-a5b7-c9ecd3bef265 The value of the ID of a saved search in UUID format |
Objects are saved to the user account by accessing this route with a POST request containing a valid JSON object.
object | string The URL of the object the user wishes to save. It must be in valid JSON format, e.g.,
|
tags | object The list of tags the user wishes the saved object to be grouped under. It must be in valid JSON
format, e.g., |
surfaces | object The list of surfaces the user wishes to save from the object. The surfaces listed must all be the URLS of existing surfaces.
It must be in valid JSON format, e.g., |
{- "tags": [
- "Shakespeare",
- "Elizabethan Drama"
],
}
{- "tags": [
- "Shakespeare",
- "Elizabethan Drama"
], - "displayFields": [
- {
- "shelfmark": "Bodlian Library Arch. G c.7",
- "people": [
- "Heminge, John, approximately 1556-1630",
- "Condell, Henry, -1627",
- "Jonson, Ben",
- "Holland, Hugh",
- "Digges, L.",
- "Shakespeare, William, 1564-1616",
- "Aspley, William, -1640",
- "Smethwicke, John, -1641",
- "Jaggard, Isaac, -1627",
- "Blount, Edward, active 1588-1632"
], - "origins": [
- "London"
], - "languages": [
- "English"
], - "title": "Mr. VVilliam Shakespeares comedies, histories, & tragedies.: Published according to the True Originall Copies.",
- "dateStatement": [
- "1623"
]
}
]
}
Saved objects are updated by accessing this route with a PUT request containing a valid JSON object and
submitting a primary key in UUID format as a part of the path, e.g., /account/objects/390fd0e8-9eae-475d-9564-ed916ab9035c
saved_object_id required | string <uuid> Example: 390fd0e8-9eae-475d-9564-ed916ab9035c The value of the ID of a saved object in UUID format |
tags | object The list of tags the user wishes the saved object to be grouped under. It must be in valid JSON
format, e.g., |
surfaces | object The list of surfaces the user wishes to save from the object. The surfaces listed must all be valid UUIDs.
It must be in valid JSON format, e.g., |
{- "tags": [
- "Shakespeare",
- "Elizabethan Drama"
], - "surfaces": [
- "a13ee009-596c-4151-8f4c-568b0c2ce2cc",
- "a024a538-aef3-44b3-ad11-51c6a8b04ea2"
]
}
{- "tags": [
- "Shakespeare",
- "Elizabethan Drama"
], - "displayFields": [
- {
- "shelfmark": "Bodlian Library Arch. G c.7",
- "people": [
- "Heminge, John, approximately 1556-1630",
- "Condell, Henry, -1627",
- "Jonson, Ben",
- "Holland, Hugh",
- "Digges, L.",
- "Shakespeare, William, 1564-1616",
- "Aspley, William, -1640",
- "Smethwicke, John, -1641",
- "Jaggard, Isaac, -1627",
- "Blount, Edward, active 1588-1632"
], - "origins": [
- "London"
], - "languages": [
- "English"
], - "title": "Mr. VVilliam Shakespeares comedies, histories, & tragedies.: Published according to the True Originall Copies.",
- "dateStatement": [
- "1623"
]
}
]
}
Saved objects are updated by accessing this route with a PATCH request containing a valid JSON object and
submitting a primary key in UUID format as a part of the path, e.g., /account/objects/390fd0e8-9eae-475d-9564-ed916ab9035c
.
saved_object_id required | string <uuid> Example: 390fd0e8-9eae-475d-9564-ed916ab9035c The value of the ID of a saved object in UUID format |
tags | object The list of tags the user wishes the saved object to be grouped under. It must be in valid JSON
format, e.g., |
surfaces | object The list of surfaces the user wishes to save from the object. The surfaces listed must all be valid UUIDs.
It must be in valid JSON format, e.g., |
{- "tags": [
- "Shakespeare",
- "Elizabethan Drama"
], - "surfaces": [
- "a13ee009-596c-4151-8f4c-568b0c2ce2cc",
- "a024a538-aef3-44b3-ad11-51c6a8b04ea2"
]
}
{- "tags": [
- "Shakespeare",
- "Elizabethan Drama"
], - "displayFields": [
- {
- "shelfmark": "Bodlian Library Arch. G c.7",
- "people": [
- "Heminge, John, approximately 1556-1630",
- "Condell, Henry, -1627",
- "Jonson, Ben",
- "Holland, Hugh",
- "Digges, L.",
- "Shakespeare, William, 1564-1616",
- "Aspley, William, -1640",
- "Smethwicke, John, -1641",
- "Jaggard, Isaac, -1627",
- "Blount, Edward, active 1588-1632"
], - "origins": [
- "London"
], - "languages": [
- "English"
], - "title": "Mr. VVilliam Shakespeares comedies, histories, & tragedies.: Published according to the True Originall Copies.",
- "dateStatement": [
- "1623"
]
}
]
}
Saved objects are deleted from the user account by accessing this route using a DELETE request and
submitting a primary key in UUID format as a part of the path, e.g., /account/objects/390fd0e8-9eae-475d-9564-ed916ab9035c
.
saved_object_id required | string <uuid> Example: 390fd0e8-9eae-475d-9564-ed916ab9035c The value of the ID of a saved object in UUID format |