diff options
author | Ellie Huxtable <ellie@elliehuxtable.com> | 2023-07-14 20:44:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-14 20:44:47 +0100 |
commit | 578615596975b5a2e6aa8b8d7a8f36b9e390f9ea (patch) | |
tree | 3898fe4b1b987ade80a3a8fb175bb09817bd7c5c /atuin-common | |
parent | 97e24d0d41bb743833e457de5ba49c5c233eb3b3 (diff) |
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.
Diffstat (limited to 'atuin-common')
-rw-r--r-- | atuin-common/src/api.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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)] |