Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save IllDepence/5ee637a6e27f30cc287625eb04e8ad53 to your computer and use it in GitHub Desktop.
Save IllDepence/5ee637a6e27f30cc287625eb04e8ad53 to your computer and use it in GitHub Desktop.
Canvas Indexer API 18/03/23
{
"@context": [
"http://iiif.io/api/presentation/2/context.json",
"http://codh.rois.ac.jp/iiif/curation/1/context.json"
],
"@type": "cr:Curation",
"@id": "http://localhost/JSONkeeper/api/5bda3e60-e062-4017-a012-7a8504ac50df",
"label": "Curating list",
"metadata": [
{
"label": "subject",
"value": "face"
}
],
"selections": [
{
"@id": "http://localhost/JSONkeeper/api/5bda3e60-e062-4017-a012-7a8504ac50df/range1",
"@type": "sc:Range",
"label": "Manual curation by IIIF Curation Viewer",
"members": [
{
"@id": "https://manifests.britishart.yale.edu/canvas/ba-obj-1153-0008-pub#xywh=3479,2816,128,230",
"@type": "sc:Canvas",
"label": "after treatment, framed, recto",
"metadata": [
{
"label": "subject",
"value": "bust"
}
]
},
{
"@id": "https://manifests.britishart.yale.edu/canvas/ba-obj-1153-0008-pub#xywh=2098,3177,238,205",
"@type": "sc:Canvas",
"label": "after treatment, framed, recto",
"metadata": [
{
"label": "subject",
"value": "face"
}
]
},
{
"@id": "https://manifests.britishart.yale.edu/canvas/ba-obj-1153-0008-pub#xywh=3238,3818,716,397",
"@type": "sc:Canvas",
"label": "after treatment, framed, recto",
"metadata": [
{
"label": "subject",
"value": "tools"
}
]
},
{
"@id": "https://manifests.britishart.yale.edu/canvas/ba-obj-1153-0008-pub#xywh=1954,2979,162,208",
"@type": "sc:Canvas",
"label": "after treatment, framed, recto",
"metadata": [
{
"label": "subject",
"value": "face"
}
]
}
],
"within": {
"@id": "https://manifests.britishart.yale.edu/manifest/1153",
"@type": "sc:Manifest",
"label": "Alfred Joseph Woolmer, 1805–1892, British, Interior of the British Institution (Old Master Exhibition, Summer 1832), 1833, Oil on canvas, Yale Center for British Art, B1981.25.694, Paintings and Sculpture"
}
},
{
"@id": "http://localhost/JSONkeeper/api/5bda3e60-e062-4017-a012-7a8504ac50df/range2",
"@type": "sc:Range",
"label": "Manual curation by IIIF Curation Viewer",
"members": [
{
"@id": "https://manifests.britishart.yale.edu/canvas/ba-obj-1152-0001-pub#xywh=446,860,1060,1058",
"@type": "sc:Canvas",
"label": "cropped to image, recto, unframed",
"metadata": [
{
"label": "subject",
"value": "horse"
}
]
}
],
"within": {
"@id": "https://manifests.britishart.yale.edu/manifest/1152",
"@type": "sc:Manifest",
"label": "Thomas Woodward, 1801–1852, British, Horses in a Thunderstorm, 1823, Oil on panel, Yale Center for British Art, B1981.25.693, Paintings and Sculpture"
}
}
]
}
{
"query": "face",
"granularity": "curation",
"source": "canvas|curation",
"total": 1,
"start": 0,
"limit": null,
"results": [
{
"curationUrl": "http://localhost/JSONkeeper/api/5bda3e60-e062-4017-a012-7a8504ac50df",
"curationLabel": "Curating list",
"curationThumbnail": "https://images.britishart.yale.edu/iiif/41630236-c42f-4ba3-991b-9172ce6bf9cb/3479,2816,128,230/!200,200/0/native.jpg",
"totalImages": 5,
"crawledAt": "2018-04-23T14:41:44.646435",
"curationHit": true,
"canvasHit": {
"canvasId": "https://manifests.britishart.yale.edu/canvas/ba-obj-1153-0008-pub",
"fragment": "xywh=2098,3177,238,205",
"curationCanvasIndex": 2
}
}
]
}
{
"query": "face",
"granularity": "canvas",
"source": "canvas",
"total": 2,
"start": 0,
"limit": null,
"results": [
{
"manifestUrl": "https://manifests.britishart.yale.edu/manifest/1153",
"manifestLabel": "Alfred Joseph Woolmer, 1805\u20131892, British, Interior of the British Institution (Old Master Exhibition, Summer 1832), 1833, Oil on canvas, Yale Center for British Art, B1981.25.694, Paintings and Sculpture",
"canvas": "https://images.britishart.yale.edu/iiif/41630236-c42f-4ba3-991b-9172ce6bf9cb/info.json",
"canvasId": "https://manifests.britishart.yale.edu/canvas/ba-obj-1153-0008-pub",
"canvasCursorIndex": null,
"canvasLabel": "after treatment, framed, recto",
"canvasThumbnail": "https://images.britishart.yale.edu/iiif/41630236-c42f-4ba3-991b-9172ce6bf9cb/2098,3177,238,205/!200,200/0/native.jpg",
"canvasIndex": 1,
"fragment": "xywh=2098,3177,238,205",
"metadata": [
{
"value": "face",
"label": "subject"
}
]
},
{
"manifestUrl": "https://manifests.britishart.yale.edu/manifest/1153",
"manifestLabel": "Alfred Joseph Woolmer, 1805\u20131892, British, Interior of the British Institution (Old Master Exhibition, Summer 1832), 1833, Oil on canvas, Yale Center for British Art, B1981.25.694, Paintings and Sculpture",
"canvas": "https://images.britishart.yale.edu/iiif/41630236-c42f-4ba3-991b-9172ce6bf9cb/info.json",
"canvasId": "https://manifests.britishart.yale.edu/canvas/ba-obj-1153-0008-pub",
"canvasCursorIndex": null,
"canvasLabel": "after treatment, framed, recto",
"canvasThumbnail": "https://images.britishart.yale.edu/iiif/41630236-c42f-4ba3-991b-9172ce6bf9cb/1954,2979,162,208/!200,200/0/native.jpg",
"canvasIndex": 1,
"fragment": "xywh=1954,2979,162,208",
"metadata": [
{
"value": "face",
"label": "subject"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment