newui: API calls for projects

TODO: Use pithos proxy for call host