From Documentation, we can see REST API available only for enable XDCR. Do we have REST for Enable advanced filtering like Filter Expression in XDCR?
Please let me know where can i find REST API for Enable advanced filtering like Filter Expression in couchbase XDCR configuration. Current couchbase version is 6.0.0 EE.
It doesn't look this is explicitly documented, so I'm not 100% sure if it's supported. But specify
filterExpression
when you are creating a replication with the/controller/createReplication
endpoint.So, for example, this worked for me when I ran it from Postman:
Check out the Documentation for /controller/createReplication, (and I'm going to see if I can get filterExpression added to it explicitly).