diff --git a/developer_manual/client_apis/OCS/index.rst b/developer_manual/client_apis/OCS/index.rst index cf59d49bb..891bee88a 100644 --- a/developer_manual/client_apis/OCS/index.rst +++ b/developer_manual/client_apis/OCS/index.rst @@ -65,3 +65,64 @@ This request returns the available metadata of a user. Admin users can see the i + +---- +Capabilities API +---- + +Clients can obtain capabilities provided by the Nextcloud server and its apps via the capabilities OCS API. + +.. code:: + + GET /ocs/v1.php/cloud/capabilities + + + +.. code:: xml + + + + + ok + 100 + OK + + + + + + 12 + 0 + 0 + 12.0 beta 4 + + + + + 60 + remote.php/webdav + + + + + + +Theming capabilities +-------------------- + +Values of the theming app are exposed though the capabilities API, allowing client developers to adjust the look of clients to the theming of different Nextcloud instances. + +.. code:: xml + + + Nextcloud + https://nextcloud.com + A safe home for all your data + #0082c9 + http://cloud.example.com/index.php/apps/theming/logo?v=1 + http://cloud.example.com/index.php/apps/theming/logo?v=1 + + + +The background value can either be an URL to the background image or a hex color value. +