Skip to content

Commit

Permalink
New error was added to negotiations/{nid}/messages
Browse files Browse the repository at this point in the history
  • Loading branch information
a-mironov-hh-ru committed Dec 6, 2023
1 parent 26967ef commit fdb7b18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/negotiations.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ message | да | Текст сообщения

* `404 Not Found` - при отсутствии отклика с указанным идентификатором
* `403 Forbidden` – если отправить сообщение не удалось
* `425 Too Early` – если чат отклика/приглашения еще не готов

Дополнительно к HTTP коду сервер может вернуть описание
[причины ошибки](errors.md#negotiations).
Expand Down
1 change: 1 addition & 0 deletions docs_eng/negotiations.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ comment:

* `404 Not Found` – response with this ID doesn't exist
* `403 Forbidden` – if a message was not sent
* `425 Too Early` – if chat of response/invitation is not ready yet

In addition to an HTTP code, the server can return
[error reason](errors.md#negotiations).
Expand Down

0 comments on commit fdb7b18

Please sign in to comment.