Skip to main content

MongoDB Find All

Returns all documents of the configured collection. You should bind this action to a route i.e. GET /document. The endpoint supports the following query parameters:

Configuration

mongodb_find_all

Connection

The MongoDB connection

Collection

The collection

Execution

ParameterDescription
startIndexThe start index of the collection
countThe document per count page
sortByThe sort by property
sortOrderThe sort order msut be either ASC or DESC
filterByThe filter by property
filterValueThe filter value

Response

This an example response from our test case the actual value of each entry depends on your case.

{
"totalResults": 2,
"itemsPerPage": 16,
"startIndex": 0,
"entry": [
{
"_id": "5344b4ddd2781d08c09790f4",
"title": "bar",
"content": "foo",
"user": {
"name": "bar",
"uri": "http:\/\/google.com"
}
}
]
}