Add media-info resource to the API v2 (issue #3421)