Table of Contents |
---|
Introduction
The International Image Interoperability Framework (IIIF) is a range of standards that were initially designed to offer a standardized and scallable way to describe how digital objects composed of one or more images can be displayed to an end-user. This offers the flexibility to developers and users to respectively develop and use different IIIF compatible viewers according to their needs and preferences. Since its first release, it has grown to cover other types of media such as sound and video, and soon also 3D.
The Europeana APIs offer for IIIF covers the Presentation API (versions 2.1 & 3), the Content Search API (version 1) and make use of the IIIF Image API when made available by content providers. Additionally, Europeana’s IIIF offer also includes support for fulltext (such as transcriptions, translations of transcriptions, captions and subtitles) via the IIIF Fulltext API using an EDM extension for fulltext. These APIs follow the specifications defined by the IIIF consortium.
Before starting to use these APIs, we recommend reading the Registering for an API key and reading the Terms of Use. If you want to get started with these APIs, go directly to the Getting Started section or try it out directly on the Console. If you want to get regular updates about the Europeana API, provide feedback and discuss it with other developers, we suggest to join the Europeana API discussion group at Google Groups.
IIIF datasets in Europeana: A Scholar’s delight
The recently launched Europeana Media player brings Europeana into a new era of International Image Interoperability Framework (IIIF) compatible, interoperable and unified playout of audiovisual heritage material online.
IIIF & Europeana Working Group
This dedicated IIIF & Europeana Working Group follows the first of the proposals from the Task Force 'Preparing Europeana for IIIF involvement.'
Impact Assessment report: EuropeanaTech and IIIF
This assessment looked at the impact of EuropeanaTech’s members, steering group and the Europeana Initiative’s work on IIIF - read a summary of theThe Europeana APIs offer for IIIF covers the Presentation API (versions 2.1 & 3), the Content Search API (version 1) and make use of the IIIF Image API when made available by content providers. Additionally, Europeana’s IIIF offer also includes support for fulltext (such as transcriptions, translations of transcriptions, captions and subtitles) via the IIIF Fulltext API using an EDM extension for fulltext. These APIs follow the specifications defined by the IIIF consortium.
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
You don’t need an API key for this API! |
Introduction
The International Image Interoperability Framework (IIIF) is a range of standards that were initially designed to offer a standardized and scallable way to describe how digital objects composed of one or more images can be displayed to an end-user. This offers the flexibility to developers and users to respectively develop and use different IIIF compatible viewers according to their needs and preferences. Since its first release, it has grown to cover other types of media such as sound and video, and soon also 3D.
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
IIIF datasets in Europeana: A Scholar’s delight
The recently launched Europeana Media player brings Europeana into a new era of International Image Interoperability Framework (IIIF) compatible, interoperable and unified playout of audiovisual heritage material online.
IIIF & Europeana Working Group
This dedicated IIIF & Europeana Working Group follows the first of the proposals from the Task Force 'Preparing Europeana for IIIF involvement.'
Impact Assessment report: EuropeanaTech and IIIF
This assessment looked at the impact of EuropeanaTech’s members, steering group and the Europeana Initiative’s work on IIIF - read a summary of the research and download the full report.
Retrieving a manifest
A manifest describes the information needed for a viewer to display a digital object to the end-user, such as basic metadata such as a title and description, and the content that makes part of the digital object. The manifest is not meant to present all the descriptive metadata associated to a given digital object but just the bare minimum for a user to grasp what it is about. If you wish to access the full metadata for an item, see the Record API. The manifest also offers links to the Record API using the “seeAlso“ field.
Presently, both version The manifests are generated on-the-fly by converting the metadata records represented in EDM into the IIIF Presentation API specification. Presently, both version IIIF Presentation API 2.1 & 3 of the IIIF specification are supported. The novelty of version 3 is that it also covers audio and video besides images.
Request
Code Block |
---|
https://iiif.europeana.eu/presentation/[RECORD_ID]/manifest Accept: [ACCEPT] |
Parameter | Location | Description |
---|---|---|
RECORD_ID | path | The identifier of the record which is composed of the dataset identifier plus a local identifier within the dataset in the form of "/DATASET_ID/LOCAL_ID", for more detail see Europeana ID. |
format
Accept | header | Used to indicate the |
mimetype of the format and IIIF |
Response
title | Response fields |
---|
Parameter
Datatype
Description
@context
String (URL)
version. The following indicate the Accept header to be used for version 2.1 and 3 respectively:
|
@id
String (URI)
The canonical identifier of the Manifest.
@type
String
The type of the resource. Always set to "sc:Manifest".
label
Array (LangObject)
The title(s) of the Item.
description
Array (LangObject)
The description(s) of the Item.
metadata
Metadata
A short list of metadata values.
thumbnail
Image
The thumbnail as defined in the edm:preview of the record.
navDate
String (xsd:dateTime)
The issue date of the Newspaper Item.
attribution
String
A human readable label that must be displayed when the item is displayed or used, presenting the copyright or ownership statements and an acknowledgement of the owning and/or publishing institution.
license
String (URI)
One of the rights statements defined for use in Europeana. It defines the copyright, usage and access rights that apply to this digital object.
logo
String (URL)
An image depicting the Europeana logo.
seeAlso
Array (Dataset)
sequences
Array (Sequence)
An array containing one only sequence.
Sequence
@id
String (URI)
The canonical identifier of the Sequence.
@type
String
The type of the resource. Always set to "sc:Sequence".
label
String
A label for the sequence. Always set to "Current Page Order".
startCanvas
String (URI)
The URI of the first canvas to be displayed. Typically the first page./td>
canvases
Array (Canvas)
An ordered list of Canvases.
Canvas
@id
String (URI)
The canonical identifier of the Canvas.
@type
String
The type of the resource. Always set to "sc:Canvas".
label
String
A label for the Canvas.
height
Number
The height of the canvas which corresponds to the height of the image./td>
width
Number
The width of the canvas which corresponds to the width of the image./td>
attribution
String
A human readable label that must be displayed when the item is displayed or used, presenting the copyright or ownership statements and an acknowledgement of the owning and/or publishing institution.
license
String (URI)
One of the rights statements defined for use in Europeana. It defines the copyright, usage and access rights that apply to this digital object.
images
Array (Annotation)
A list of one annotation that represents the projection of the image into the canvas where it is displayed.
otherContent
Array (Fulltext)
A list of one reference to the Annotation Page that holds all the full-text for that Newspaper page.
Annotation (modelling construct used for painting media into a Canvas)
@id
String (URI)
The canonical identifier of the Annotation.
@type
String
The type of the resource. Always set to "oa:Annotation".
motivation
String
A motivation for the annotation, in this case declaring that the image will be projected (ie. "sc:painting") on to the Canvas.
resource
Object (AnnotationBody)
The image resource being projected into the Canvas.
on
String (URI)
The identifier of the Canvas on which the image will be projected.
AnnotationBody
@id
String (URL)
The URL of the image.
@type
| ||
format (optional) | query | A convenience parameter used to indicate the version of the IIIF Presentation API. Indicating the format within the Accept header is the preferred way to request a specific version. This parameter should not be used if a profile is indicated in the Accept header. |
Response v3:
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
format String The mimetype of the resource. service (optional) Object (Service) The Service hosting and delivering the IIIF resource, when applicable. Service @context String (URL) The URL of the JSON-LD context (always with the value "http://iiif.io/api/image/2/context.json"). @id String (URL) The URL of the IIIF service hosting/serving the resource. profile String (URI) The URI of the version supported by the service. Metadata label String The name of a metadata property. One of: date, format, relation, type, language, source. value Array (LangObject) The value of the metadata property. Image
width Number The width of the image. height Number The height of the image. Dataset @id String The URL to the metadata in a specific format. format String The mimetype of the format. profile URL The url of the profile. Always set to "http://www.europeana.eu/schemas/edm/". |
Retrieving full-text content
The term full-text is meant to refer to the correlation between the content resource (e.g. image, audio or video) and its textual representation (ie. transcription, subtitle, caption). In the EDM profile, the textual representation of the content resource is referred to as Full-Text Resource while the relations between the segments of the text and the coordinates in the image are referred to as Annotations.
Annotation Pages
An Annotation Page contains all the annotations that make up the full-text of a content resource (ie. image, audio or video). It is referred to by the Manifest and can be accessed via the following request.
Request
Code Block |
---|
https://iiif.europeana.eu/presentation/[RECORD_ID]/annopage/[PAGE_ID]
Accept: [ACCEPT] |
Parameter
Description
RECORD_ID
The identifier of the record which is composed of the dataset identifier plus a local identifier within the dataset in the form of "/DATASET_ID/LOCAL_ID", for more detail see Europeana ID.
PAGE_ID
The identifier of the annotation page.
Header
Description
ACCEPT
Used to indicate the format and version of the format. The following indicate the Accept header to be used for version 2.1 and 3 respectively:
application/ld+json;profile=
|
|
Response
The response is a JSON-LD structure composed of the following fields:
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter Datatype Description | Array of String (URL@context
id String (URI) The canonical identifier of the Annotation Page. type String The type of the resource. Always set to "AnnotationPage". items Array (Annotation) An array containing all the Annotation that are part of this page.
dcType String Represents the granularity level of the Annotation, reflecting levels such as: Page, Block, Line and Word. body Object (Body) The reference to the transcribed text. target Array (String) A target can represent an image or just a part of it that is being annotated. For most annotations that are at a level of granularity lower than Page will point to the specific coordinates where the text is found on the image, using the Media Fragments specification. Body id String (URL) The url of the transcribed text (ie. full-text resource) in case of a Page level annotation, or a segment of the transcribed text using in this case the URI Fragment Identifiers for the text/plain Media Type specification. language (optional) String The language of the segment of the transcription text being annotated. It is represented as a ISO 639 language code. |
Annotation
An Annotation specifies a single relation between the full-text resource and the content resource (ie. image, audio or video). It is referred to by the Annotation Page and can be accessed via the following request.
Request
Code Block |
---|
https://iiif.europeana.eu/presentation/[RECORD_ID]/anno/[ANNO_ID] |
Parameter
Description
RECORD_ID
The identifier of the record which is composed of the dataset identifier plus a local identifier within the dataset in the form of "/DATASET_ID/LOCAL_ID", for more detail see Europeana ID.
ANNO_ID
The identifier of the annotation.
Response v2.1
The response is a JSON-LD structure composed of the following fields:
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter Datatype Description @context | The URL of the JSON-LD context (always with the values Array of String (URL)
|
Response v2.1:
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
An array containing all the Annotation that are part of this page. Annotation id String (URI) The canonical identifier of the Annotation. type String The type of the resource. Always set to "FullTextResource". motivation String The motivation of the annotation, see reference for more information. Always set to "transcribing". dcType String Represents the granularity level of the Annotation, reflecting levels such as: Page, Block, Line and Word. body Object (Body) The reference to the transcribed text. target Array (String) A target can represent an image or just a part of it that is being annotated. For most annotations that are at a level of granularity lower than Page will point to the specific coordinates where the text is found on the image, using the Media Fragments specification. Body id String (URL) The url of the transcribed text (ie. full-text resource) in case of a Page level annotation, or a segment of the transcribed text using in this case the URI Fragment Identifiers for the text/plain Media Type specification. language (optional) String The language of the segment of the transcription text being annotated. It is represented as a ISO 639 language code. |
Fulltext Resource
The full-text resource represents the (image or audio) transcription of a single content resource (e.g. a page of a newspaper or manuscript). A full-text resource can be accessed separately from an annotation or annotation page using the following method.
Request
Code Block |
---|
https://api.europeana.eu/fulltext/[RECORD_ID]/[FULLTEXT_ID] |
Parameter
Description
RECORD_ID
The identifier of the record which is composed of the dataset identifier plus a local identifier within the dataset in the form of "/DATASET_ID/LOCAL_ID", for more detail see Europeana ID.
FULLTEXT_ID
The identifier of the full text resource.
Response
The response is a JSON-LD structure composed of the following fields:
title | Response fields |
---|
Parameter
Datatype
Description
@context
String (URL)
The URL of the JSON-LD context (always with the value "https://www.europeana.eu/schemas/context/edm.jsonld").
id
String (URI)
The canonical identifier of the full-text resource.
type
String
The type of the resource. Always set to "FullTextResource".
language
String
The more predominante language of the transcription text represented as a ISO 639 language code. Parts of the text may be written in different languages. When that is the case, the language information will be indicated as part of the full-text Annotations.
value
String
The transcription text.
Example: Requesting a full-text resource.
Request:
Code Block |
---|
https://www.europeana.eu/api/fulltext/9200396/BibliographicResource_3000118435063/8ebb67ccf9f8a1dcc2ea119c60954111 |
Expand | ||
---|---|---|
| ||
|
Searching on full-text
The full-text can also be searched using a separate Search API while the Newspapers Thematic Collection is in MVP. It supports the same functionality as the main API but under the following endpoint and with the addition of 2 search fields and 1 profile as described below. For more information on the other methods, see the Search API documentation.
Request
Code Block |
---|
https://newspapers.eanadev.org/api/v2/search.json |
Fields
Datatype
Description
fulltext
Text
Allows searching on the transcribed text (ie. full-text) of the item.
issued
Date
A true date field reflecting the date of the Newspapers Issue.
Profile
Description
hits
Displays the mentions in the transcribed text where the search keyword was found.
Parameter
Datatype
Description
hit.fl (optional)
List (String)
A comma- or space-separated list of fields from which hit highlighting should be generated. A wildcard of “*†(asterisk) can be used to match multiple fields, such as “fulltext.*†or even “*†to highlight on all fields where highlighting is possible. If omitted default to “*â€.
hit.selectors (optional)
Number
Specifies the maximum number of highlighted selectors (ie. snippets in Solr) to generate per result (ie. record). If omitted defaults to 1. It is possible for any number of selectors from 1 to this value to be generated, up to a limit of 10.
Example: Searching on full-text and showing hit highlighting.
Request:
Code Block |
---|
https://newspapers.eanadev.org/api/v2/search.json?query=paris&profile=hits&wskey=APIKEY |
Expand | ||
---|---|---|
| ||
|
Accessing images in high resolution: downloading data
To foster the reuse of the data that is published in Europeana as part of the Newspapers Thematic Collections, we make both the metadata and the full-text available for bulk download as compressed zip files. The metadata is available as CC0 the same way as all the metadata exposed via the API (see Terms of Use) while the full-text is available as Public Domain Mark.
List of datasets
The table below lists all the datasets that are published and available for download. If you are looking for the complete text of a Newspaper then we suggest using the (4) option, as opposed to using (3) where the trascription is partioned per page.
Given the fact that the files are very big and can take many hours to download, as an alternative to download directly via the browser, you can login to the FTP server at "download.europeana.eu" with username "anonymous". This will allow you to resume if the download gets stuck.
dataset number
Metadata1
Full-text (ALTO)2
Page level full-text (EDM)3
Issue level full-text (EDM)4
9200300
(229M) (MD5)
(63G) (MD5)
(116G) (MD5)
(113G) (MD5)
9200301
(37M) (MD5)
(13G) (MD5)
(20G) (MD5)
(20G) (MD5)
9200338
(213M) (MD5)
(158G) (MD5)
(278G) (MD5)
(277G) (MD5)
9200339
(39M) (MD5)
(11G) (MD5)
(21G) (MD5)
(17G) (MD5)
9200355
(212M) (MD5)
(97G) (MD5)
(159G) (MD5)
(157G) (MD5)
9200356
(137M) (MD5)
(40G) (MD5)
(17G) (MD5)
(17G) (MD5)
9200357
(23M) (MD5)
(5G) (MD5)
(9G) (MD5)
(9G) (MD5)
9200396
(4M) (MD5)
(849M) (MD5)
(2G) (MD5)
(1G) (MD5)
Legend:
The original metadata in EDM XML format before being ingested into Europeana. There are slight differences between this data and the one published. For more information see the /wiki/spaces/EF/pages/2385313809.
The full-text encoded using ALTO (Analyzed Layout and Text Object) as it was delivered to Europeana. The ALTO is an open XML Schema meant to describe text coming from OCR and layout information of pages for digitized material. For more information see the official documentation page at the Library of Congress.
The full-text encoded using the EDM profile for IIIF fullltext after being preprocessed for publication in Europeana. A note that as opposed to the format used by the API (ie. JSON-LD), the data is in RDF/XML as it is the format used for ingestion into Europeana.
Very similar to (3) but wih the full-text represented at the Issue level. This means that the edm:FullTextResource will convey the complete transcription of the Newspaper.
Dataset structure
On each compressed zip file, there will typically be a file per each item (ie. metadata or issue level full-text) or page (ie. ALTO and page level full-text) with the following structure:
Item
DATASET_ID/LOCAL_ID.xml
Page
DATASET_ID/LOCAL_ID/PAGE_ID.xml
|
Retrieving images or portions of the image
The IIIF Image API specification offers the ability to request portions of the image in different resolutions allowing the image to be served progressively to a web client. Providers that have implemented the IIIF Image API for their content may indicate the availability of the image service using a dedicated profile. When this is the case, the Manifest will refer to the image service so that web clients can make use of it. Europeana also has available high resolution scans that were produced under the Europeana Newspapers project that are served using IIIF Image API.
Image service
Retrieves an image by applying the operations indicated in the path. The image endpoint used is from the Europeana Newspapers project.
Request
Code Block |
---|
https://iiif.europeana.eu/image/[IMAGE_ID]/[REGION]/[SIZE]/[ROTAION]/[QUALITY].[FORMAT] |
Parameter | Location | Description |
---|---|---|
IMAGE_ID | path | The identifier of the image. |
REGION | path | The region parameter defines the rectangular portion of the underlying image content to be returned. Region can be specified by pixel coordinates, percentage or by the value full, which specifies that the full image should be returned. |
SIZE | path | The size parameter specifies the dimensions to which the extracted region, which might be the full image, is to be scaled. |
ROTATION | path | The rotation parameter specifies mirroring and rotation. A leading exclamation mark (\"!\") indicates that the image should be mirrored by reflection on the vertical axis before any rotation is applied. The numerical value represents the number of degrees of clockwise rotation, and may be any floating point number from 0 to 360. |
QUALITY | path | The quality parameter determines whether the image is delivered in color, grayscale or black and white. |
FORMAT | path | The format of the returned image is expressed as a suffix, mirroring common filename extensions, at the end of the URI. |
Image service details
Retrieves information about the image and the available operations that can be done on the image. The image endpoint used is from the Europeana Newspapers project.
Request
Code Block |
---|
https://iiif.europeana.eu/image/[IMAGE_ID]/info.json |
Parameter | Location | Description |
---|---|---|
IMAGE_ID | path | The identifier of the image. |
Retrieving full-text content
The term full-text is meant to refer to the correlation between the content resource (e.g. image, audio or video) and its textual representation (ie. transcription, subtitle, caption). In the EDM profile, the textual representation of the content resource is referred to as Full-Text Resource while the relations between the segments of the text and the coordinates in the image are referred to as Annotations.
Annotation Pages
An Annotation Page contains all the annotations that make up the full-text of a content resource (ie. image, audio or video). It is referred to by the Manifest and can be accessed via the following request.
Request
Code Block |
---|
https://iiif.europeana.eu/presentation/[RECORD_ID]/annopage/[PAGE_ID]
Accept: [ACCEPT] |
Parameter | Location | Description |
---|---|---|
RECORD_ID | path | The identifier of the record which is composed of the dataset identifier plus a local identifier within the dataset in the form of "/DATASET_ID/LOCAL_ID", for more detail see Europeana ID. |
PAGE_ID | path | The identifier of the annotation page. |
Accept | header | Used to indicate the mimetype of the format and IIIF version. The following indicate the Accept header to be used for version 2.1 and 3 respectively:
|
textGranularity (optional) | query | Filters the annotations based on their granularity. Available values : page, block, line, word, media, caption |
lang (optional) | query | A parameter used to request full-text in a specific language, if available. The value must be a two letter ISO639 code and match the languages that are supported by Europeana. Available values : en, nl, fr, de, es, sv, it, fi, da, el, cs, sk, sl, pt, hu, lt, pl, ro, bg, hr, lv, ga, mt, et, no, ca, ru, eu |
profile (optional) | query | A parameter used to define the extent of the response. The only value supported is 'text' which is used to request the response to be extended with the content of the text resource. Available values : text |
format (optional) | query | A convenience parameter used to indicate the version of the IIIF Presentation API. Indicating the format within the Accept header is the preferred way to request a specific version. This parameter should not be used if a profile is indicated in the Accept header. |
Response v3:
Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
Response v2.1:
Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
Annotation
An Annotation specifies a single relation between the full-text resource and the content resource (ie. image, audio or video). It is referred to by the Annotation Page and can be accessed via the following request.
Request
Code Block |
---|
https://iiif.europeana.eu/presentation/[RECORD_ID]/anno/[ANNO_ID] |
Parameter | Location | Description |
---|---|---|
RECORD_ID | path | The identifier of the record which is composed of the dataset identifier plus a local identifier within the dataset in the form of "/DATASET_ID/LOCAL_ID", for more detail see Europeana ID. |
ANNO_ID | path | The identifier of the annotation. |
profile (query) | query | A parameter used to define the extent of the response. The only value supported is 'text' which is used to request the response to be extended with the content of the text resource. Available values : text |
Response v3
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Response v2.1
Expand | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||
|
Fulltext Resource
The full-text resource represents the (image or audio) transcription of a single content resource (e.g. a page of a newspaper or manuscript). A full-text resource can be accessed separately from an annotation or annotation page using the following method.
Request
Code Block |
---|
https://api.europeana.eu/fulltext/[RECORD_ID]/[FULLTEXT_ID] |
Parameter | Location | Description |
RECORD_ID | path | The identifier of the record which is composed of the dataset identifier plus a local identifier within the dataset in the form of "/DATASET_ID/LOCAL_ID", for more detail see Europeana ID. |
FULLTEXT_ID | path | The identifier of the full-text resource. |
lang (optional) | query | A parameter used to request full-text in a specific language, if available. The value must be a two letter ISO639 code and match the languages that are supported by Europeana. Available values : en, nl, fr, de, es, sv, it, fi, da, el, cs, sk, sl, pt, hu, lt, pl, ro, bg, hr, lv, ga, mt, et, no, ca, ru, eu |
Response v3
Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
Response v2.1 (not supported)
Searching on full-text
There are two methods for searching on full-text, one for searching across all items where fulltext is available and a second to search within the fulltext of a single item.
Search accross all items with full-text
This method adopts the same API structure and functionality as the Search API with the addition of two search fields and one profile as described below. For more information on the other methods, see the Search API documentation.
Request
Code Block |
---|
https://api.europeana.eu/fulltext/search.json |
Parameter | Location | Description |
---|---|---|
query | query | The text or search criteria to be used for searching. Two additional fields are supported:
|
profile | query | A profile typically determines how extensive the response will be, by either dictating the metadata fields that will be present (ie. minimal, standard and rich) or appending additional data elements such as facets. Most profiles can be combined with the exception of the metadata based profiles or combined profiles such as rich. An additional profile is supported named “hits“ that displays the mentions in the transcribed text where the search keyword was found. Available values : minimal, standard, rich, facets, hits, breadcrums, params, portal, translate |
hit.fl (optional) | query | Fields for which hit highlighting is generated. A wildcard “*” (asterisk) can be used to match multiple fields, such as “fulltext.*” or even “*” to highlight on all fields where highlighting is possible. If omitted default to “*”. Multiple fields can be indicated using a comma or space. |
hit.selectors (optional) | query | The maximum number of highlighted selectors to generate per item. If omitted defaults to 3. It is possible for any number of selectors from 1 to this value to be generated, up to a limit of 10. |
Search within full-text of a single item
For a Newspapers item, this will mean searching in the text of all the pages that make up the Newspaper.
Request
Code Block |
---|
https://iiif.europeana.eu/presentation/[RECORD_ID]/search |
Parameter | Location | Description |
---|---|---|
RECORD_ID | path | The identifier of the record which is composed of the dataset identifier plus a local identifier within the dataset in the form of "/DATASET_ID/LOCAL_ID", for more detail see Europeana ID. |
Accept | header | Used to indicate the mimetype of the format and IIIF version. The following indicate the Accept header to be used for version 2.1 and 3 respectively:
|
q query | query | The text to be used for searching. |
qf | query | A search query filter, ie. a filter is applied on the result list to remove unwanted results and therefore has no effect on ranking. This parameter can be used multiple types if more than one query filter is needed. |
textGranularity | query | Filters the annotations based on their granularity. Available values : page, block, line, word, media, caption |
lang | query | A parameter used to request full-text in a specific language, if available. The value must be a two letter ISO639 code and match the languages that are supported by Europeana. Available values : en, nl, fr, de, es, sv, it, fi, da, el, cs, sk, sl, pt, hu, lt, pl, ro, bg, hr, lv, ga, mt, et, no, ca, ru, eu |
Response v3
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Response v2.1
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Source code and changelog
As mentioned in the introduction, the IIIF APIs are made up of several distinct APIs, each one with its own source code project in GitHub and changelog as listed below.
API | Last version | Description |
---|---|---|
Supports only the retrieval of manifests. | |
Supports the retrieval of full-text |
which inludes full-text resources, annotation and annotation pages, and search within full-text. | ||
Search API (see documentation) | Supports the search accross items with full-text. |