Skip to main content

Mongo 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:

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"
}
}
]
}