> On Jan 9, 2015, at 6:02 AM, Federico Hernandez <[email protected]> 
> wrote:
> 
> I'm working on a phonegap app implemeting the sync process. I've been reading 
> through the docs and I couldn't see the difference between using the Sync 
> REST API and the Push/Pull replicators, specifically when I have to get the 
> changes from the remote db.

The Gateway's REST API is used by the Couchbase Lite replicator to get and put 
documents on the server, but you wouldn't call it yourself! Not unless you felt 
like re-implementing your own replicator, which I can tell you from experience 
would be a very large amount of work. :-p

> Sync REST API  http://docs.couchbase.com/sync-gateway/#sync-rest-api 
> <http://docs.couchbase.com/sync-gateway/#sync-rest-api>
> "You use the Sync REST API to synchronize a local database with a remote 
> database. ..."


Yeah, that description is pretty misleading. But that's obsolete documentation 
(there's a disclaimer about that at the top of the page.) The current Gateway 
REST API docs are here 
<http://developer.couchbase.com/mobile/develop/references/sync-gateway/rest-api/index.html>.

(How did you find those old docs, by the way?)

—Jens

-- 
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/727E89B6-A632-4C76-B1CF-8FA6CBC6F9D1%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to