diff options
Diffstat (limited to 'atuin-common/src/api.rs')
| -rw-r--r-- | atuin-common/src/api.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/atuin-common/src/api.rs b/atuin-common/src/api.rs index 2eff464e..025464d4 100644 --- a/atuin-common/src/api.rs +++ b/atuin-common/src/api.rs @@ -74,6 +74,12 @@ pub struct StatusResponse { pub count: i64, pub username: String, pub deleted: Vec<String>, + + // These could/should also go on the index of the server + // However, we do not request the server index as a part of normal sync + // I'd rather slightly increase the size of this response, than add an extra HTTP request + pub page_size: i64, // max page size supported by the server + pub version: String, } #[derive(Debug, Serialize, Deserialize)] |
