change api mapper to get