renamed main API endpoint