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

    Interface TreeListParams

    Filters for GET /api/v1/category/ and /api/v1/classification/ (taxonomy trees).

    interface TreeListParams {
        ancestor?: Id;
        depth?: number;
        is_topic?: boolean;
        limit?: number;
        name?: string;
        offset?: number;
        parent?: Id;
        q?: string;
    }

    Hierarchy (View Summary)

    Index
    ancestor?: Id
    depth?: number

    Tree depth: a non-negative integer.

    is_topic?: boolean

    Categories only: classifications.list rejects it (the endpoint ignores it).

    limit?: number

    Page size: an integer from 1 to MAX_PAGE_SIZE (50); defaults server-side to 50.

    name?: string
    offset?: number

    Position in the whole result set: a non-negative integer.

    parent?: Id
    q?: string