cloudant / nodejs-cloudant

Cloudant Node.js client library
Apache License 2.0
255 stars 90 forks source link

Migration guide replicator DB endpoints #433

Closed ricellis closed 3 years ago

ricellis commented 3 years ago

Please read these guidelines before opening an issue.

Bug Description

1. Steps to reproduce and the simplest code sample possible to demonstrate the issue

Migration guide functions that use replicator DB are not pointing to their new equivalents.

2. What you expected to happen

replicate()/replicateDb() postReplicate
enableReplication()/replication.enable() https://cloud.ibm.com/apidocs/cloudant?code=node#putreplicationdocument
queryReplication()/replication.query() https://cloud.ibm.com/apidocs/cloudant?code=node#getschedulerdocument
disableReplication()/replication.delete() https://cloud.ibm.com/apidocs/cloudant?code=node#deletereplicationdocument

3. What actually happened

replicate()/replicateDb()/enableReplication() postReplicate

Environment details

N/A