server to api rename