Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Searching and reading published records is keyless; a key adds private records the account may view.
  • Search results are paged: page from 1, per_page 10 by default, at most 1000.
  • Filters are facets named f.<field> (f.taxonomy_name, f.media_type …), with the same values as the website’s search pages.
  • Media and physical object ids are 9-digit strings, e.g. 000200043; keep the leading zeros.

Endpoints

Get a media record

  • A private record without a key (or one the key cannot view) answers 404.

Get a media file’s metadata

Get a physical object