Changes

stoney core: REST API

4 bytes added, 12:08, 13 November 2013
/* Filtering, sorting and searching */
Filter, sort and search requests are added as query parameters to the resource URI.
* For filtering the objects returned by a resource URI, the name of an object's attribute is added as a query parameter with the required value.** Filter example, get all active user elements:<code>GET /users?status=active</code> * For sorting the objects returned by a resource URI, the query parameter <code>sort</code> is added with the object's sort attribute(s) as the value. ** Sort example, sort all users by their last and first name:<code>GET /users?sort=lastname,firstname</code> Search example,* @TBD search
[[Category:Development]]
SLB
385
edits