@tikoci/centrs
    Preparing search index...

    Interface ApiRequest

    interface ApiRequest {
        cdbFile?: string;
        cdbPassword?: string;
        confirm?: (prompt: string) => Promise<boolean>;
        count?: number;
        data?: string;
        duration?: string;
        endpoint: string;
        fields?: Record<string, string>;
        format?: string;
        host?: string;
        inputBody?: string;
        insecure?: boolean;
        match?: string;
        method?: string;
        password?: string;
        port?: number;
        proplist?: readonly string[];
        query?: readonly string[];
        quickchr?: string;
        raw?: boolean;
        rawQuery?: readonly string[];
        resolve?: string;
        stdinIsTty?: boolean;
        stream?: boolean;
        targetInput?: string;
        timeout?: string | number;
        username?: string;
        validate?: boolean;
        verbose?: boolean;
        via?: string;
        yes?: boolean;
    }
    Index
    cdbFile?: string
    cdbPassword?: string
    confirm?: (prompt: string) => Promise<boolean>
    count?: number

    --count: bound a native reply stream to N rows.

    data?: string

    -d raw JSON body. Mutually exclusive with fields / inputBody.

    duration?: string

    --duration: bound a native reply stream.

    endpoint: string

    REST-style endpoint path, leniently normalized (ip/address, /rest/ip/address, "ip address", ip/address/*1, ip/address/listen).

    fields?: Record<string, string>

    -f key=value fields, merged into the JSON body (verbatim string values).

    format?: string
    host?: string
    inputBody?: string

    --input raw JSON body (file/stdin content already read). Mutually exclusive with fields / data.

    insecure?: boolean
    match?: string

    --match selector for a <router> several CDB records share (user=<name>, target=<addr>, or a record type): the same selector devices show --match takes. Single-target only (#583).

    method?: string

    HTTP method (-X), default GET, case-insensitive.

    password?: string
    port?: number
    proplist?: readonly string[]

    --proplist / --attribute property projection.

    query?: readonly string[]

    --query / --filter expressions, written as after print where (src/core/query.ts); several are AND-ed.

    quickchr?: string

    quickchr machine name (--quickchr <name>): resolve host/port/auth from the live VM descriptor instead of CDB/env (docs/CONSTITUTION.md → Resolution providers). Conflicts with host/port/username/password.

    raw?: boolean

    --raw: bare RouterOS body passthrough. DEFAULTS --validate to false; an explicit validate still wins, and its failures render through the --raw error contract (#154).

    rawQuery?: readonly string[]

    --raw-query verbatim RouterOS query words (no leading ?).

    resolve?: string

    Opt-in host ARP resolution for a MAC target (none default, or arp).

    stdinIsTty?: boolean
    stream?: boolean

    --stream: deliver the literal command's native replies incrementally. It never changes the command: a GET streams one print. To follow changes, request the menu's listen (ip/address/listen), which implies it.

    targetInput?: string
    timeout?: string | number
    username?: string
    validate?: boolean
    verbose?: boolean
    via?: string
    yes?: boolean