Distributed

Update collection cluster setup

Changed on
post/collections/{collection_name}/cluster

Request

Path parameters

collection_namestring required

Name of the collection on which to to apply the cluster update operation

Query parameters

timeoutinteger

Wait for operation commit timeout in seconds. If timeout is reached - request will return with service error.

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "create_sharding_key": {
    "shard_key": "region_1"
  }
}

Response

successful operation

timenumber float

Time spent to process this request

statusstring
resultboolean

Example response

{
  "time": 0.002,
  "status": "ok"
}

Changes

    • info

      added to the ///////////////////////// request property anyOf list

    • info

      added to the /////////////////////// request property anyOf list

    • info

      added to the ///////////////////// request property anyOf list

    • info

      added to the /////////////////////// request property anyOf list

    • info

      added to the ///////////////////// request property anyOf list

    • info

      added to the /////////////////////// request property anyOf list

    • info

      added to the ///////////////////// request property anyOf list

    • breaking

      the /////////////// request property's min was increased to 1.00

    • info

      added to the ///////////////////////// request property anyOf list

    • info

      added to the /////////////////////// request property anyOf list

    • info

      added to the ///////////////////// request property anyOf list

    • info

      added to the /////////////////////// request property anyOf list

    • info

      added to the ///////////////////// request property anyOf list

    • info

      added to the /////////////////////// request property anyOf list

    • info

      added to the ///////////////////// request property anyOf list

    • info

      added to the //////////////// request property anyOf list

    • info

      added to the ////////////// request property anyOf list

    • info

      added to the //////////// request property anyOf list

    • info

      added to the ////////////// request property anyOf list

    • info

      added to the //////////// request property anyOf list

    • info

      added to the ////////////// request property anyOf list

    • info

      added to the //////////// request property anyOf list