Real&Mate Application Application Application

PATCH /realandmate/v1

Updates the boot source to be used one time for the next system boot in Real&Mate.


{ "boot": { "boot_source_override_enabled": string, "boot_source_override_target": string } }

To use this API method, send the PATCH request. Below is an example of how to call the API:

PATCH https://example.com/realandmate/v1 { "boot": { "boot_source_override_enabled": "disabled", "boot_source_override_target": "" } }

The response will include a JSON string containing information about the reboot parameters of Real&Mate. This string can be converted into a JavaScript object for easier use. Below is the format of the object after parsing the string:

{ "admin_id": string, "boot": { "boot_source_override_enabled": string, "boot_source_override_target": string, "start_time": datetime, "end_time": datetime, "reason": string }, "comments": string }

{ "admin_id": "7", "boot": { "boot_source_override_enabled": "disabled", "boot_source_override_target": "", "start_time": "", "end_time": "", "reason": "" }, "comments": "There is no neccessity to reboot." }

Code Description