Description
I am trying to use the rest api to add a field to a collection in weaviate. It fails with the message below. I am using Postman to add a property to the database
The exception happens when I issue the command below. I have tried multiple combinations without success. It always return the same name. The collection is called “Core” , I want to add the “folder” property.
Is it possible to change a collection using the REST API ?
POST localhost:8080/v1/schema/Core/properties
<— the body —>
‘{
“name”: “folder”,
“dataType”: [“text”],
“description”: “release is a grouping to enable multiple execution”,
“moduleConfig”: {},
“indexInverted”: true,
“indexFilterable”: true,
“indexSearchable”: true,
“indexRangeFilters”: true,
“tokenization”: “word”
}’
<---- Response —>>
{
“error”: [
{
“message”: “property must contain name”
}
]
}
Server Setup Information
- Weaviate Server Version: “1.26.1”
- Deployment Method:
- Multi Node? Number of Running Nodes: 1
- Client Language and Version: Postman http
- Multitenancy?: N
Any additional Information
GET localhost:8080/v1/schema #works perfectly.