@maschinenlesbar.org/oparl-cli
    Preparing search index...

    Interface JsonResponse<T>

    A decoded JSON response together with the URL it was finally read from.

    interface JsonResponse<T> {
        url: string;
        value: T;
    }

    Type Parameters

    • T
    Index
    url: string

    The URL the request ended on: the last redirect target, or the requested URL when there was none. Relative links inside the body are resolved against this, as RFC 3986 §5.1.3 requires — a server that redirects /oparl to /v1/system and then hands out "body": "bodies" means /v1/bodies.

    value: T

    The decoded body.