@lunch-money/v2-api-spec 2.11.1-preview.5 → 2.11.1-preview.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lunch-money-api-v2.yaml +294 -48
- package/package.json +1 -1
- package/version-history.md +4 -0
package/lunch-money-api-v2.yaml
CHANGED
|
@@ -53,9 +53,11 @@ servers:
|
|
|
53
53
|
tags:
|
|
54
54
|
- name: me
|
|
55
55
|
description: View details and settings for the current user and account.<p>
|
|
56
|
-
Use [/me/
|
|
57
|
-
[/me/
|
|
58
|
-
|
|
56
|
+
Use [/me/user/settings](#tag/me/GET/me/user/settings) for user-wide
|
|
57
|
+
preferences, [/me/account/settings](#tag/me/GET/me/account/settings) for
|
|
58
|
+
account-wide preferences, and
|
|
59
|
+
[/me/user/account/settings](#tag/me/GET/me/user/account/settings) for
|
|
60
|
+
preferences specific to the current user and budgeting account.
|
|
59
61
|
- name: categories
|
|
60
62
|
description: Work with categories
|
|
61
63
|
externalDocs:
|
|
@@ -3798,6 +3800,7 @@ components:
|
|
|
3798
3800
|
- budget_rollover_left_to_budget
|
|
3799
3801
|
|
|
3800
3802
|
weekStartsOnEnum:
|
|
3803
|
+
x-internal: true
|
|
3801
3804
|
type: string
|
|
3802
3805
|
title: week starts on enum
|
|
3803
3806
|
enum:
|
|
@@ -3806,6 +3809,7 @@ components:
|
|
|
3806
3809
|
description: The day on which a calendar week begins.
|
|
3807
3810
|
|
|
3808
3811
|
monthYearFormatEnum:
|
|
3812
|
+
x-internal: true
|
|
3809
3813
|
type: string
|
|
3810
3814
|
title: month and year format enum
|
|
3811
3815
|
description: Format string for displaying month and year values
|
|
@@ -3832,6 +3836,7 @@ components:
|
|
|
3832
3836
|
- "YYYY/MM"
|
|
3833
3837
|
|
|
3834
3838
|
monthDayYearFormatEnum:
|
|
3839
|
+
x-internal: true
|
|
3835
3840
|
type: string
|
|
3836
3841
|
title: month, day and year format enum
|
|
3837
3842
|
description: Format string for displaying full dates in the
|
|
@@ -3889,6 +3894,7 @@ components:
|
|
|
3889
3894
|
- "M/DD/YYYY"
|
|
3890
3895
|
|
|
3891
3896
|
monthDayFormatEnum:
|
|
3897
|
+
x-internal: true
|
|
3892
3898
|
type: string
|
|
3893
3899
|
title: month and day format enum
|
|
3894
3900
|
description: Format string for displaying month and day values
|
|
@@ -3931,6 +3937,98 @@ components:
|
|
|
3931
3937
|
- "DD.M"
|
|
3932
3938
|
- "DD/M"
|
|
3933
3939
|
|
|
3940
|
+
localeEnum:
|
|
3941
|
+
type: string
|
|
3942
|
+
title: locale enum
|
|
3943
|
+
description: Locale used for formatting numbers and currency amounts in
|
|
3944
|
+
the Lunch Money app.
|
|
3945
|
+
example: en-US
|
|
3946
|
+
enum:
|
|
3947
|
+
- sq-AL # Albanian (Albania)
|
|
3948
|
+
- be-BY # Belarusian (Belarus)
|
|
3949
|
+
- bg-BG # Bulgarian (Bulgaria)
|
|
3950
|
+
- ca-ES # Catalan (Spain)
|
|
3951
|
+
- zh-CN # Chinese (Simplified) (China)
|
|
3952
|
+
- zh-HK # Chinese (Traditional) (Hong Kong)
|
|
3953
|
+
- zh-TW # Chinese (Traditional) (Taiwan)
|
|
3954
|
+
- hr-HR # Croatian (Croatia)
|
|
3955
|
+
- cs-CZ # Czech (Czech Republic)
|
|
3956
|
+
- da-DK # Danish (Denmark)
|
|
3957
|
+
- nl-BE # Dutch (Belgium)
|
|
3958
|
+
- nl-NL # Dutch (Netherlands)
|
|
3959
|
+
- en-AU # English (Australia)
|
|
3960
|
+
- en-CA # English (Canada)
|
|
3961
|
+
- en-IN # English (India)
|
|
3962
|
+
- en-IE # English (Ireland)
|
|
3963
|
+
- en-MT # English (Malta)
|
|
3964
|
+
- en-NZ # English (New Zealand)
|
|
3965
|
+
- en-PH # English (Philippines)
|
|
3966
|
+
- en-SG # English (Singapore)
|
|
3967
|
+
- en-ZA # English (South Africa)
|
|
3968
|
+
- en-GB # English (United Kingdom)
|
|
3969
|
+
- en-US # English (United States)
|
|
3970
|
+
- et-EE # Estonian (Estonia)
|
|
3971
|
+
- fi-FI # Finnish (Finland)
|
|
3972
|
+
- fr-BE # French (Belgium)
|
|
3973
|
+
- fr-CA # French (Canada)
|
|
3974
|
+
- fr-FR # French (France)
|
|
3975
|
+
- fr-LU # French (Luxembourg)
|
|
3976
|
+
- fr-CH # French (Switzerland)
|
|
3977
|
+
- de-AT # German (Austria)
|
|
3978
|
+
- de-DE # German (Germany)
|
|
3979
|
+
- de-LU # German (Luxembourg)
|
|
3980
|
+
- de-CH # German (Switzerland)
|
|
3981
|
+
- el-CY # Greek (Cyprus)
|
|
3982
|
+
- el-GR # Greek (Greece)
|
|
3983
|
+
- iw-IL # Hebrew (Israel); modern replacement: he-IL
|
|
3984
|
+
- hi-IN # Hindi (India)
|
|
3985
|
+
- hu-HU # Hungarian (Hungary)
|
|
3986
|
+
- is-IS # Icelandic (Iceland)
|
|
3987
|
+
- in-ID # Indonesian (Indonesia); modern replacement: id-ID
|
|
3988
|
+
- ga-IE # Irish (Ireland)
|
|
3989
|
+
- it-IT # Italian (Italy)
|
|
3990
|
+
- it-CH # Italian (Switzerland)
|
|
3991
|
+
- ja-JP # Japanese (Japan)
|
|
3992
|
+
- ko-KR # Korean (South Korea)
|
|
3993
|
+
- lv-LV # Latvian (Latvia)
|
|
3994
|
+
- lt-LT # Lithuanian (Lithuania)
|
|
3995
|
+
- mk-MK # Macedonian (Macedonia)
|
|
3996
|
+
- ms-MY # Malay (Malaysia)
|
|
3997
|
+
- mt-MT # Maltese (Malta)
|
|
3998
|
+
- no-NO # Norwegian (Norway)
|
|
3999
|
+
- pl-PL # Polish (Poland)
|
|
4000
|
+
- pt-BR # Portuguese (Brazil)
|
|
4001
|
+
- pt-PT # Portuguese (Portugal)
|
|
4002
|
+
- ro-RO # Romanian (Romania)
|
|
4003
|
+
- ru-RU # Russian (Russia)
|
|
4004
|
+
- sk-SK # Slovak (Slovakia)
|
|
4005
|
+
- sl-SI # Slovenian (Slovenia)
|
|
4006
|
+
- es-AR # Spanish (Argentina)
|
|
4007
|
+
- es-BO # Spanish (Bolivia)
|
|
4008
|
+
- es-CL # Spanish (Chile)
|
|
4009
|
+
- es-CO # Spanish (Colombia)
|
|
4010
|
+
- es-CR # Spanish (Costa Rica)
|
|
4011
|
+
- es-DO # Spanish (Dominican Republic)
|
|
4012
|
+
- es-EC # Spanish (Ecuador)
|
|
4013
|
+
- es-SV # Spanish (El Salvador)
|
|
4014
|
+
- es-GT # Spanish (Guatemala)
|
|
4015
|
+
- es-HN # Spanish (Honduras)
|
|
4016
|
+
- es-MX # Spanish (Mexico)
|
|
4017
|
+
- es-NI # Spanish (Nicaragua)
|
|
4018
|
+
- es-PA # Spanish (Panama)
|
|
4019
|
+
- es-PY # Spanish (Paraguay)
|
|
4020
|
+
- es-PE # Spanish (Peru)
|
|
4021
|
+
- es-PR # Spanish (Puerto Rico)
|
|
4022
|
+
- es-ES # Spanish (Spain)
|
|
4023
|
+
- es-US # Spanish (United States)
|
|
4024
|
+
- es-UY # Spanish (Uruguay)
|
|
4025
|
+
- es-VE # Spanish (Venezuela)
|
|
4026
|
+
- sv-SE # Swedish (Sweden)
|
|
4027
|
+
- th-TH # Thai (Thailand)
|
|
4028
|
+
- tr-TR # Turkish (Turkey)
|
|
4029
|
+
- uk-UA # Ukrainian (Ukraine)
|
|
4030
|
+
- vi-VN # Vietnamese (Vietnam)
|
|
4031
|
+
|
|
3934
4032
|
accountSettingsObject:
|
|
3935
4033
|
type: object
|
|
3936
4034
|
title: account settings object
|
|
@@ -3954,13 +4052,19 @@ components:
|
|
|
3954
4052
|
description: Display name of the budgeting account in the Lunch Money
|
|
3955
4053
|
app.
|
|
3956
4054
|
locale:
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
4055
|
+
allOf:
|
|
4056
|
+
- $ref: "#/components/schemas/localeEnum"
|
|
4057
|
+
example: en-US
|
|
4058
|
+
description: Locale used for formatting numbers and currency amounts
|
|
4059
|
+
in the Lunch Money app (for example, `en-US`). See
|
|
4060
|
+
[Supported Locales](https://lunchmoney.dev/v2/locales) for accepted
|
|
4061
|
+
values. Date presentation is configured separately through
|
|
4062
|
+
[GET /me/user/settings](#tag/me/GET/me/user/settings) and
|
|
4063
|
+
[PUT /me/user/settings](#tag/me/PUT/me/user/settings). When no
|
|
4064
|
+
locale is explicitly stored for the account, the effective locale
|
|
4065
|
+
is derived from the `default_locale` associated with
|
|
4066
|
+
`primary_currency` in the currencies table (for example, `usd` →
|
|
4067
|
+
`en-US`, `cad` → `en-CA`, `gbp` → `en-GB`).
|
|
3964
4068
|
auto_create_category_rules:
|
|
3965
4069
|
type: boolean
|
|
3966
4070
|
default: true
|
|
@@ -3971,16 +4075,11 @@ components:
|
|
|
3971
4075
|
default: true
|
|
3972
4076
|
description: If `true`, suggested transaction rules are created
|
|
3973
4077
|
automatically.
|
|
3974
|
-
|
|
4078
|
+
include_pending_in_totals:
|
|
3975
4079
|
type: boolean
|
|
3976
4080
|
default: true
|
|
3977
|
-
description: If `true`, transactions are
|
|
3978
|
-
|
|
3979
|
-
auto_review_transaction_on_creation:
|
|
3980
|
-
type: boolean
|
|
3981
|
-
default: true
|
|
3982
|
-
description: If `true`, transactions are marked as reviewed when
|
|
3983
|
-
created.
|
|
4081
|
+
description: If `true`, pending transactions are included in account
|
|
4082
|
+
totals.
|
|
3984
4083
|
required:
|
|
3985
4084
|
- primary_currency
|
|
3986
4085
|
- supported_currencies
|
|
@@ -3988,13 +4087,13 @@ components:
|
|
|
3988
4087
|
- locale
|
|
3989
4088
|
- auto_create_category_rules
|
|
3990
4089
|
- auto_create_suggested_transaction_rules
|
|
3991
|
-
-
|
|
3992
|
-
- auto_review_transaction_on_creation
|
|
4090
|
+
- include_pending_in_totals
|
|
3993
4091
|
|
|
3994
4092
|
updateAccountSettingsRequestObject:
|
|
3995
4093
|
x-internal: true
|
|
3996
4094
|
type: object
|
|
3997
4095
|
additionalProperties: false
|
|
4096
|
+
minProperties: 1
|
|
3998
4097
|
description: Request body for updating account settings. Include at least
|
|
3999
4098
|
one property to update.
|
|
4000
4099
|
properties:
|
|
@@ -4016,9 +4115,15 @@ components:
|
|
|
4016
4115
|
description: If set, updates the display name of the budgeting account.
|
|
4017
4116
|
x-updatable: true
|
|
4018
4117
|
locale:
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4118
|
+
allOf:
|
|
4119
|
+
- $ref: "#/components/schemas/localeEnum"
|
|
4120
|
+
example: en-US
|
|
4121
|
+
description: If set, updates the locale used for formatting numbers
|
|
4122
|
+
and currency amounts in the Lunch Money app. See
|
|
4123
|
+
[Supported Locales](https://lunchmoney.dev/v2/locales) for accepted
|
|
4124
|
+
values. Date presentation is configured separately through
|
|
4125
|
+
[GET /me/user/settings](#tag/me/GET/me/user/settings) and
|
|
4126
|
+
[PUT /me/user/settings](#tag/me/PUT/me/user/settings).
|
|
4022
4127
|
x-updatable: true
|
|
4023
4128
|
auto_create_category_rules:
|
|
4024
4129
|
type: boolean
|
|
@@ -4030,15 +4135,70 @@ components:
|
|
|
4030
4135
|
description: If set, updates whether suggested transaction rules are
|
|
4031
4136
|
created automatically.
|
|
4032
4137
|
x-updatable: true
|
|
4138
|
+
include_pending_in_totals:
|
|
4139
|
+
type: boolean
|
|
4140
|
+
description: If set, updates whether pending transactions are included
|
|
4141
|
+
in account totals.
|
|
4142
|
+
x-updatable: true
|
|
4143
|
+
|
|
4144
|
+
userAccountSettingsObject:
|
|
4145
|
+
type: object
|
|
4146
|
+
title: user account settings object
|
|
4147
|
+
additionalProperties: false
|
|
4148
|
+
description: Settings specific to the authorized user within the current
|
|
4149
|
+
budgeting account.
|
|
4150
|
+
properties:
|
|
4151
|
+
auto_review_transaction_on_update:
|
|
4152
|
+
type: boolean
|
|
4153
|
+
default: true
|
|
4154
|
+
description: If `true`, transactions are marked as reviewed when their
|
|
4155
|
+
date, category, payee, amount, account, or notes are changed.
|
|
4156
|
+
auto_review_transaction_on_creation:
|
|
4157
|
+
type: boolean
|
|
4158
|
+
default: true
|
|
4159
|
+
description: If `true`, new manual transactions start as reviewed. If
|
|
4160
|
+
`false`, they start as unreviewed.
|
|
4161
|
+
default_manual_account_id:
|
|
4162
|
+
type: integer
|
|
4163
|
+
nullable: true
|
|
4164
|
+
description: Manual account selected by default when the user creates a
|
|
4165
|
+
manual transaction in the current budgeting account. Must identify a
|
|
4166
|
+
manual account returned by
|
|
4167
|
+
[GET /manual_accounts](#tag/manual_accounts/GET/manual_accounts) for
|
|
4168
|
+
the current budgeting account. Set to `null` to clear the selection.
|
|
4169
|
+
required:
|
|
4170
|
+
- auto_review_transaction_on_update
|
|
4171
|
+
- auto_review_transaction_on_creation
|
|
4172
|
+
- default_manual_account_id
|
|
4173
|
+
|
|
4174
|
+
updateUserAccountSettingsRequestObject:
|
|
4175
|
+
x-internal: true
|
|
4176
|
+
type: object
|
|
4177
|
+
additionalProperties: false
|
|
4178
|
+
minProperties: 1
|
|
4179
|
+
description: Request body for updating settings specific to the authorized
|
|
4180
|
+
user within the current budgeting account. Include at least one property
|
|
4181
|
+
to update.
|
|
4182
|
+
properties:
|
|
4033
4183
|
auto_review_transaction_on_update:
|
|
4034
4184
|
type: boolean
|
|
4035
4185
|
description: If set, updates whether transactions are marked as reviewed
|
|
4036
|
-
when
|
|
4186
|
+
when their date, category, payee, amount, account, or notes are
|
|
4187
|
+
changed.
|
|
4037
4188
|
x-updatable: true
|
|
4038
4189
|
auto_review_transaction_on_creation:
|
|
4039
4190
|
type: boolean
|
|
4040
|
-
description: If set, updates whether transactions
|
|
4041
|
-
|
|
4191
|
+
description: If set, updates whether new manual transactions start as
|
|
4192
|
+
reviewed or unreviewed.
|
|
4193
|
+
x-updatable: true
|
|
4194
|
+
default_manual_account_id:
|
|
4195
|
+
type: integer
|
|
4196
|
+
nullable: true
|
|
4197
|
+
description: If set, updates the manual account selected by default when
|
|
4198
|
+
the user creates a manual transaction in the current budgeting
|
|
4199
|
+
account. Must identify a manual account returned by
|
|
4200
|
+
[GET /manual_accounts](#tag/manual_accounts/GET/manual_accounts) for
|
|
4201
|
+
the current budgeting account. Set to `null` to clear the selection.
|
|
4042
4202
|
x-updatable: true
|
|
4043
4203
|
|
|
4044
4204
|
userSettingsObject:
|
|
@@ -4114,6 +4274,7 @@ components:
|
|
|
4114
4274
|
x-internal: true
|
|
4115
4275
|
type: object
|
|
4116
4276
|
additionalProperties: false
|
|
4277
|
+
minProperties: 1
|
|
4117
4278
|
description: Request body for updating user settings. Include at least one
|
|
4118
4279
|
property to update.
|
|
4119
4280
|
properties:
|
|
@@ -4950,11 +5111,14 @@ paths:
|
|
|
4950
5111
|
summary: Get current user
|
|
4951
5112
|
description: |-
|
|
4952
5113
|
Get details about the user associated with the supplied authorization
|
|
4953
|
-
token.<p>
|
|
4954
|
-
|
|
4955
|
-
[/me/
|
|
4956
|
-
|
|
4957
|
-
|
|
5114
|
+
token.<p> Use [/me/user/settings](#tag/me/GET/me/user/settings) for
|
|
5115
|
+
user-wide preferences,
|
|
5116
|
+
[/me/account/settings](#tag/me/GET/me/account/settings) for account-wide
|
|
5117
|
+
preferences, and
|
|
5118
|
+
[/me/user/account/settings](#tag/me/GET/me/user/account/settings) for
|
|
5119
|
+
preferences specific to the current user and budgeting account.
|
|
5120
|
+
Properties such as `primary_currency` and `budget_name` remain on this
|
|
5121
|
+
response for backwards compatibility.
|
|
4958
5122
|
operationId: getMe
|
|
4959
5123
|
parameters: []
|
|
4960
5124
|
responses:
|
|
@@ -4983,8 +5147,9 @@ paths:
|
|
|
4983
5147
|
tags:
|
|
4984
5148
|
- me
|
|
4985
5149
|
summary: Get account settings
|
|
4986
|
-
description:
|
|
4987
|
-
Returns
|
|
5150
|
+
description: >-
|
|
5151
|
+
Returns settings for the current budgeting account. These settings apply
|
|
5152
|
+
regardless of which user is accessing the account.
|
|
4988
5153
|
operationId: getAccountSettings
|
|
4989
5154
|
responses:
|
|
4990
5155
|
"200":
|
|
@@ -5003,8 +5168,7 @@ paths:
|
|
|
5003
5168
|
locale: en-US
|
|
5004
5169
|
auto_create_category_rules: true
|
|
5005
5170
|
auto_create_suggested_transaction_rules: true
|
|
5006
|
-
|
|
5007
|
-
auto_review_transaction_on_creation: true
|
|
5171
|
+
include_pending_in_totals: true
|
|
5008
5172
|
"401":
|
|
5009
5173
|
$ref: "#/components/responses/unauthorizedToken"
|
|
5010
5174
|
"429":
|
|
@@ -5017,11 +5181,10 @@ paths:
|
|
|
5017
5181
|
summary: Update account settings
|
|
5018
5182
|
description: |-
|
|
5019
5183
|
Updates account-level settings for the budgeting account
|
|
5020
|
-
associated with the authorized API token
|
|
5021
|
-
`GET /me/account/settings`
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
includes at least one updatable property.
|
|
5184
|
+
associated with the authorized API token. Submit the full response from
|
|
5185
|
+
`GET /me/account/settings` with one or more properties changed, or
|
|
5186
|
+
provide only the properties to update. The request body must include at
|
|
5187
|
+
least one property.
|
|
5025
5188
|
operationId: updateAccountSettings
|
|
5026
5189
|
requestBody:
|
|
5027
5190
|
required: true
|
|
@@ -5036,7 +5199,7 @@ paths:
|
|
|
5036
5199
|
Update automation preferences:
|
|
5037
5200
|
value:
|
|
5038
5201
|
auto_create_category_rules: false
|
|
5039
|
-
|
|
5202
|
+
include_pending_in_totals: false
|
|
5040
5203
|
responses:
|
|
5041
5204
|
"200":
|
|
5042
5205
|
description: Account settings updated successfully
|
|
@@ -5061,8 +5224,10 @@ paths:
|
|
|
5061
5224
|
tags:
|
|
5062
5225
|
- me
|
|
5063
5226
|
summary: Get user settings
|
|
5064
|
-
description:
|
|
5065
|
-
Returns
|
|
5227
|
+
description: >-
|
|
5228
|
+
Returns display and formatting preferences for the authorized user.
|
|
5229
|
+
These settings apply across every budgeting account the user owns or
|
|
5230
|
+
collaborates on.
|
|
5066
5231
|
operationId: getUserSettings
|
|
5067
5232
|
responses:
|
|
5068
5233
|
"200":
|
|
@@ -5093,11 +5258,10 @@ paths:
|
|
|
5093
5258
|
summary: Update user settings
|
|
5094
5259
|
description: |-
|
|
5095
5260
|
Updates user-level display and formatting preferences for the user
|
|
5096
|
-
associated with the authorized API token
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
request includes at least one updatable property.<p> Updating
|
|
5261
|
+
associated with the authorized API token. Submit the full response from
|
|
5262
|
+
`GET /me/user/settings` with one or more properties changed, or provide
|
|
5263
|
+
only the properties to update. The request body must include at least
|
|
5264
|
+
one property.<p> Updating
|
|
5101
5265
|
`show_debits_as_negative` affects display in the Lunch Money app only.
|
|
5102
5266
|
Amount fields in API responses always use positive values for debits and
|
|
5103
5267
|
negative values for credits.
|
|
@@ -5137,6 +5301,88 @@ paths:
|
|
|
5137
5301
|
$ref: "#/components/responses/rateLimited"
|
|
5138
5302
|
"500":
|
|
5139
5303
|
$ref: "#/components/responses/serverError"
|
|
5304
|
+
/me/user/account/settings:
|
|
5305
|
+
get:
|
|
5306
|
+
tags:
|
|
5307
|
+
- me
|
|
5308
|
+
summary: Get user account settings
|
|
5309
|
+
description: >-
|
|
5310
|
+
Returns settings specific to the authorized user within the current
|
|
5311
|
+
budgeting account. These settings do not affect other users or the
|
|
5312
|
+
authorized user's settings in other budgeting accounts.
|
|
5313
|
+
operationId: getUserAccountSettings
|
|
5314
|
+
responses:
|
|
5315
|
+
"200":
|
|
5316
|
+
description: Settings for the authorized user in the current budgeting
|
|
5317
|
+
account
|
|
5318
|
+
content:
|
|
5319
|
+
application/json:
|
|
5320
|
+
schema:
|
|
5321
|
+
$ref: "#/components/schemas/userAccountSettingsObject"
|
|
5322
|
+
example:
|
|
5323
|
+
auto_review_transaction_on_update: true
|
|
5324
|
+
auto_review_transaction_on_creation: true
|
|
5325
|
+
default_manual_account_id: null
|
|
5326
|
+
"401":
|
|
5327
|
+
$ref: "#/components/responses/unauthorizedToken"
|
|
5328
|
+
"429":
|
|
5329
|
+
$ref: "#/components/responses/rateLimited"
|
|
5330
|
+
"500":
|
|
5331
|
+
$ref: "#/components/responses/serverError"
|
|
5332
|
+
put:
|
|
5333
|
+
tags:
|
|
5334
|
+
- me
|
|
5335
|
+
summary: Update user account settings
|
|
5336
|
+
description: |-
|
|
5337
|
+
Updates settings specific to the authorized user within the current
|
|
5338
|
+
budgeting account. Submit the full response from
|
|
5339
|
+
`GET /me/user/account/settings` with one or more properties changed, or
|
|
5340
|
+
provide only the properties to update. The request body must include at
|
|
5341
|
+
least one property.
|
|
5342
|
+
operationId: updateUserAccountSettings
|
|
5343
|
+
requestBody:
|
|
5344
|
+
required: true
|
|
5345
|
+
content:
|
|
5346
|
+
application/json:
|
|
5347
|
+
schema:
|
|
5348
|
+
$ref: "#/components/schemas/updateUserAccountSettingsRequestObject"
|
|
5349
|
+
examples:
|
|
5350
|
+
Update review preference:
|
|
5351
|
+
value:
|
|
5352
|
+
auto_review_transaction_on_creation: false
|
|
5353
|
+
Clear default manual account:
|
|
5354
|
+
value:
|
|
5355
|
+
default_manual_account_id: null
|
|
5356
|
+
responses:
|
|
5357
|
+
"200":
|
|
5358
|
+
description: User account settings updated successfully
|
|
5359
|
+
content:
|
|
5360
|
+
application/json:
|
|
5361
|
+
schema:
|
|
5362
|
+
$ref: "#/components/schemas/userAccountSettingsObject"
|
|
5363
|
+
examples:
|
|
5364
|
+
Update review preference:
|
|
5365
|
+
value:
|
|
5366
|
+
auto_review_transaction_on_update: true
|
|
5367
|
+
auto_review_transaction_on_creation: false
|
|
5368
|
+
default_manual_account_id: null
|
|
5369
|
+
Clear default manual account:
|
|
5370
|
+
value:
|
|
5371
|
+
auto_review_transaction_on_update: true
|
|
5372
|
+
auto_review_transaction_on_creation: true
|
|
5373
|
+
default_manual_account_id: null
|
|
5374
|
+
"400":
|
|
5375
|
+
description: Invalid request body
|
|
5376
|
+
content:
|
|
5377
|
+
application/json:
|
|
5378
|
+
schema:
|
|
5379
|
+
$ref: "#/components/schemas/errorResponseObject"
|
|
5380
|
+
"401":
|
|
5381
|
+
$ref: "#/components/responses/unauthorizedToken"
|
|
5382
|
+
"429":
|
|
5383
|
+
$ref: "#/components/responses/rateLimited"
|
|
5384
|
+
"500":
|
|
5385
|
+
$ref: "#/components/responses/serverError"
|
|
5140
5386
|
/summary:
|
|
5141
5387
|
get:
|
|
5142
5388
|
tags:
|
package/package.json
CHANGED
package/version-history.md
CHANGED
|
@@ -8,6 +8,10 @@ The Lunch Money API spec uses a modified version of SEMVER for its versioning me
|
|
|
8
8
|
## v2.11.1 - TBD
|
|
9
9
|
- Add `GET /me/account/settings` and `PUT /me/account/settings` for account-level settings
|
|
10
10
|
- Add `GET /me/user/settings` and `PUT /me/user/settings` for user-level display and formatting preferences
|
|
11
|
+
- Add `GET /me/user/account/settings` and `PUT /me/user/account/settings` for settings specific to a user and budgeting account
|
|
12
|
+
from `GET /me/account/settings` and `PUT /me/account/settings` to `GET /me/user/account/settings` and `PUT /me/user/account/settings`
|
|
13
|
+
- Add `include_pending_in_totals` to `GET /me/account/settings` and `PUT /me/account/settings`
|
|
14
|
+
- Add `default_manual_account_id` to `GET /me/user/account/settings` and `PUT /me/user/account/settings`
|
|
11
15
|
- Document `GET /budgets/settings` response schema publicly; change `budget_period_quantity` to integer
|
|
12
16
|
|
|
13
17
|
## v2.11.0 - Jul 31, 2026
|