From ebef35a573de90ceac85841c21b6e7d39025c307 Mon Sep 17 00:00:00 2001
From: Cameron Cross
This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage).", - "async": true, - "ignore": true, "source": "core", "resource": "http://example.com/api/system/commands/core/shutdown" }, { "action": "reboot", "name": "Reboot", - "command": "sudo reboot", "confirm": "You are about to reboot the system.
This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage).", - "async": true, - "ignore": true, "source": "core", "resource": "http://example.com/api/system/commands/core/reboot" }, { "action": "restart", "name": "Restart OctoPrint", - "command": "sudo service octoprint restart", "confirm": "You are about to restart the OctoPrint server.
This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage).", - "async": true, - "ignore": true, "source": "core", "resource": "http://example.com/api/system/commands/core/restart" } @@ -99,30 +90,21 @@ List all registered system commands for a source { "action": "shutdown", "name": "Shutdown", - "command": "sudo shutdown -h now", - "confirm": "You are about to shutdown the system.
This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage).", - "async": true, - "ignore": true, + "confirm": "You are about to shutdown the system.
This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage).", "source": "core", "resource": "http://example.com/api/system/commands/core/shutdown" }, { "action": "reboot", "name": "Reboot", - "command": "sudo reboot", - "confirm": "You are about to reboot the system.
This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage).", - "async": true, - "ignore": true, + "confirm": "You are about to reboot the system.
This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage).", "source": "core", "resource": "http://example.com/api/system/commands/core/reboot" }, { "action": "restart", "name": "Restart OctoPrint", - "command": "sudo service octoprint restart", - "confirm": "You are about to restart the OctoPrint server.
This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage).", - "async": true, - "ignore": true, + "confirm": "You are about to restart the OctoPrint server.
This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage).",
"source": "core",
"resource": "http://example.com/api/system/commands/core/restart"
}
@@ -184,18 +166,60 @@ List all response
- Description
* - ``core``
- 0..n
- - List of :ref:`command definitions