Skip to content

Collection Options​

GET
/mongodb/collections/{collectionName}/options

The options of a Collection: capped, the validator with its level and action, the collation. 404 for a Collection that does not exist.

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

Responses​

application/json
JSON
{
  
"capped": true,
  
"sizeInBytes": 0,
  
"maxDocuments": 0,
  
"validator": {
  
  
"additionalProperties": null
  
},
  
"validationLevel": "string",
  
"validationAction": "string",
  
"collation": {
  
  
"locale": "string",
  
  
"strength": 0,
  
  
"caseLevel": true,
  
  
"numericOrdering": true
  
}
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Released under the MIT License.