System

Use these endpoints to manage System operations on a Crate Operator host. The reference below includes request attributes, response shapes, and executable request examples.

The System object

Result of checking for available system package updates.

Optional attributes

packages array<string>

List of packages with available updates.

reboot_required boolean

Whether a reboot is required after updates.

regular_updates integer

Number of regular (non-security) package updates.

security_updates integer

Number of security-related package updates.

updates_available boolean

Whether any updates are available.

POST /v1/system/check-updates

Check for available system package updates

Responses

200 OK
500 Server Error
POST /v1/system/apply-updates

Apply system package updates

Request attributes

Required attributes

update_type string

Type of update to apply (`security` for safe upgrades only, `full` for all available upgrades).

securityfull

Optional attributes

auto_reboot boolean

Whether to automatically reboot if required after updates.

Responses

200 OK
400 Bad Request
500 Server Error