зеркало из https://github.com/nextcloud/deck.git
Add note about bad request response
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Родитель
35991b7448
Коммит
ec1faad4ab
11
docs/API.md
11
docs/API.md
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче