Method | GET /db/_local/local-doc | |
Request | None | |
Response | JSON of the returned document | |
Admin Privileges Required | no | |
Query Arguments | Argument | rev |
Description | Specify the revision to return | |
Optional | yes | |
Type | string | |
Supported Values | ||
true | Includes the revisions | |
Argument | revs | |
Description | Return a list of the revisions for the document | |
Optional | yes | |
Type | boolean | |
Argument | revs_info | |
Description | Return a list of detailed revision information for the document | |
Optional | yes | |
Type | boolean | |
Supported Values | ||
true | Includes 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
”.