OctoPrint.settings

OctoPrint.settings.get(opts)

Retrieves the current settings.

Arguments:
  • opts (object) – Additional options for the request
Returns Promise:
 

A jQuery Promise for the request’s response

OctoPrint.settings.save(settings, opts)

Saves the provided settings.

Arguments:
  • settings (object) – The settings to save
  • opts (object) – Additional options for the request
Returns Promise:
 

A jQuery Promise for the request’s response

OctoPrint.settings.getPluginSettings(plugin, opts)

Retrieves the settings of the specified plugin.

Arguments:
  • plugin (string) – The plugin for which to retrieve the settings
  • opts (object) – Additional options for the request
Returns Promise:
 

A jQuery Promise for the request’s response

OctoPrint.settings.savePluginSettings(plugin, settings, opts)

Saves the settings for the specified plugin.

Arguments:
  • plugin (string) – The plugin for which to save settings
  • settings (object) – The settings to save
  • opts (object) – Additional options for the request
Returns Promise:
 

A jQuery Promise for the request’s response

See also

Settings API
The documentation of the underlying settings API.