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 booleanWhether a reboot is required after updates.
regular_updates integerNumber of regular (non-security) package updates.
security_updates integerNumber of security-related package updates.
updates_available booleanWhether any updates are available.
POST
/v1/system/check-updatesCheck for available system package updates
Responses
200 OK500 Server ErrorPOST
/v1/system/apply-updatesApply system package updates
Request attributes
Required attributes
update_type stringType of update to apply (`security` for safe upgrades only, `full` for all available upgrades).
securityfull
Optional attributes
auto_reboot booleanWhether to automatically reboot if required after updates.
Responses
200 OK400 Bad Request500 Server Error