Fix some code-block warnings

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma
2019-07-01 11:35:42 +02:00
parent 3b6dfb70e6
commit 684d3d52fb
2 changed files with 4 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ The user agent header will be used to name the app password.
The response would look (in XML) something like:
.. code-block:: xml
<?xml version="1.0"?>
<ocs>
<meta>
@@ -92,11 +93,13 @@ When an account on a client is removed for housekeeping it is desired to destroy
This can be done by a simple call:
.. code-block:: bash
curl -u username:app-password -X DELETE -H 'OCS-APIREQUEST: true' http://localhost/ocs/v2.php/core/apppassword
The response should be a plain OCS response with a status 200
.. code-block:: xml
<?xml version="1.0"?>
<ocs>
<meta>

View File

@@ -23,6 +23,7 @@ token parameter to the apptoken.
In case the client gets back a 200 status code and a JSON array with wipe set to true like:
.. code-block:: json
{
"wipe":true
}