summaryrefslogtreecommitdiffstats
path: root/documentation/api/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/api/README.md')
-rw-r--r--documentation/api/README.md18
1 files changed, 6 insertions, 12 deletions
diff --git a/documentation/api/README.md b/documentation/api/README.md
index 7f6dc66..d1e88e3 100644
--- a/documentation/api/README.md
+++ b/documentation/api/README.md
@@ -38,20 +38,14 @@ If a request is not successfull it will set a html status code and return a json
}
```
* [400 - Bad Request](https://httpstatuses.com/400)\
-The request sent to the server was invalid. (Parameter missing, ...)
+The request was invalid. (e.g. parameter missing)
* [401 - Unauthorized](https://httpstatuses.com/401)\
-The client which sent the request to the server wasn't authorized enough. (Invalid token, token missing, ...)
+The request was not properly authorized. (e.g. token invalid, token missing)
* [403 - Forbidden](https://httpstatuses.com/403)\
-The authorized client doesn't have enough permission.
+The user does not have the required permissions.
* [404 - Not Found](https://httpstatuses.com/404)\
-The requested resource was not found. (User not found, ...)
+The requested resource was not found.
* [500 - Internal Server Error](https://httpstatuses.com/500)\
-Server side error. (Hash errors, ...)
+A server-side error occurred.
* [501 - Not Implemented](https://httpstatuses.com/501)\
-The resource doesn't have the requested methods. (Backend doesn't have the method implemented)
-
-If a request that requires authentication isn't properly authenticated one of the following erros can occur
-* **401 - Unauthorized**
- * TOKEN\_INVALID - The provided token is invalid.
- * TOKEN\_INVALID - The token is from an invalid userid.
- * TOKEN\_MISSING - This service requires a token.
+The API endpoint is not implemented.