Collection Information
GET
/mongodb/collections/{collectionName}
All Information about a single Collection. 404 for a collection 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
Requiredstring
Query Parameters
includeDetails
Include all details for the Collection
Type
boolean
Default
falseResponses
application/json
JSON "ns": "string", "collectionType": "string", "scaleFactor": 0, "size": 0, "count": 0, "storageSize": 0, "avgObjSize": 0, "nindexes": 0, "indexSizes": { "additionalProperties": 0 }, "totalIndexSize": 0, "ok": 0, "fetched": "2024-01-01T00:00:00Z", "map": { "additionalProperties": null }
{
}
