Some more documentation

This commit is contained in:
Gina Häußge committed 2016-09-22 22:21:52 +02:00
1 parent 9845e3b4ea
commit 0b551f6b7e
11 files changed
+275 -4

No files matched your search

+9
View File
@@ -3,6 +3,11 @@
:mod:`OctoPrint.languages`
--------------------------
.. note::
All methods here require that the used API token or a the existing browser session
has admin rights.
.. js:function:: OctoPrint.languages.list(opts)
Retrieves a list of available language packs.
@@ -26,3 +31,7 @@
:param object opts: Additional options for the request
:returns Promise: A `jQuery Promise <http://api.jquery.com/Types/#Promise>`_ for the request's response
.. seealso::
:ref:`Languages API <sec-api-languages>`
The documentation of the underlying languages API.
+5
View File
@@ -34,3 +34,8 @@
:param object settings: The settings to save
:param object opts: Additional options for the request
:returns Promise: A `jQuery Promise <http://api.jquery.com/Types/#Promise>`_ for the request's response
.. seealso::
:ref:`Settings API <sec-api-settings>`
The documentation of the underlying settings API.
+5
View File
@@ -22,3 +22,8 @@
.. js:function:: getConfig(opts)
.. js:function:: saveConfig(config, opts)
.. seealso::
:ref:`Timelapse API <sec-api-timelapse>`
The documentation of the underlying timelapse API.
+5
View File
@@ -26,3 +26,8 @@
.. js:function:: OctoPrint.users.getSettings(name, opts)
.. js:function:: OctoPrint.users.saveSettings(name, settings, opts)
.. seealso::
:ref:`User API <sec-api-users>`
The documentation of the underlying user API.