Added media folders to the Rest API.