Skip to content

Check Document Validity

POST %%LIVEAPI_BASEURL_VAR%%/checkValid
{
  "document": null
}

This endpoint checks the validity of a provided document against the BSON format. It returns 'Valid' if the document is valid and 'Invalid' otherwise.

Jump To Definition


document.js#L26

Source: lib / routes / document.js

Branch: main

Repository: mongo-express