Generic Resource
PEPPERI NOTIFICATION SERVICE
ADAL Import Export
Actions Queue
CPI Node
TODO training

Internal: Create Index

post
Create Index in Pepperi ElasticSearch

https://papi.pepperi.com/v1.0/elasticsearch/create/{index_name}
Only system addons can call this method if an index exists it will throw an error.
Request
Response
Request
Path Parameters
index_name
required
string
the name of the index to be created
Body Parameters
Mapping
required
object
mapping defining how a document, and the fields it contains, are stored and indexed
Shards
optional
number
number of shards, default is 1
Response
200: OK

Use shards number with caution as it is expensive, each shard should contain 20-50GB (around 5M documents), hence most indices will usually use one shard