mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
Fix code blocks and captions
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
@@ -20,8 +20,8 @@ All POST requests require the ``Content-Type: application/x-www-form-urlencoded`
|
||||
Instruction Set For Users
|
||||
=========================
|
||||
|
||||
**users / adduser**
|
||||
-------------------
|
||||
Add a new user
|
||||
--------------
|
||||
|
||||
Create a new user on the Nextcloud server. Authentication is done by sending a
|
||||
basic HTTP authentication header.
|
||||
@@ -49,7 +49,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -61,8 +61,8 @@ XML Output
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
**users / getusers**
|
||||
--------------------
|
||||
Search/get users
|
||||
----------------
|
||||
|
||||
Retrieves a list of users from the Nextcloud server. Authentication is done by
|
||||
sending a Basic HTTP Authorization header.
|
||||
@@ -87,7 +87,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -102,8 +102,8 @@ XML Output
|
||||
</data>
|
||||
</ocs>
|
||||
|
||||
**users / getuser**
|
||||
-------------------
|
||||
Get data of a single user
|
||||
-------------------------
|
||||
|
||||
Retrieves information about a single user. Authentication is done by sending a
|
||||
Basic HTTP Authorization header.
|
||||
@@ -125,7 +125,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -140,8 +140,8 @@ XML Output
|
||||
</data>
|
||||
</ocs>
|
||||
|
||||
**users / edituser**
|
||||
--------------------
|
||||
Edit data of a single user
|
||||
--------------------------
|
||||
|
||||
Edits attributes related to a user. Users are able to edit email, displayname
|
||||
and password; admins can also edit the quota value. Authentication is done by
|
||||
@@ -173,7 +173,7 @@ Examples
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -184,8 +184,8 @@ XML Output
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
**users / disableuser**
|
||||
-----------------------
|
||||
Disable a user
|
||||
--------------
|
||||
|
||||
Disables a user on the Nextcloud server so that the user cannot login anymore.
|
||||
Authentication is done by sending a Basic HTTP Authorization header.
|
||||
@@ -208,7 +208,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -220,8 +220,8 @@ XML Output
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
**users / enableuser**
|
||||
----------------------
|
||||
Enable a user
|
||||
-------------
|
||||
|
||||
Enables a user on the Nextcloud server so that the user can login again.
|
||||
Authentication is done by sending a Basic HTTP Authorization header.
|
||||
@@ -244,7 +244,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -256,8 +256,8 @@ XML Output
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
**users / deleteuser**
|
||||
----------------------
|
||||
Delete a user
|
||||
-------------
|
||||
|
||||
Deletes a user from the Nextcloud server. Authentication is done by sending a
|
||||
Basic HTTP Authorization header.
|
||||
@@ -280,7 +280,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -291,8 +291,8 @@ XML Output
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
**users / getgroups**
|
||||
---------------------
|
||||
Get user´s groups
|
||||
-----------------
|
||||
|
||||
Retrieves a list of groups the specified user is a member of. Authentication is
|
||||
done by sending a Basic HTTP Authorization header.
|
||||
@@ -314,7 +314,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -330,8 +330,8 @@ XML Output
|
||||
</data>
|
||||
</ocs>
|
||||
|
||||
**users / addtogroup**
|
||||
----------------------
|
||||
Add user to group
|
||||
-----------------
|
||||
|
||||
Adds the specified user to the specified group. Authentication is done by
|
||||
sending a Basic HTTP Authorization header.
|
||||
@@ -360,7 +360,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -371,8 +371,8 @@ XML Output
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
**users / removefromgroup**
|
||||
---------------------------
|
||||
Remove user from group
|
||||
----------------------
|
||||
|
||||
Removes the specified user from the specified group. Authentication is done by
|
||||
sending a Basic HTTP Authorization header.
|
||||
@@ -402,7 +402,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -413,8 +413,8 @@ XML Output
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
**users / createsubadmin**
|
||||
--------------------------
|
||||
Promote user to subadmin
|
||||
------------------------
|
||||
|
||||
Makes a user the subadmin of a group. Authentication is done by sending a Basic
|
||||
HTTP Authorization header.
|
||||
@@ -443,7 +443,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -454,8 +454,8 @@ XML Output
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
**users / removesubadmin**
|
||||
--------------------------
|
||||
Demote user from subadmin
|
||||
-------------------------
|
||||
|
||||
Removes the subadmin rights for the user specified from the group specified.
|
||||
Authentication is done by sending a Basic HTTP Authorization header.
|
||||
@@ -484,7 +484,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -495,8 +495,8 @@ XML Output
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
**users / getsubadmingroups**
|
||||
-----------------------------
|
||||
Get user´s subadmin groups
|
||||
--------------------------
|
||||
|
||||
Returns the groups in which the user is a subadmin. Authentication is done by
|
||||
sending a Basic HTTP Authorization header.
|
||||
@@ -521,7 +521,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -538,8 +538,8 @@ XML Output
|
||||
Instruction Set For Groups
|
||||
==========================
|
||||
|
||||
**groups / getgroups**
|
||||
----------------------
|
||||
Search/get groups
|
||||
-----------------
|
||||
|
||||
Retrieves a list of groups from the Nextcloud server. Authentication is done by
|
||||
sending a Basic HTTP Authorization header.
|
||||
@@ -564,7 +564,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -579,8 +579,8 @@ XML Output
|
||||
</data>
|
||||
</ocs>
|
||||
|
||||
**groups / addgroup**
|
||||
---------------------
|
||||
Create a group
|
||||
--------------
|
||||
|
||||
Adds a new group. Authentication is done by
|
||||
sending a Basic HTTP Authorization header.
|
||||
@@ -607,7 +607,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -618,8 +618,8 @@ XML Output
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
**groups / getgroup**
|
||||
---------------------
|
||||
Get members of a group
|
||||
----------------------
|
||||
|
||||
Retrieves a list of group members. Authentication is done by sending a Basic
|
||||
HTTP Authorization header.
|
||||
@@ -641,7 +641,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -656,8 +656,8 @@ XML Output
|
||||
</data>
|
||||
</ocs>
|
||||
|
||||
**groups / getsubadmins**
|
||||
-------------------------
|
||||
Get subadmins of a group
|
||||
------------------------
|
||||
|
||||
Returns subadmins of the group. Authentication is done by
|
||||
sending a Basic HTTP Authorization header.
|
||||
@@ -682,7 +682,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -696,8 +696,8 @@ XML Output
|
||||
</data>
|
||||
</ocs>
|
||||
|
||||
**groups / deletegroup**
|
||||
------------------------
|
||||
Delete a group
|
||||
--------------
|
||||
|
||||
Removes a group. Authentication is done by
|
||||
sending a Basic HTTP Authorization header.
|
||||
@@ -721,7 +721,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -731,12 +731,12 @@ XML Output
|
||||
</meta>
|
||||
<data/>
|
||||
</ocs>
|
||||
|
||||
Instruction Set For Apps
|
||||
=========================
|
||||
|
||||
**apps / getapps**
|
||||
------------------
|
||||
Instruction Set For Apps
|
||||
========================
|
||||
|
||||
Getlist of apps
|
||||
---------------
|
||||
|
||||
Returns a list of apps installed on the Nextcloud server. Authentication is done
|
||||
by sending a Basic HTTP Authorization
|
||||
@@ -761,7 +761,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -777,8 +777,8 @@ XML Output
|
||||
</data>
|
||||
</ocs>
|
||||
|
||||
**apps / getappinfo**
|
||||
---------------------
|
||||
Get app info
|
||||
------------
|
||||
|
||||
Provides information on a specific application. Authentication is done by
|
||||
sending a Basic HTTP Authorization header.
|
||||
@@ -800,7 +800,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -831,8 +831,8 @@ XML Output
|
||||
</data>
|
||||
</ocs>
|
||||
|
||||
**apps / enable**
|
||||
-----------------
|
||||
Enable an app
|
||||
-------------
|
||||
|
||||
Enable an app. Authentication is done by sending a Basic HTTP Authorization
|
||||
header.
|
||||
@@ -854,7 +854,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
@@ -864,8 +864,8 @@ XML Output
|
||||
</meta>
|
||||
</ocs>
|
||||
|
||||
**apps / disable**
|
||||
------------------
|
||||
Disable an app
|
||||
--------------
|
||||
|
||||
Disables the specified app. Authentication is
|
||||
done by sending a Basic HTTP Authorization header.
|
||||
@@ -888,7 +888,7 @@ Example
|
||||
XML Output
|
||||
^^^^^^^^^^
|
||||
|
||||
::
|
||||
.. code-block:: xml
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
|
||||
Reference in New Issue
Block a user