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

    Interface ItemResult

    The decoded body of an item component. Exactly one of json / text is set: json for JSON components (view, aip, binaries, ...), text for the ones the API serves as XML or a plain file (edm RDF/XML, source record XML, citation BIB).

    interface ItemResult {
        contentType: string;
        json?: JsonValue;
        part: ItemPart;
        text?: string;
    }
    Index
    contentType: string

    The response Content-Type the decoding was based on.

    json?: JsonValue

    Parsed JSON body, when the component returned JSON.

    part: ItemPart
    text?: string

    Raw text body, when the component returned XML / a plain file.