Operation

Field

Type

Description

id

String

Operation's ID.

name

String

Operation's name.

parameters.args

Array<String>

An array of script's input parameters. This parameter should be specified only for the fileSystem subtype.

parameters.message

String

An MQTT message. This parameter should be specified only for the MQTT message type.

parameters.path

String

A path to a script. This parameter should be specified only for the fileSystem subtype.

parameters.ref

String

The ID of a script. This parameter should be specified only for the scriptReference subtype.

parameters.text

String

A script's source code. This parameter should be specified only for the scriptText subtype.

parameters.topic

String

An MQTT topic. This parameter should be specified only for the MQTT message type.

parameters.type

String

A subtype of the current script's type. Available types: fileSystem, scriptReference, scriptText.

type

String

Operation's type. It might be equal either to 1 or 2. The first number corresponds to an MQTT message, the second one is for a program/script.

‚Äč