Howdy!
As we discussed on our team meeting today, having basic query and pagination support would
be cool.
Here are some suggestions, gathered from previous conversations around the topic, and from
some BaaS providers in the wild.
Paging:
1) /cars/?limit=10&offset=3
2) /cars/?limit=10&skip=3
Query:
1) /cars/query?color=blue
2) /cars/?query={"color":"red",
"owner":"summers"}
3) /cars/?where={"brand":"BMW"}
4) /cars/?query={"engine":{"cylinders": 8}}
5) /cars/?query={"engine":{"cylinders":{"$gt":6}}}
This is not set into stone, just ideas, and I do think that anything above exact matches
should go after 1.0
Thoughts?
-- qmx