Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pauseReplicarion REST api not worling for global settings #3

Open
ArihantRk opened this issue Jun 21, 2016 · 1 comment
Open

pauseReplicarion REST api not worling for global settings #3

ArihantRk opened this issue Jun 21, 2016 · 1 comment

Comments

@ArihantRk
Copy link

ArihantRk commented Jun 21, 2016

i am using CB 4.0 CE version,
curl -X POST -u Administrator:password http://localhost:8091/settings/replications -d pauseRequested=true is not working. The response code is 200 but no changes in xdcr settings

how to check whether replication is paused ot not. any REST API exist?

@arunapiravi
Copy link

arunapiravi commented Jun 21, 2016

Hi,

For the api to work, please append the replication id to the rest api as follows -

curl -X POST -u Administrator:password http://localhost:8091/settings/replications/repl_id -d pauseRequested=true

A replication id looks like this - 61fbe91e224ff5f5177799f26483861d%2Fdefault%2Fdefault and identifies a particular replication.

You can find the list of replication ids in a cluster at http://IP:8091/pools/default/tasks .

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants