Create payload index

Creates a payload index for a field in the specified collection.

Authentication

api-keystring
API Key authentication via header

Path parameters

collection_namestringRequired
Name of the collection

Query parameters

waitbooleanOptional
If true, wait for changes to actually happen
orderingenumOptional
define ordering guarantees for the operation
Allowed values:

Request

Field name
field_namestringRequired
field_schemaenum or object or anyOptional

Response

successful operation
usageobject or any or null
timedouble or null
Time spent to process this request
statusstring or null
resultobject or null