diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-04-16 15:59:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-16 15:59:11 +0100 |
| commit | 19f70cdc918769e0485b0e4aba4069327e96dc3b (patch) | |
| tree | 70a8951c529213451ca57e04bca0f8407673aee7 /atuin-common/src/api.rs | |
| parent | chore(release): prepare for release v18.2.0 (#1950) (diff) | |
| download | atuin-19f70cdc918769e0485b0e4aba4069327e96dc3b.zip | |
feat(server): add me endpoint (#1954)
Diffstat (limited to 'atuin-common/src/api.rs')
| -rw-r--r-- | atuin-common/src/api.rs | 5 |
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, +} |
