Changed all 'server' to 'api'