*implemented CORE-1227 In Resource Flag API response add mediaType field.