POST /:account_key/ratings
{"uid": "http://site.bootic.net/products/foobar", "rating": 4}
(También puede ser GET con JSONp)
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
GET /:account_key/ratings
{
"uids": [
"http://site.bootic.net/products/foobar",
"http://site.bootic.net/products/barfoo",
"http://site.bootic.net/products/ipod"
]
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
[
{"uid": "http://site.bootic.net/products/foobar", "rating": 3, "ratings_count":3},
{"uid": "http://site.bootic.net/products/barfoo", "rating": 4, "ratings_count":20},
{"uid": "http://site.bootic.net/products/ipod", "rating": 5, "ratings_count":4}
]