HomePhabricator

Handle items without image in IIIF annotations route

Description

Handle items without image in IIIF annotations route

Previously, the annotations endpoint would crash when called for an item
without an image (though the *manifest* endpoint would return 404 in
that case, so there was little reason for anyone to call the annotations
route). Now, we handle this case and instead return annotations with no
resources.

Details

Provenance
LucasWerkmeisterAuthored on Aug 2 2021, 7:59 PM
Parents
R2422:1fcb0cf6758d: Use @enableCORS in /iiif/ routes
Branches
Unknown
Tags
Unknown
ChangeId
None