server API