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

    Interface FoiRequestListItem

    An FOI request (Informationsfreiheitsanfrage) — the central resource. Anonymous callers see only public requests. List and detail share this shape; detail adds an embedded messages array (see FoiRequestDetail).

    interface FoiRequestListItem {
        campaign: string | number | null;
        checked: boolean;
        costs: number;
        created_at: string;
        description: string;
        due_date: string | null;
        id: number;
        is_foi: boolean;
        jurisdiction: string | null;
        jurisdiction_name: string | null;
        last_message: string | null;
        last_modified_at: string;
        law: string | null;
        project: string | null;
        project_request_count: number | null;
        project_site_url: string | null;
        public: boolean;
        public_body: JsonValue;
        readable_status: string;
        redacted_description: JsonValue;
        reference: string;
        refusal_reason: string;
        resolution:
            | ""
            | "successful"
            | "partially_successful"
            | "not_held"
            | "refused"
            | "user_withdrew_costs"
            | "user_withdrew";
        resolved_on: string
        | null;
        resource_uri: string;
        same_as: string | null;
        same_as_count: number;
        slug: string;
        status:
            | "awaiting_user_confirmation"
            | "publicbody_needed"
            | "awaiting_publicbody_confirmation"
            | "awaiting_response"
            | "awaiting_classification"
            | "asleep"
            | "resolved";
        status_representation: string;
        summary: string;
        tags: string[];
        title: string;
        url: string;
        user: number
        | null;
    }
    Index
    campaign: string | number | null

    Campaign id or hyperlink when the request belongs to a campaign, else null.

    checked: boolean
    costs: number
    created_at: string
    description: string
    due_date: string | null
    id: number
    is_foi: boolean
    jurisdiction: string | null

    Hyperlink to the jurisdiction resource; null before one is assigned.

    jurisdiction_name: string | null
    last_message: string | null
    last_modified_at: string
    law: string | null

    Hyperlink to the FOI law resource, or null.

    project: string | null
    project_request_count: number | null
    project_site_url: string | null
    public: boolean
    public_body: JsonValue

    The public body addressed, embedded as a nested object (may be null).

    readable_status: string
    redacted_description: JsonValue

    Array of [isRedacted, textSegment] tuples.

    reference: string
    refusal_reason: string
    resolution:
        | ""
        | "successful"
        | "partially_successful"
        | "not_held"
        | "refused"
        | "user_withdrew_costs"
        | "user_withdrew"

    Set once resolved; empty string while the request is still open.

    resolved_on: string | null
    resource_uri: string
    same_as: string | null
    same_as_count: number
    slug: string
    status:
        | "awaiting_user_confirmation"
        | "publicbody_needed"
        | "awaiting_publicbody_confirmation"
        | "awaiting_response"
        | "awaiting_classification"
        | "asleep"
        | "resolved"
    status_representation: string
    summary: string
    tags: string[]
    title: string
    url: string

    Site-relative path to the request page, e.g. /anfrage/<slug>/.

    user: number | null

    Requesting user's id, or null (usually null for anonymous reads).