GET odata/MediaRatings

Gets a collection of MediaRating objects. Requires the scope Site.Name:{SiteName} to be granted, in other words - MediaRating objects can only be retrieved within the scope of single Site.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "odata.metadata": "http://sampleserver.com/odata/$metadata#MediaRating",
  "value": [
    {
      "MediaRatingID": "5e4d3a2c-f657-4158-b059-0568b920237a",
      "MediaID": "25380ddb-7907-4a6c-b77f-6744b777c0ef",
      "MembershipID": null,
      "RatingValue": 10,
      "CreatedTime": "2014-05-12T21:02:33.56",
      "SiteName": "SampleSite"
    },
    {
      "MediaRatingID": "fd477804-9ee1-4140-a053-11d9898c914a",
      "MediaID": "25380ddb-7907-4a6c-b77f-6744b777c0ef",
      "MembershipID": null,
      "RatingValue": 1,
      "CreatedTime": "2014-05-14T21:02:29.653",
      "SiteName": "SampleSite"
    }
  ]
}