Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Posselt committed Apr 26, 2016
1 parent 49a5e72 commit 7dcd5c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/api/v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7dcd5c9

Please sign in to comment.