#479 Created API method for getting media manager trees