Search Documents in Collection
The list of documents with the parameters in the request body: for filters that are too long for the URL (a URL of more than 2048 characters is refused by the server before the request is handled, without CORS headers). The filter is a Lucene query like in the list, the answer and the pagination headers are the same.
Authorizations
Parameters
Path Parameters
The name of your MongoDb Collection
Query Parameters
Full-text search (2.10.0, collections declared with search): the words; the best matches first unless sort is given. 400 for a collection without search.
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.
falseCount elements per page
100"int64"Requested page of the ResultSets
1"int64"How the result is counted: exact (default) or none (no count headers, no count query)
"exact""none""exact""exact"Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page
""relaxed (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"true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc*
falsefalse