Add note about bad request response

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-11-06 19:41:44 +01:00
parent 35991b7448
commit ec1faad4ab

View File

@@ -18,6 +18,17 @@ The REST API provides access for authenticated users to their data inside the De
## Global responses
### 400 Bad request
In case the request is invalid, e.g. because a parameter is missing, a 400 error will be returned:
```json
{
"status": 400,
"message": "title must be provided"
}
```
### 403 Permission denied
In any case a user doesn't have access to a requested entity, a 403 error will be returned: