Distributed
Create shard key
Changed onput/collections/{collection_name}/shards
Request
- Base URLhttp://localhost:6333
- Auth
- API key in header api-key
- or HTTP bearer
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
collection_namestring required
Name of the collection to create shards for
Query parameters
timeoutinteger
Wait for operation commit timeout in seconds. If timeout is reached - request will return with service error.
Request body
Example request
{
"shard_key": "region_1"
}Response
successful operation
Example response
{
"time": 0.002,
"status": "ok"
}Changes
- warning
for the
queryrequest parametertimeout, the min was set to1.00
- warning
- info
added the new
ManualRecoveryenum value to the request property////
- info