Create an index on a collection to query faster on specific fields
POST
/data/{collectionName}/index
curl \
--request POST 'https://api.universecloud.io/data/users/index' \
--header "X-Api-Key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"indexField":"createdAt","sort":"desc","unique":true}'
Request examples
{
"indexField": "createdAt",
"sort": "desc",
"unique": true
}