From 578615596975b5a2e6aa8b8d7a8f36b9e390f9ea Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Fri, 14 Jul 2023 20:44:47 +0100 Subject: Add total history count to the index API (#1102) Thought it would be fun to collect some cool stats, maybe put them on atuin.sh. --- atuin-common/src/api.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'atuin-common/src') diff --git a/atuin-common/src/api.rs b/atuin-common/src/api.rs index 025464d4..5622bd82 100644 --- a/atuin-common/src/api.rs +++ b/atuin-common/src/api.rs @@ -67,6 +67,7 @@ pub struct ErrorResponse<'a> { pub struct IndexResponse { pub homage: String, pub version: String, + pub total_history: i64, } #[derive(Debug, Serialize, Deserialize)] -- cgit v1.3.1