Skip to content

Instantly share code, notes, and snippets.

@cbeer
Last active June 4, 2019 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbeer/dcd7b120bf211aa5e87a6140baca450b to your computer and use it in GitHub Desktop.
Save cbeer/dcd7b120bf211aa5e87a6140baca450b to your computer and use it in GitHub Desktop.
{
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "https://gist.githubusercontent.com/cbeer/dcd7b120bf211aa5e87a6140baca450b/raw/2fb919751a9a86b536211fdb20fc957c58470796/iiif-example.json",
"height": 3393,
"profile": [
"http://iiif.io/api/image/2/level2.json"
],
"protocol": "http://iiif.io/api/image",
"service": {
"@context": "http://iiif.io/api/auth/1/context.json",
"@id": "https://iiifauth.digtest.co.uk/auth/cookie/login/01_Icarus_Breughel.jpg",
"confirmLabel": "Login",
"failureDescription": "<a href=\"http://example.org/policy\">Access Policy</a>",
"failureHeader": "Authentication Failed",
"label": "Login to Example Institution",
"profile": "http://iiif.io/api/auth/1/login",
"service": [
{
"@id": "https://iiifauth.digtest.co.uk/auth/token/login/01_Icarus_Breughel.jpg",
"profile": "http://iiif.io/api/auth/1/token"
},
{
"@id": "https://iiifauth.digtest.co.uk/auth/logout/login/01_Icarus_Breughel.jpg",
"label": "log out",
"profile": "http://iiif.io/api/auth/1/logout"
}
]
},
"tiles": [
{
"scaleFactors": [
1,
2,
4,
8,
16
],
"width": 256
}
],
"width": 5200
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment