Resource for clustering support
Get clustering information
media type | data type | description |
---|---|---|
application/json | ClusterInfo (JSON) | clustering information response |
GET /cluster/info
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"feature" : true,
"master" : true,
"started" : true,
"members" : [ "...", "..." ],
"localMember" : {
"uuid" : "...",
"name" : "..."
},
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}
Set this instance as cluster master
media type | data type | description |
---|---|---|
application/json | ClusterInfo (JSON) | clustering information response |
PUT /cluster/master
Content-Type: */*
Accept: application/json
...
HTTP/1.1 204 No Content
Content-Type: application/json
{
"feature" : true,
"master" : true,
"started" : true,
"members" : [ "...", "..." ],
"localMember" : {
"uuid" : "...",
"name" : "..."
},
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}