def get_status_api(): status = CoreService.status() status.update({K.result: K.ok}) return jsonify(status)
def subscribe_list_api(): list = CoreService.node_manager.dump() status = CoreService.status() list.update(status) list.update({K.result: K.ok}) return jsonify(list)