Create or update index schema
POST/api/v1/stores/schema
Define or update the search index schema (field names, types, searchable/facet options). Mode: additive (add fields, keep data) or replace (recreate index). Auth: x-storeid and x-store-write-secret.
Request
Responses
- 200
- 201
- 400
- 401
- 404
- 409
- 500
Schema updated
Schema created
Invalid request or schema
Invalid write credentials
Store not found
Replace requires confirmation
Server error