GET
Retrieve the list of top products.
This resource queries the product catalog, returning a list of matching products in XML or JSON format.
It accepts three optional parameters:
/topproducts./?_type=json&sortby=rating&max=1
[ { "productLink": "http://127.0.0.1:8085/site/restapi/products/food/2010/07/organic-cotton-reusable-lunch-bag./", "price": 34, "rating": 5, "smallThumbnail": "http://127.0.0.1:8085/site/binaries/content/gallery/products/2010/06/organic-lunch-bagjpg/organic-lunch-bagjpg/hippogogreengallery%3Asmallthumbnail", "canonicalHandleUuid": "9a699b7f-fe35-418e-bd6e-5a08e7b4763a", "name": "organic-cotton-reusable-lunch-bag", "path": "/hst:hst/hst:sites/rest-live/hst:content/products/food/2010/07/organic-cotton-reusable-lunch-bag/organic-cotton-reusable-lunch-bag", "displayName": "Organic Cotton Reusable Lunch Bag", "leaf": false, "primaryNodeTypeName": "hippogogreen:product", "links": [ { "rel": "http://www.onehippo.org/cms7/hst/rest/relations/mount:rest", "href": "http://127.0.0.1:8085/site/restapi/products/food/2010/07/organic-cotton-reusable-lunch-bag./", "title": "Organic Cotton Reusable Lunch Bag" }, { "rel": "http://www.onehippo.org/cms7/hst/rest/relations/mount:site", "href": "http://127.0.0.1:8085/site/products/food/2010/07/organic-cotton-reusable-lunch-bag.html", "title": "Organic Cotton Reusable Lunch Bag" } ] } ]