Menu
Add an object reference (POST /v1/objects/{id}/references/{propertyName})
Add an object reference
POST
/v1/objects/{id}/references/{propertyName}Use it in a workflow
- Add a step and choose the Weaviate connector.
- Pick the Add an object reference (POST /v1/objects/{id}/references/{propertyName}) action (under objects).
- Fill in the fields below, then reference the result from later steps as
{{addAnObjectReferencePostV1ObjectsIdReferencesPropertyname.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"class": "string",
"schema": {},
"beacon": "string",
"href": "string",
"classification": {
"overallCount": 0,
"winningCount": 0,
"losingCount": 0,
"closestOverallDistance": 0,
"winningDistance": 0,
"meanWinningDistance": 0,
"closestWinningDistance": 0,
"closestLosingDistance": 0,
"losingDistance": 0,
"meanLosingDistance": 0
}
}
Response
Returns 200 with a any. Read it in later steps with {{addAnObjectReferencePostV1ObjectsIdReferencesPropertyname.response.data.<field>}}.
Need more? See the Weaviate guide for connection setup and behaviour shared by every action.
Was this page helpful?