7.1. GET /db/_local/local-doc

MethodGET /db/_local/local-doc
Request None
Response JSON of the returned document
Admin Privileges Requiredno
Query ArgumentsArgumentrev
 Description Specify the revision to return
 Optionalyes
 Typestring
 Supported Values 
 trueIncludes the revisions
   
 Argumentrevs
 Description Return a list of the revisions for the document
 Optionalyes
 Typeboolean
   
 Argumentrevs_info
 Description Return a list of detailed revision information for the document
 Optionalyes
 Typeboolean
 Supported Values 
 trueIncludes the revisions
Return Codes
400 The format of the request or revision was invalid
404 The specified document or revision cannot be found, or has been deleted

Gets the specified local document. The semantics are identical to accessing a standard document in the specified database, except that the document is not replicated. See Section 6.2, “GET /db/doc.