Skip to content

AddCommandRequestBody

Defined in: src/types/command_response.ts:30

Request body for sending a command to nodes.

cmd: number

Defined in: src/types/command_response.ts:34

Command identifier.


data: unknown

Defined in: src/types/command_response.ts:36

Payload data for the command.


optional is_base64?: boolean

Defined in: src/types/command_response.ts:38

Whether the data is base64-encoded.


node_ids: string[]

Defined in: src/types/command_response.ts:32

List of node IDs to send the command to.


optional override?: boolean

Defined in: src/types/command_response.ts:42

Whether to override a pending command.


optional timeout?: number

Defined in: src/types/command_response.ts:40

Timeout in seconds for the command.