Skip to content

CreateOTAJobRequest

Defined in: src/types/ota.ts:98

Request body for creating a new OTA job.

optional description?: string

Defined in: src/types/ota.ts:102

Optional human-readable description, surfaced to end users on user-approval jobs.


optional groups?: string[]

Defined in: src/types/ota.ts:110

Target group IDs.


optional metadata?: OtaJobMetadata

Defined in: src/types/ota.ts:122

Optional job metadata (download window, validity, target MCU, custom keys).


optional network_serialisation?: OtaNetworkSerialisation

Defined in: src/types/ota.ts:126

Network serialisation options.


optional node_fw_version?: string

Defined in: src/types/ota.ts:120

Node firmware version filter (Dynamic OTA jobs).


optional node_model?: string

Defined in: src/types/ota.ts:118

Node model filter (Dynamic OTA jobs).


optional node_type?: string

Defined in: src/types/ota.ts:116

Node type filter (Dynamic OTA jobs).


optional nodes?: string[]

Defined in: src/types/ota.ts:108

Target node IDs.


optional ota_image_id?: string

Defined in: src/types/ota.ts:104

ID of the OTA image to deploy (mutually exclusive with ota_image_url).


optional ota_image_url?: string

Defined in: src/types/ota.ts:106

Image URL to deploy (mutually exclusive with ota_image_id).


ota_job_name: string

Defined in: src/types/ota.ts:100

Name of the OTA job (required).


optional priority?: number

Defined in: src/types/ota.ts:112

Job priority, 1 (highest) to 10 (lowest).


optional secure_boot?: OtaSecureBoot

Defined in: src/types/ota.ts:124

Secure boot signing options.


optional timeout?: number

Defined in: src/types/ota.ts:114

Timeout in seconds after which the job expires.


optional user_ota_image_acccess?: boolean

Defined in: src/types/ota.ts:131

Grant end users access to the firmware binary URL on user-approval OTA jobs. Note: the property name is intentionally misspelt to match the backend contract.