how to recover couchDB documents -
i see has been discussed (here:retrieve deleted document) having trouble understanding.
given have database named "test" running on ip address 127.0.0.1:5984, , document id "xyz123":
get revisions of deleted document following request:
$db/$id?revs=true&open_revs=all
where $db
couchdb database name , $id
deleted document id.
does mean:
get http://127.0.0.1:5984/test/"xyz123"?revs=true&open_revs=all ??
i not sure of correct syntax submitting "$id
".
the id
becomes part of url, no quoting necessary. example call get http://127.0.0.1:5984/test/xyz123?revs=true&open_revs=all
.
for reference, documents api area has basic id examples.
Comments
Post a Comment