Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

New in LUNA 7.3.1

LUNA Viewer API can now provide IIIF Manifest for each item returned and IIIF collection URL for each search result.

Adding this functionality allows for simpler IIIF interface development using LUNA resources.

 

Parameter includeIiifManifest

When you add includeIiifManifest=true to your request URL, it will return iiif Manifest for each item returned

https://www.example.com/luna/servlet/as/fetchMediaSearch?&lc=RUMSEY~8~1&fullData=false&bs=25&os=0&includeIiifManifest=true

 

Image Added

Parameter includeIiifCollection

When you include includeIiifCollection=true it will return a iiif collection response called iiifCollection. This contains the results of a search in IIIF collection structure.

https://www.example.com/luna/servlet/as/fetchMediaSearch?&lc=RUMSEY~8~1&fullData=false&bs=25&os=0&includeIiifCollection=true

Image Added

Note
Do not include the "random=true" as a parameter or you will not get the IIIF collection response
Info
There is a hierarchical  structure difference in the two JSON responses

Both includeIiifCollection and includeIiifManifest

Image Added