added media post/get endpoints