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

    Interface PublicBodyListParams

    Filters for GET /api/v1/publicbody/ (public bodies).

    interface PublicBodyListParams {
        category?: Id;
        classification?: Id;
        classification_id?: Id;
        jurisdiction?: Id;
        limit?: number;
        lnglat?: string;
        offset?: number;
        q?: string;
        regions?: Id;
        slug?: string;
    }

    Hierarchy (View Summary)

    Index
    category?: Id
    classification?: Id
    classification_id?: Id
    jurisdiction?: Id
    limit?: number

    Page size. The server caps this (see DEVELOPING.md); defaults server-side.

    lnglat?: string

    lng,lat point: keeps bodies whose regions contain it. Results are not sorted by distance, and a body matching through several regions repeats.

    offset?: number
    q?: string
    regions?: Id
    slug?: string