aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-common
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2024-04-16 15:59:11 +0100
committerGitHub <noreply@github.com>2024-04-16 15:59:11 +0100
commit19f70cdc918769e0485b0e4aba4069327e96dc3b (patch)
tree70a8951c529213451ca57e04bca0f8407673aee7 /atuin-common
parentchore(release): prepare for release v18.2.0 (#1950) (diff)
downloadatuin-19f70cdc918769e0485b0e4aba4069327e96dc3b.zip
feat(server): add me endpoint (#1954)
Diffstat (limited to 'atuin-common')
-rw-r--r--atuin-common/src/api.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/atuin-common/src/api.rs b/atuin-common/src/api.rs
index d9334ffc..99b57cec 100644
--- a/atuin-common/src/api.rs
+++ b/atuin-common/src/api.rs
@@ -115,3 +115,8 @@ pub struct DeleteHistoryRequest {
pub struct MessageResponse {
pub message: String,
}
+
+#[derive(Debug, Serialize, Deserialize)]
+pub struct MeResponse {
+ pub username: String,
+}