younifyd
Menu

Replace object references (PUT /v1/objects/{className}/{id}/references/{propertyName})

Replace object references

PUT/v1/objects/{className}/{id}/references/{propertyName}

Use it in a workflow

  1. Add a step and choose the Weaviate connector.
  2. Pick the Replace object references (PUT /v1/objects/{className}/{id}/references/{propertyName}) action (under objects).
  3. Fill in the fields below, then reference the result from later steps as {{replaceObjectReferencesPutV1ObjectsClassnameIdReferencesPropertyname.response.data}}.

Request

Path parameters

classNamestringrequired

Name of the collection (class) the source object belongs to.

idstring (uuid)required

Unique UUID of the source object.

propertyNamestringrequired

Unique name of the reference property of the source object.

Query parameters

consistency_levelstring

Determines how many replicas must acknowledge a request before it is considered successful.

tenantstring

Specifies the tenant in a request targeting a multi-tenant collection (class).

Response

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

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