GET odata/MediaCategories
Gets a collection of MediaCategory objects. Without the scope Site.Name:{SiteName} granted - retrieves only public MediaCategory objects for public and visible Sites. When that scope is granted - retrieves all MediaCategory objects for a Site.
Response Information
Response body formats
application/json, text/json
Sample:
{ "odata.metadata": "http://sampleserver.com/odata/$metadata#MediaCategory", "value": [ { "MediaCategoryID": "00e751c0-c6b7-42a8-901d-2be84e8276af", "Name": "Latest Videos", "SafeName": "Latest-Videos", "IsPublic": true, "Description": null, "CreatedTime": "2012-07-15T21:08:01.917", "SiteName": "SampleSite", "Order": null }, { "MediaCategoryID": "c9ff8c17-da27-4242-9f06-47c42ff43662", "Name": "Latest Pictures", "SafeName": "Latest-Pictures", "IsPublic": true, "Description": "Contains some of our latest pictures", "CreatedTime": "2013-03-16T15:42:57.03", "SiteName": "SampleSite", "Order": null } ] }