You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/controllers/v3/account_types.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ type Account struct {
52
52
AccountEditable
53
53
LinksAccountLinks`json:"links"`
54
54
55
-
// These fields are calculated
55
+
// These fields are computed
56
56
Balance decimal.Decimal`json:"balance" example:"2735.17"`// Balance of the account, including all transactions referencing it
57
57
ReconciledBalance decimal.Decimal`json:"reconciledBalance" example:"2539.57"`// Balance of the account, including all reconciled transactions referencing it
58
58
RecentEnvelopes []*uuid.UUID`json:"recentEnvelopes"`// Envelopes recently used with this account
Namestring`form:"name" filterField:"false"`// By name
17
-
Notestring`form:"note" filterField:"false"`// By note
18
-
Currencystring`form:"currency"`// By currency
19
-
Searchstring`form:"search" filterField:"false"`// By string in name or note
20
-
Offsetuint`form:"offset" filterField:"false"`// The offset of the first Budget returned. Defaults to 0.
21
-
Limitint`form:"limit" filterField:"false"`// Maximum number of Budgets to return. Defaults to 50.
22
-
}
23
-
24
-
// Budget is the API v3 representation of a Budget.
25
-
typeBudgetstruct {
26
-
models.Budget
27
-
Linksstruct {
28
-
Selfstring`json:"self" example:"https://example.com/api/v3/budgets/550dc009-cea6-4c12-b2a5-03446eb7b7cf"`// The budget itself
29
-
Accountsstring`json:"accounts" example:"https://example.com/api/v3/accounts?budget=550dc009-cea6-4c12-b2a5-03446eb7b7cf"`// Accounts for this budget
30
-
Categoriesstring`json:"categories" example:"https://example.com/api/v3/categories?budget=550dc009-cea6-4c12-b2a5-03446eb7b7cf"`// Categories for this budget
31
-
Envelopesstring`json:"envelopes" example:"https://example.com/api/v3/envelopes?budget=550dc009-cea6-4c12-b2a5-03446eb7b7cf"`// Envelopes for this budget
32
-
Transactionsstring`json:"transactions" example:"https://example.com/api/v3/transactions?budget=550dc009-cea6-4c12-b2a5-03446eb7b7cf"`// Transactions for this budget
33
-
Monthstring`json:"month" example:"https://example.com/api/v3/months?budget=550dc009-cea6-4c12-b2a5-03446eb7b7cf&month=YYYY-MM"`// This uses 'YYYY-MM' for clients to replace with the actual year and month.
0 commit comments