Path parameter to specify the database name.
Optional ddocSpecifies the design document name in which the index will be created. The design document name is the
design document ID excluding the _design/ prefix.
Optional headersSchema for a json or text query index definition. Indexes of type text have additional configuration
properties that do not apply to json indexes, these are:
default_analyzer - the default text analyzer to use * default_field - whether to index the text in all
document fields and what analyzer to use for that purpose.Optional namename.
Optional partitionedThe default value is true for databases with partitioned: true and false otherwise. For databases with
partitioned: false if this option is specified the value must be false.
Optional typeSchema for the type of an index.
Parameters for the
postIndexoperation.