I'm trying to see the revision history for a document via:

curl 'http://
<server>:<port>/todolite/cad0e680-edf2-4d11-96fe-e2729e99acca?revs_info=true'


(revs_info should work according to CouchDB docs
<http://wiki.apache.org/couchdb/HTTP_Document_API#GET>)

But it's not returning any revision history:

{"_attachments":{"image":{"content_type":"image/jpg","digest":"sha1-4IQXrw5HI5cogoIoAZV7TT1+h5c=","length":534673,"revpos":1,"stub":true}},"_id":"cad0e680-edf2-4d11-96fe-e2729e99acca","_rev":"2-9b755d25f27daf25a4b8d3b9ce5cd748","checked":true,"created_at":"2014-07-15T17:17:40.012Z","list_id":"5cbee5d4-3220-4cfe-a795-618310c27018","title":"oak
photo 2 droid","type":"task"}


Also I grepped the sync gateway codebase for revs_info and didn't find
anything.

Is this supposed to work?  If not, is there any alternative method to
getting the revision history of a document?

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCG%3DAR5ktcOM7vbi%2BHHX-_7U57g5Hu3fYGEEui7w%3DKohLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to