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