add server_api

add server_api