mwbot-ts - v1.2.7
    Preparing search index...

    Interface ApiParams

    The API query parameters.

    interface ApiParams {
        action?: ApiParamsAction;
        ascii?: boolean;
        assert?: "user" | "bot" | "anon";
        assertuser?: string;
        callback?: string;
        centralauthtoken?: string;
        curtimestamp?: boolean;
        errorformat?: "none" | "bc" | "html" | "plaintext" | "raw" | "wikitext";
        errorlang?: string;
        errorsuselocal?: boolean;
        format?: "json" | "jsonfm" | "xml" | "xmlfm" | "php" | "none";
        formatversion?: "1" | "2" | "latest";
        maxage?: number;
        maxlag?: number;
        origin?: string;
        requestid?: string;
        responselanginfo?: boolean;
        servedby?: boolean;
        smaxage?: number;
        uselang?: string;
        utf8?: boolean;
        [param: string]:
            | undefined
            | string
            | number
            | boolean
            | (string | number)[]
            | Date;
    }

    Hierarchy (View Summary)

    Indexable

    • [param: string]: undefined | string | number | boolean | (string | number)[] | Date
    Index

    Properties

    ascii?: boolean
    assert?: "user" | "bot" | "anon"
    assertuser?: string
    callback?: string
    centralauthtoken?: string
    curtimestamp?: boolean
    errorformat?: "none" | "bc" | "html" | "plaintext" | "raw" | "wikitext"
    errorlang?: string
    errorsuselocal?: boolean
    format?: "json" | "jsonfm" | "xml" | "xmlfm" | "php" | "none"
    formatversion?: "1" | "2" | "latest"
    maxage?: number
    maxlag?: number
    origin?: string
    requestid?: string
    responselanginfo?: boolean
    servedby?: boolean
    smaxage?: number
    uselang?: string
    utf8?: boolean