Versions Compared

Key

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

...

Code Block
POST https://localhost/operations/rebalance

HTTP/1.1 202 Accepted
Location: https://localhost/operations/12336

...



  HTTP/1.1 202 Accepted
  Location: https://localhost/operations/12336

subsequent rebalance request would get the same result: (if a rebalance is already going on, the request is simply accepted, and returns the running rebalance's operation status link)

if the previous rebalance request is already finished, a new rebalance will be triggered, and a new operation status link will be sent back to the user


status request for a running operation:


http GET https://localhost/operations/12336

...

response of a finished rebalance : 200 Ok,

{ "operationType": "rebalance", "startTime": "1287364876", "endTime" : "232353232", "status": "successful" }

Code Block
{ "operationType": "rebalance", "startTime": "1287364876", "endTime" : "232353232", "status": "successful" }


cancel request: http DELETE https://localhost/operations/12336

...