Skip to content

Index for Collection​

GET
/mongodb/collections/{collectionName}/index/{indexName}

Index by Name for given Collection. 404 for an index that does not exist (2.0.0).

Authorizations​

httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)

Parameters​

Path Parameters

collectionName*

The name of your MongoDb Collection

Type
string
Required
indexName*

The name of your Index

Type
string
Required

Responses​

application/json
JSON
{
  
"name": "string",
  
"fields": [
  
  
"string"
  
],
  
"unique": true,
  
"version": 0,
  
"namespace": "string",
  
"keys": {
  
  
"additionalProperties": null
  
},
  
"weights": {
  
  
"additionalProperties": null
  
},
  
"expire": true,
  
"expireAfterSeconds": 0,
  
"text": true,
  
"fetched": "2024-01-01T00:00:00Z",
  
"map": {
  
  
"additionalProperties": null
  
}
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Released under the MIT License.