summaryrefslogtreecommitdiff
path: root/internal/api/model/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/model/account.go')
-rw-r--r--internal/api/model/account.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/api/model/account.go b/internal/api/model/account.go
index 31615d26b..a8851ddcb 100644
--- a/internal/api/model/account.go
+++ b/internal/api/model/account.go
@@ -231,3 +231,11 @@ const (
AccountRoleAdmin AccountRoleName = "admin" // Instance admin
AccountRoleUnknown AccountRoleName = "" // We don't know / remote account
)
+
+// AccountNoteRequest models a request to update the private note for an account.
+//
+// swagger:ignore
+type AccountNoteRequest struct {
+ // Comment to use for the note text.
+ Comment string `form:"comment" json:"comment" xml:"comment"`
+}