History of a Collection
GET
/mongodb/collections/{collectionName}/history
The audit records of a collection declared with audit, newest first (2.3.0); for the administrators of the collection. 404 for a collection without audit.
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
since
Only records from this time on (ISO date or time).
Type
string
operation
Only records of this operation.
Type
string
Valid values
"insert""replace""update""delete""softDelete""restore""publish""unpublish""discardDraft"rowsPerPage
Type
integer
Format
"int64"page
Type
integer
Format
"int64"extendedJson
relaxed (default), canonical or plain, as for the documents.
Type
string
Valid values
"relaxed""canonical""plain"Responses
application/json
JSON { "_id": "string", "collection": "string", "database": "string", "documentId": "string", "operation": "insert", "user": "string", "actedBy": "string", "at": { "additionalProperties": "string" }, "before": { "additionalProperties": "string" }, "after": { "additionalProperties": "string" }, "summary": { "additionalProperties": "string" }, "expiresAt": { "additionalProperties": "string" }, "restoredFrom": "string" }
[
]
