Git Product home page Git Product logo

iiif-manifest-api's Introduction

Europeana IIIF Manifest API for IIIF v2 and v3 manifests

The Europeana IIIF Manifest API is a Java Spring-Boot 2 application that on each valid request first retrieves json data from the Europeana Record API and uses the response to generate either an IIIF v2 or v3 manifest.

The Manifest API will also check with the Europeana Full-Text API if the record has fulltext available. If that is the case then a link to the appropriate IIIF Fulltext API url is added in the manifest.

A manifest request requires an Europeana API key and takes the following form:

https://<hostname>/presentation/<collectionId>/<recordId>/manifest?wskey=<apikey>

By default an IIIF v2 will be generated, but you can specify which version you want by adding

  • a format parameter, e.g. https://<hostname>/presentation/<collectionId>/<recordId>/manifest?wskey=<apikey>&format=3
  • or add an accept header to your request, e.g. Accept: application/json; profile="http://iiif.io/api/presentation/3/context.json"

Build

mvn clean install (add -DskipTests) to skip the unit tests during build

Deployment

  1. Generate a Docker image using the project's Dockerfile

  2. Configure the application by generating a iiif.user.properties file and placing this in the k8s folder. After deployment this file will override the settings specified in the iiif.properties file located in the src/main/resources folder. The .gitignore file makes sure the .user.properties file is never committed.

  3. Configure the deployment by setting the proper environment variables specified in the configuration template files in the k8s folder

  4. Deploy to Kubernetes infrastructure

iiif-manifest-api's People

Contributors

dependabot[bot] avatar europeana-jenkins avatar ikattey avatar luthien-in-edhil avatar nshweta90 avatar p-ehlert avatar srishtisingh-eu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bhanditz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.