mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Update externalapi.rst
The api does not actually return status 100 on an **ok** response Related issue: https://github.com/nextcloud/server/issues/30163 Signed-off-by: Lucian I. Last <li@last.nl>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user