summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-04-26 20:45:38 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2016-04-26 20:45:38 +0200
commit7dcd5c9d06bcc00e7330b2f9cdbcba457fe52658 (patch)
tree476fbce85c118d158bdbcd8a3ac5183a2231a0ac /docs
parent49a5e72fd136fa9ee77ac69e6daa9e9453426914 (diff)
typo
Diffstat (limited to 'docs')
-rw-r--r--docs/api/v2/README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/api/v2/README.md b/docs/api/v2/README.md
index ce05936f6..0f8c802d3 100644
--- a/docs/api/v2/README.md
+++ b/docs/api/v2/README.md
@@ -70,8 +70,10 @@ The request body is either passed in the URL in case of a **GET** request (e.g.:
## Response Format
The status codes are:
* **200**: Everything went fine
-* **304**: Not modified, response body will be empty
-* **4xx**: There was an error
+* **403**: ownCloud Error: The provided authorization headers are invalid. No **error** object is available.
+* **404**: ownCloud Error: The route can not be found. This can happen if the app is disabled or because of other reasons. No **error** object is available.
+* **4xx**: There was an app related error, check the **error** object
+* **5xx**: ownCloud Error: A server error occurred. This can happen if the server is in maintenance mode or because of other reasons. No **error** object is available.
The response headers are:
* **Content-Type**: application/json; charset=utf-8
@@ -119,9 +121,7 @@ The intial sync happens, when a user adds an ownCloud account in your app. In th
This will return the following status codes:
* **200**: Successully synced
* **400**: An error occurred, check the **error** object for more information
-* **403**: ownCloud Error: The provided authorization headers are invalid
-* **404**: ownCloud Error: The route can not be found. This can happen if the app is disabled or because of other reasons. No **error** object is available.
-* **5xx**: ownCloud Error: A server error occurred. This can happen if the server is in maintenance mode or because of other reasons. No **error** object is available.
+* Other ownCloud errors, see **Response Format**
and the following HTTP headers:
* **Content-Type**: application/json; charset=utf-8