Renamed server to api