We are trying to connect PouchDB to Capella through Capella Sync Gateway.
We managed to sync / replicate data from the default scope (_default_scope), by setting up the connectoin string as /endpoint.
Since we have multiple collections, we would want to achieve something like this:
https://url.com:4984/test._default.test_sync/_changes?feed=continuous&include_docs=true&timeout=0
Is it possible that each pouch db would sync/repliacate from other scope than the default one? We can set up multiple endpoints in Capella, but we would need each one to be linked to a custom scope.
Above URL, does return correct data when used outside of PouchDB, but we have not succeeded to configure PouchDB to get same data.
If using https://url.com:4984/test._default_scope.test_sync this returns 404.
Are there any other alternatives on achieving this?