Optional, specific port to connect to. If not set the current portPreference will be used, or if no preference is available auto detection will be attempted.
Optional, specific baudrate to connect with. If not set the current baudratePreference will be used, or if no preference is available auto detection will be attempted.
Optional, specific printer profile to use for connection. If not set the current default printer profile will be used.
Optional, whether to save the request’s port and baudrate settings as new preferences. Defaults to false if not set.
Optional, whether to automatically connect to the printer on OctoPrint’s startup in the future. If not set no changes will be made to the current configuration.
Protected
deleteOptional
bodyArgs: {}Should start with local/... or sdcard/...
Instructs OctoPrint to disconnect from the printer.
Retrieve information regarding all files currently available and regarding the disk space still available locally in the system. The results are cached for performance reasons. If you want to override the cache, supply the query parameter force and set it to true. Note that while printing a refresh/override of the cache for files stored on the printer’s SD card is disabled due to bandwidth restrictions on the serial interface. By default only returns the files and folders in the root directory. If the query parameter recursive is provided and set to true, returns all files and folders.
Protected
getOptional
bodyArgs: {}Optional
x: numberOptional
y: numberOptional
z: numberOptional
absolute: booleanOptional
speed: numberProtected
postOptional
bodyArgs: {}Initiate printing of named file.
Should start with local/... or sdcard/...
Generated using TypeDoc
Instructs OctoPrint to connect or, if already connected, reconnect to the printer. Additional parameters are:
Returns