From e9c6d046fcd23efea9344279bad89dc34690ace4 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Fri, 3 Nov 2017 15:49:14 +0100 Subject: [PATCH] docs: updated API documentation --- docs/api/methods/server-methods.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/api/methods/server-methods.rst b/docs/api/methods/server-methods.rst index 1fdc5183..d670dafa 100644 --- a/docs/api/methods/server-methods.rst +++ b/docs/api/methods/server-methods.rst @@ -137,6 +137,30 @@ get_method error : null +get_repo_store +-------------- + +.. py:function:: get_repo_store(apiuser) + + Returns the |RCE| repository storage information. + + :param apiuser: This is filled automatically from the |authtoken|. + :type apiuser: AuthUser + + Example output: + + .. code-block:: bash + + id : + result : { + 'modules': [,...] + 'py_version': , + 'platform': , + 'rhodecode_version': + } + error : null + + get_server_info ---------------