pronghorn-core

On this page:

createIndexes

Summary

Create a collection's indexes in Mongo

Description

Create all pre-defined indexes for a specific collection.

Route

POST /indexes/:collection

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
collection string yes The name of a collection in Mongo.

Return

DetailsExampleSchema
Name Type Description
result object The current status of the index creation process.