@tikoci/centrs
    Preparing search index...

    Interface ProtocolExecuteRequest

    A structured CLI-shaped command for the execute seam. WP-1c owns canonicalization and validation; this is the minimal typed shape the transports run. Supply command for structured path-POST / native talk, or script for the /rest/execute script fallback.

    interface ProtocolExecuteRequest {
        attributes?: Record<string, string>;
        binary?: boolean;
        command: string;
        path: string;
        queries?: readonly string[];
        script?: string;
    }
    Index
    attributes?: Record<string, string>

    name=value attributes for the command.

    binary?: boolean

    Attribute values and reply strings are byte strings, one code unit per byte (0–255), instead of UTF-8 text. RouterOS carries /file contents as raw bytes on both wires, so this is how transfer moves arbitrary bytes (#404); a non-ASCII value such as a file name must be passed as its UTF-8 byte string. Honored by REST and native-api; not with script.

    command: string

    Verb appended to the path, e.g. add, set, remove, print.

    path: string

    Slash-prefixed RouterOS path the command targets, e.g. /ip/address.

    queries?: readonly string[]

    ?query words (already including the leading ?), native-api only.

    script?: string

    Raw CLI line for the /rest/execute script fallback.