Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorkorelstar <korelstar@users.noreply.github.com>2020-06-11 15:45:35 +0300
committerkorelstar <korelstar@users.noreply.github.com>2020-06-11 15:51:54 +0300
commit797eada658876e31fc84af7404ac3eceeb2b0aff (patch)
treefa22df63992f3551683a7e1528020596e8533299 /docs
parentc631ecdc76435abee21732ead58ee0b913bb9c03 (diff)
add test and docs for 401 Unauthorized
Diffstat (limited to 'docs')
-rw-r--r--docs/api/v1.md15
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>