The *cancel: true *field must be passed along with all the other properties 
that were specified when the replication was created (i.e. source, target, 
continuous etc.)

It's documented here 
http://developer.couchbase.com/mobile/swagger/couchbase-lite/#!/server/post_replicate
 
and 
http://developer.couchbase.com/documentation/mobile/1.2/develop/references/couchbase-lite/rest-api/server/post-replicate/index.html.

Can you share the payload of the POST /_replicate request?

James

On Wednesday, 3 August 2016 06:45:25 UTC+1, Nick Pomfret wrote:
>
> I'm trying to cancel a replication task VIA the REST API.  Its not 
> documented as far as I can see, but I gather (
> http://docs.couchdb.org/en/stable/api/server/common.html#post--_replicate) 
> that I'm supposed to call the `_replicate` endpoint with the same arguments 
> that I used to create the task, but adding a `cancel: true` parameter.  It 
> works on Android 1.3x but not on iOS 1.3x, and I'm pretty sure that I it 
> used to work on 1.2 in iOS (but can't be sure).
>
> Or have I misunderstood, is there another way?
>
>
>

-- 
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/40f96fa0-bf0e-4758-ab28-7fb12b9cc7d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to