samvera / iiif_manifest

Other
10 stars 10 forks source link

Allow arbitrary service resources at the Canvas level #113

Closed masaball closed 4 months ago

masaball commented 4 months ago

Avalon is looking at implementing IIIF content search 2.0 API to facilitate searching within A/V transcripts. Our expected implementation will have a search service within each leaf node (canvas) as mentioned in avalonmediasystem/avalon#5795. To that end, we need to add an arbitrary service declaration at the canvas level.

Future improvement could be to expand the SearchService and AutocompleteService classes to handle both Content Search 1.0 and 2.0, and provide those at the canvas level to match the behavior at the manifest level. For the purposes of this initial work, however, it should be sufficient to just have an arbitrary service handler.