younifyd
Menu

Update a shard status

Update a shard status

PUT/v1/schema/{className}/shards/{shardName}

Use it in a workflow

  1. Add a step and choose the Weaviate connector.
  2. Pick the Update a shard status action (under schema).
  3. Fill in the fields below, then reference the result from later steps as {{updateAShardStatus.response.data}}.

Request

Path parameters

classNamestringrequired

The name of the collection (class) containing the shard.

shardNamestringrequired

The name of the shard to update.

Request body

Enter the body as JSON in the step's Body field.

statusstring

Status of the shard

json
{
  "status": "string"
}

Response

Returns 200 with a any. Read it in later steps with {{updateAShardStatus.response.data.<field>}}.

Need more? See the Weaviate guide for connection setup and behaviour shared by every action.