use correct API endpoint for schema requests