@maschinenlesbar.org/deutsche-digitale-bibliothek-cli
    Preparing search index...

    Function getObjectContext

    • What an object is part of, and who holds it, from parents: the API's chain starts with the object itself (skipped) and ends with the institution (heldBy, not a parent record), and sometimes with the organisation it belongs to after it (holderBelongsTo: the Staatsbibliothek zu Berlin, then the Stiftung Preußischer Kulturbesitz). Records and institutions are told apart by their type, not their place in the chain, and a chain that ends with the object is read root first; a record after the institution gets a note. An empty chain is not "no parent": a section of a digitised book answers none although it is part of the volume, so empty says where to look instead.

      Parameters

      Returns Promise<ObjectContext>