Refining media api
Jira: WP-1103
Merge pull request #4 from michelemorello/WP-1103

Refining media api