AlmondTill/G3N API

EditDevicePeripheralInput

input type

Edit-input for a DevicePeripheral. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved (no clearing semantic). peripheralType/model and the parent Device are IMMUTABLE at birth (swapped hardware = a new peripheral); a connection edit re-validates against the stored model’s supported set in the kit; status moves ONLY via the transition ops.

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
connectionDevicePeripheralConnectionnoOne of the model’s supported modes (kit-gated).

Used by