Home / Documentation / REST APIs / Setup API

Setup API

The Setup API creates the .zentity-models index.

The request accepts one endpoint:

POST _zentity/_setup

URL Parameters

Parameter Type Default Required Description
number_of_shards Integer 1 No Define the number of primary shards for the index.
number_of_replicas Integer 1 No Define the number of replica shards for the index.

 


Continue Reading

REST APIs Models API
© 2018 - 2022 Dave Moore.
Licensed under the Apache License, Version 2.0.
Elasticsearch is a trademark of Elasticsearch BV.
This website uses Google Analytics.