GET odata/MediaFeedbacks?$expand=MediaObject
"Expands" the query to include related Media object. Can be combined with other operators like $filter.
Response Information
Response body formats
application/json, text/json
Sample:
{
"odata.metadata": "http://sampleserver.com/odata/$metadata#MediaFeedback",
"value": [
{
"MediaObject": {
"MediaID": "a693621c-a367-4ed4-ba90-d012a1636e4a",
"FilePath": "~/Photos/SampleSite/Pictures/long_beach_2_800x600.jpg",
"ThumbnailFilePath": null,
"FileType": "image/jpeg",
"Type": "Photo",
"Title": null,
"Description": null,
"CreatedTime": "2014-05-15T19:40:42.21",
"UpdatedTime": "2014-05-15T19:40:42.24",
"MediaCategoryID": "0820484d-8cd3-4da5-acd3-e06f4d73a54f",
"SiteName": "SampleSite",
"IsPublic": false,
"Views": null,
"Duration": null,
"Height": null,
"Width": null,
"IsFileLocked": null,
"Order": null
},
"MediaFeedbackID": "d8ffa433-f405-4411-a10c-128730bcf9db",
"MembershipID": null,
"Comments": "This is sample comment 1.",
"MediaID": "a693621c-a367-4ed4-ba90-d012a1636e4a",
"ParentMediaFeedbackID": null,
"Name": "Unit Test Person",
"Website": "unit.test.com",
"CreatedTime": "2014-05-15T19:40:42.24"
},
{
"MediaObject": {
"MediaID": "77228aeb-8a16-4ee7-88c5-e28dcd459611",
"FilePath": "~/Photos/SampleSite/Pictures/long_beach_2_800x600.jpg",
"ThumbnailFilePath": null,
"FileType": "image/jpeg",
"Type": "Photo",
"Title": null,
"Description": null,
"CreatedTime": "2014-05-15T19:42:04.56",
"UpdatedTime": "2014-05-15T19:42:27.597",
"MediaCategoryID": "0820484d-8cd3-4da5-acd3-e06f4d73a54f",
"SiteName": "SampleSite",
"IsPublic": false,
"Views": null,
"Duration": null,
"Height": null,
"Width": null,
"IsFileLocked": null,
"Order": null
},
"MediaFeedbackID": "6cc0405d-72b6-49f3-9678-f2b3f2b6acc0",
"MembershipID": null,
"Comments": "This is sample comment 2.",
"MediaID": "77228aeb-8a16-4ee7-88c5-e28dcd459611",
"ParentMediaFeedbackID": null,
"Name": "Unit Test Person",
"Website": "unit.test.com",
"CreatedTime": "2014-05-15T19:42:27.6"
}
]
}