You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2019/10/10 17:10:53 UTC

[couchdb-documentation] branch master updated: Added some missing status codes (#452)

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git


The following commit(s) were added to refs/heads/master by this push:
     new ab354b1  Added some missing status codes (#452)
ab354b1 is described below

commit ab354b17beedaf83a07c0349087415a29f75437b
Author: b0wter <b0...@gmx.de>
AuthorDate: Thu Oct 10 19:10:48 2019 +0200

    Added some missing status codes (#452)
---
 src/api/database/bulk-api.rst | 7 +++++++
 src/api/database/find.rst     | 1 +
 2 files changed, 8 insertions(+)

diff --git a/src/api/database/bulk-api.rst b/src/api/database/bulk-api.rst
index 3535867..1257ee1 100644
--- a/src/api/database/bulk-api.rst
+++ b/src/api/database/bulk-api.rst
@@ -27,6 +27,10 @@
     data.
 
     :param db: Database name
+    :<header Content-Type: :mimetype:`application/json`
+    :>header Content-Type: - :mimetype:`application/json`
+    :code 200: Request completed successfully
+    :code 404: Requested database not found
 
     **Request**:
 
@@ -104,6 +108,7 @@
       *Optional*
     :>header Content-Type: - :mimetype:`application/json`
     :code 200: Request completed successfully
+    :code 404: Requested database not found
 
     **Request**:
 
@@ -208,6 +213,7 @@
       that this is not the number of rows returned in the actual query.
     :>json number update_seq: Current update sequence for the database
     :code 200: Request completed successfully
+    :code 404: Requested database not found
 
     **Request**:
 
@@ -644,6 +650,7 @@ Sending multiple queries to a database
     :>jsonarr string reason: Error reason. *Optional*
     :code 201: Document(s) have been created or updated
     :code 400: The request provided invalid JSON data
+    :code 404: Requested database not found
 
     **Request**:
 
diff --git a/src/api/database/find.rst b/src/api/database/find.rst
index 2a61862..d7af1df 100644
--- a/src/api/database/find.rst
+++ b/src/api/database/find.rst
@@ -80,6 +80,7 @@
     :code 200: Request completed successfully
     :code 400: Invalid request
     :code 401: Read permission required
+    :code 404: Requested database not found
     :code 500: Query execution error
 
 The ``limit`` and ``skip`` values are exactly as you would expect. While