[kronosnet/kronosnet] b90865: [cleanup] split all handle api calls into handle_api