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