Exemple #1
0
def list_debug_json():
    object = quorum.get_object(alias=True, find=True)
    accounts = models.Debug.find(map=True, sort=[("timestamp", -1)], **object)
    return accounts
Exemple #2
0
def list_logs_json():
    object = quorum.get_object(alias = True, find = True)
    logs = models.Log.find(map = True, sort = [("timestamp", -1)], **object)
    return logs
Exemple #3
0
def list_accounts_json():
    object = quorum.get_object(alias = True, find = True)
    accounts = models.Account.find(map = True, sort = [("username", 1)], **object)
    return accounts