update.check_available

Checks if there is an update available from update server.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: attrs

attrs

Type: object
No Additional Properties

Train

Default: null

Type: string
Type: null

Result


UpdateStatusAvailable

Type: object
No Additional Properties

Status

Type: const

An update is available.

Must be one of:
  • "AVAILABLE"
Specific value: "AVAILABLE"

Changes

Type: array of object
No Additional Items
Each item of this array must be:

UpdateStatusAvailableChanges

Type: object
No Additional Properties

Operation

Type: const
Must be one of:
  • "upgrade"
Specific value: "upgrade"

UpdateStatusAvailableChangesVersion

Type: object
No Additional Properties

Name

Type: const
Must be one of:
  • "TrueNAS"
Specific value: "TrueNAS"

Version

Type: string

UpdateStatusAvailableChangesVersion

Type: object
No Additional Properties

Name

Type: const
Must be one of:
  • "TrueNAS"
Specific value: "TrueNAS"

Version

Type: string

Notice

Type: null

Notes

Type: null

Release Notes Url


Type: string
Type: null

Changelog

Type: string

Version

Type: string

Version string of the available update version.

Filename

Type: string

Name of the update file available for download.

Filesize

Type: integer

Size of the update file in bytes.

Checksum

Type: string

UpdateStatusUnavailable

Type: object
No Additional Properties

Status

Type: enum (of string)

REBOOT_REQUIRED: An update has already been applied.
UNAVAILABLE: No update available.
HA_UNAVAILABLE: HA is non-functional.

Must be one of:
  • "REBOOT_REQUIRED"
  • "HA_UNAVAILABLE"
  • "UNAVAILABLE"


Required roles: SYSTEM_UPDATE_READ