Server Groups Memberships API

Hi,

I am having difficulty trying to use the REST API to move a server node from one group to another.

  1. The documentation shows a query param rev, but doesn’t state what is should be.

Also, is it really necessary to provide so many node details in the JSON body just to move the node?

  1. I have also looked into adding a new server to the cluster into a group, but in this case is doesn’t seem possible to specify the services (data, query, index) that the node should be used for.

If there is something obvious I am missing?

Thanks

It seems that the second option above does take an undocumented services parameter. I am looking into it now

Services can be added using the serverGroups-addNode API. I have updated the documentation.

https://developer.couchbase.com/documentation/server/4.6/rest-api/rest-servergroup-post-add.html

1 Like