Document from Collection
Get one Document from given Collection
Authorizations
Parameters
Path Parameters
The name of your MongoDb Collection
DocumentId to read
Query Parameters
References to expand (2.4.0): declared ref fields of the collection, repeated or comma separated, at most 5. Each becomes the referenced document, read with the grant and the read scope of its collection (null, or left out of an array, when the caller cannot read it). 400 for a field that is no reference.
Soft-deleted documents too (collections declared with softDelete, 2.3.0); needs the administrate grant of the collection, 403 otherwise.
falseThe working copies (2.11.0, collections declared with drafts), also of documents that were never published; needs the write grant (and drafts.readers or the update rule), 403 otherwise.
falserelaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({"$oid": ...}, {"$date": ...}, {"$numberDecimal": ...}; canonical also {"$numberInt": ...}, {"$numberLong": ...} and {"$numberDouble": ...}); a text that looks like a date is {"$string": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types).
"relaxed""canonical""plain""relaxed"