On Friday, January 9, 2015 at 1:18:26 PM UTC-3, Jens Alfke wrote:
>
>
> On Jan 9, 2015, at 6:02 AM, Federico Hernandez <[email protected] 
> <javascript:>> 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
>

Thanks Jens.
 

>
> *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?)
>
>  
Through a google search.

-- 
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/78b58f14-aa6d-484b-993e-5404c93bfd87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to