From e5a3fb3aa62ad828b33797fe9b31a12bfee1d52f Mon Sep 17 00:00:00 2001 From: bpcurse <29312856+bpcurse@users.noreply.github.com> Date: Mon, 6 Jan 2020 06:11:39 +0100 Subject: [PATCH] Update ocs-api-overview.rst - Updated the displayed data to resemble the actual query results as of v17.0.2 - Added `GET /ocs/v1.php/cloud/users` paragraph - Fixed some typos --- .../client_apis/OCS/ocs-api-overview.rst | 85 +++++++++++++++---- 1 file changed, 70 insertions(+), 15 deletions(-) diff --git a/developer_manual/client_apis/OCS/ocs-api-overview.rst b/developer_manual/client_apis/OCS/ocs-api-overview.rst index 6d6b624ad..eb51c609d 100644 --- a/developer_manual/client_apis/OCS/ocs-api-overview.rst +++ b/developer_manual/client_apis/OCS/ocs-api-overview.rst @@ -44,24 +44,74 @@ This request returns the available metadata of a user. Admin users can see the i - true + 1 + /path/to/storage/location/userid + userid + 1578283711000 + Database + - 338696790016 - 7438874 - 338704228890 - 0 - -3 + 20632824998 + 842011482 + 21474836480 + 3.92 + 21474836480 user@foo.de - admin + John Doe
- - schiessle + https://example.com + + + 1st group + 2nd group + 3rd group + ... group + + de + de_DE + + 1 + 1 +
+User metadata - List user IDs +----------------------------- + +This request returns a list containing all user IDs. Only admin users can query the list. + +.. code:: + + GET /ocs/v1.php/cloud/users + + +.. code:: xml + + + + + ok + 100 + OK + + + + + + 1st_user + 2nd_user + 3rd_user + ..._user + + + + + + Capabilities API ---------------- @@ -86,11 +136,12 @@ Clients can obtain capabilities provided by the Nextcloud server and its apps vi - 12 + 17 0 - 0 - 12.0 beta 4 + 2 + 17.0.2 + @@ -105,7 +156,7 @@ Clients can obtain capabilities provided by the Nextcloud server and its apps vi 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. +Values of the theming app are exposed through the capabilities API, allowing client developers to adjust the look of clients to the theming of different Nextcloud instances. .. code:: xml @@ -114,8 +165,12 @@ Values of the theming app are exposed though the capabilities API, allowing clie https://nextcloud.com A safe home for all your data #0082c9 + #ffffff + #006295 http://cloud.example.com/index.php/apps/theming/logo?v=1 http://cloud.example.com/index.php/apps/theming/logo?v=1 + + @@ -128,8 +183,8 @@ It might be required to give a 3rd party access to a file however you do not want to hand over credentials to the 3rd party. An example of this is playing files in an external media player on mobile devices. -To solve this issue there is a way to request a unique public link to a single. -This link will be valid for 24 hours after wards it will be removed. +To solve this issue there is a way to request a unique public link to a single file. +This link will be valid for 24 hours afterwards it will be removed. To obtain a direct link: