API mockup in fake_hive.js