Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Get Document By Rev Id #80

Open
jashachik opened this issue Aug 2, 2016 · 0 comments
Open

Get Document By Rev Id #80

jashachik opened this issue Aug 2, 2016 · 0 comments
Labels

Comments

@jashachik
Copy link

Good afternoon,

I'm using Postman to get a document through sync gateway which returns perfectly with:

http://xxxx:4984/edc/CRA::141444?rev=2-838d21726d73d9f894a1ab581bc7825b

But when I use that syntax to get a document from cblite like:

couchbase.db(CRA::141444?rev=2-838d21726d73d9f894a1ab581bc7825b, function(err, rework_demographics_form_data_doc) {

                });

I get error: GET http://a4e03d6f-ab7c-44b2-811c-192539089b6e:1bbd7727-4d6b-424a-9252-9e17c5d…dc/DemographicsForm%3A%3A141222%3Frev%3D1-0d9b77e664ac76ed7eef332f6ee3f09d 404 (Not found)

Is there some syntax I need to use to get the document by specific revision? Is there a parameter i need to pass it? Please help!

james

@djpongh djpongh added the icebox label Jun 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants