Skip to content

AP672 sketch#51

Closed
jason-raitz wants to merge 1 commit intomainfrom
AP672-sketch
Closed

AP672 sketch#51
jason-raitz wants to merge 1 commit intomainfrom
AP672-sketch

Conversation

@jason-raitz
Copy link
Copy Markdown
Contributor

@awilfox Probably best to start a new PR rather than use this?

Added a metadata mapper helper and a couple of fixtures

  • fixture to see what the metadata response is from tind
  • fixture for the iiif manifest found at {tind-base}/record/{tind_id}/export/iiif_manifest
  • note: manifest resolved to {tind-base}/nanna/proxy/iiif/manifest/{record_id}
  • iiif endpoint for resizing an image with a max long side of 4000 would be:
    https://digicoll.lib.berkeley.edu/nanna/api/multimedia/image/v2/recid:{rec_id}-{name}{format}/full/!8000,8000/0/default.jpg

 - fixture to see what the metadata response is from tind
 - fixture for the iiif manifest found at {tind-base}/record/{tind_id}/export/iiif_manifest
 - note: manifest resolved to {tind-base}/nanna/proxy/iiif/manifest/{record_id}
@awilfox
Copy link
Copy Markdown
Member

awilfox commented Apr 22, 2026

Since we are needing file metadata in multiple places, I'm thinking that should be its own method.

The fixtures are quite useful, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants