Find Multiple Documents
POST {{URL_ENDPOINT}}/action/find
Using the /find
endpoint, you can fetch multiple documents at once. Use the filter
property in the body of the request to specify the criteria on which to filter. If you pass an empty object { }
, all the documents in the collection will be returned.
Request Body
{"dataSource"=>"{{DATA_SOURCE}}", "database"=>"{{DATABASE}}", "collection"=>"{{COLLECTION}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Access-Control-Request-Headers | string | ||
api-key | string | ||
Accept | string |