Merge pull request #9591 from lil5/patch-1

Update externalapi.rst
This commit is contained in:
Simon L
2023-02-13 21:18:20 +01:00
committed by GitHub

View File

@@ -81,7 +81,7 @@ Output from the application is wrapped inside a **data** element:
<ocs>
<meta>
<status>ok</status>
<statuscode>100</statuscode>
<statuscode>200</statuscode>
<message/>
</meta>
<data>
@@ -98,7 +98,7 @@ Output from the application is wrapped inside a **data** element:
"ocs": {
"meta": {
"status": "ok",
"statuscode": 100,
"statuscode": 200,
"message": null
},
"data": {
@@ -112,10 +112,10 @@ Statuscodes
The statuscode can be any of the following numbers:
* **100** - successful
* **200** - successful
* **996** - server error
* **997** - not authorized
* **998** - not found
* **401** - not authorized
* **404** - not found
* **999** - unknown error
Changing API and backwards compatibility