暂存-说明文档(部分)

This commit is contained in:
2026-05-16 00:45:51 +08:00
parent 91bedce2d7
commit 9c8de5e664
63 changed files with 2818 additions and 92 deletions

View File

@@ -110,6 +110,10 @@ class OctoPrintClient:
"""Get information about the current print job and progress."""
return self._request("GET", "/api/job")
def get_printer_err_log(self):
"""Fetch the printer error log, if available."""
return self._request("GET", "/api/printer/error")
# -------------------------------------------------------------------------
# Printer Control
# -------------------------------------------------------------------------