Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
PUT /api/cluster/flexup      // Expands the size of the cluster.

PUT /api/cluster/flexdown    // Shrinks the size of the cluster.

Syntax

Code Block
<localhost>:8192/api/cluster/flexup

 

Request Examples

The following request example expands the size of the cluster.

...

Code Block
{
  "instances":1
}

Curl request example the sets the flexup profile to small:

Code Block
curl -X PUT http://10.10.100.19:8192/api/cluster/flexup?profiles=small

 

Response Example

Code Block
200 ok