add api, download dir to repo