Adding resolver API endpoint