node-restful
node-restful copied to clipboard
Filters
Need support for more mongodb filters in the url or as get parameters (should be flexible)
i.e.
GET /<resource_name>/filter&filter2&filter3/
should be interchangeable with
GET /<resource_name>/
Possibly also process post parameters: i.e. POST
data: {
filters: [
filter1,
filter2
filter3
]
}
Also consider
field getters:
/movies/:id/title,reviews
/movies/:id/year,meta.director
Added filtering for limit and offset
Sorting would also be sensible to include
EDIT: I see on #29 that they are included but undocumented
Yep, that is correct. There are tests for filters, if you would like to write documentation, @gausie