diff options
author | korelstar <korelstar@users.noreply.github.com> | 2020-06-11 15:45:35 +0300 |
---|---|---|
committer | korelstar <korelstar@users.noreply.github.com> | 2020-06-11 15:51:54 +0300 |
commit | 797eada658876e31fc84af7404ac3eceeb2b0aff (patch) | |
tree | fa22df63992f3551683a7e1528020596e8533299 /docs | |
parent | c631ecdc76435abee21732ead58ee0b913bb9c03 (diff) |
add test and docs for 401 Unauthorized
Diffstat (limited to 'docs')
-rw-r--r-- | docs/api/v1.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/api/v1.md b/docs/api/v1.md index b2deac0f..6907e807 100644 --- a/docs/api/v1.md +++ b/docs/api/v1.md @@ -65,6 +65,9 @@ All defined routes in the specification are appended to this url. To access all }, // etc ] ``` + +##### 401 Unauthorized +No valid authentication credentials supplied. </details> @@ -92,6 +95,9 @@ All defined routes in the specification are appended to this url. To access all ##### 400 Bad Request Invalid ID supplied. +##### 401 Unauthorized +No valid authentication credentials supplied. + ##### 404 Not Found Note not found. </details> @@ -117,6 +123,9 @@ Note not found. ##### 400 Bad Request Invalid ID supplied. +##### 401 Unauthorized +No valid authentication credentials supplied. + ##### 507 Insufficient Storage Not enough free storage for saving the note's content. </details> @@ -138,6 +147,9 @@ Not enough free storage for saving the note's content. ##### 400 Bad Request Invalid ID supplied. +##### 401 Unauthorized +No valid authentication credentials supplied. + ##### 404 Not Found Note not found. @@ -161,6 +173,9 @@ Note is deleted. ##### 400 Bad Request Invalid ID supplied. +##### 401 Unauthorized +No valid authentication credentials supplied. + ##### 404 Not Found Note not found. </details> |