@lunch-money/developer-docs 2.11.0-preview.18 → 2.11.0-preview.20
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/package.json +1 -1
- package/v2/spec/lunch-money-api-v2.yaml +14 -13
package/package.json
CHANGED
|
@@ -14,11 +14,11 @@ info:
|
|
|
14
14
|
These docs are interactive — use **Test request** on any endpoint to call the API from this page.
|
|
15
15
|
Choose a LIVE or MOCK service from the Server dropdown.
|
|
16
16
|
Requests sent to `https://api.lunchmoney.dev/v2` can <span class="red-text"><strong>change or delete</strong></span> your data and are <span class="red-text"><strong>permanent</strong></span>.
|
|
17
|
-
See the [Getting Started Guide](
|
|
17
|
+
See the [Getting Started Guide](https://lunchmoney.dev/v2/getting-started) before using the live API.
|
|
18
18
|
|
|
19
19
|
**Static mock server**
|
|
20
20
|
|
|
21
|
-
Explore without risk to real data. Select `http://
|
|
21
|
+
Explore without risk to real data. Select `http://mock.lunchmoney.dev/v2` in the Server dropdown to work with static mock data.
|
|
22
22
|
POST, PUT, and DELETE requests will return realistic responses, but do not change the mock data.
|
|
23
23
|
|
|
24
24
|
|
|
@@ -28,14 +28,14 @@ info:
|
|
|
28
28
|
|
|
29
29
|
**Migrating from v1**
|
|
30
30
|
|
|
31
|
-
The v2 API is not backwards compatible with v1. See the [Migration Guide](
|
|
31
|
+
The v2 API is not backwards compatible with v1. See the [Migration Guide](https://lunchmoney.dev/v2/migration-guide) for details.
|
|
32
32
|
|
|
33
33
|
**Useful links**
|
|
34
|
-
- [Getting Started Guide](
|
|
35
|
-
- [v2 API Overview](
|
|
36
|
-
- [Version History](
|
|
37
|
-
- [Migration Guide](
|
|
38
|
-
- [Rate Limits](
|
|
34
|
+
- [Getting Started Guide](https://lunchmoney.dev/v2/getting-started)
|
|
35
|
+
- [v2 API Overview](https://lunchmoney.dev/v2/overview)
|
|
36
|
+
- [Version History](https://lunchmoney.dev/v2/version-history)
|
|
37
|
+
- [Migration Guide](https://lunchmoney.dev/v2/migration-guide)
|
|
38
|
+
- [Rate Limits](https://lunchmoney.dev/v2/rate-limits)
|
|
39
39
|
termsOfService: https://lunchmoney.dev/#current-status
|
|
40
40
|
contact:
|
|
41
41
|
email: devsupport@lunchmoney.app
|
|
@@ -47,7 +47,7 @@ info:
|
|
|
47
47
|
servers:
|
|
48
48
|
- url: https://api.lunchmoney.dev/v2
|
|
49
49
|
description: ⚠ LIVE — changes real Lunch Money data
|
|
50
|
-
- url: http://
|
|
50
|
+
- url: http://mock.lunchmoney.dev/v2
|
|
51
51
|
description: MOCK — static demo data, no API key required
|
|
52
52
|
|
|
53
53
|
tags:
|
|
@@ -3047,7 +3047,7 @@ components:
|
|
|
3047
3047
|
currency:
|
|
3048
3048
|
description: Three-letter lowercase currency code of the transaction
|
|
3049
3049
|
in ISO 4217 format. Must match one of the [supported
|
|
3050
|
-
currencies](
|
|
3050
|
+
currencies](https://lunchmoney.dev/v2/currencies). If not set
|
|
3051
3051
|
defaults to the user account's primary currency.
|
|
3052
3052
|
allOf:
|
|
3053
3053
|
- $ref: "#/components/schemas/currencyEnum"
|
|
@@ -3192,6 +3192,7 @@ components:
|
|
|
3192
3192
|
description: |
|
|
3193
3193
|
The new payee for the transaction.
|
|
3194
3194
|
minLength: 0
|
|
3195
|
+
x-updatable: true
|
|
3195
3196
|
original_name:
|
|
3196
3197
|
type: string
|
|
3197
3198
|
nullable: true
|
|
@@ -8675,19 +8676,19 @@ paths:
|
|
|
8675
8676
|
description: Sets the maximum number of transactions to return. If
|
|
8676
8677
|
more match the filter criteria, the response will include a
|
|
8677
8678
|
`has_more` attribute set to `true`. See
|
|
8678
|
-
[Pagination](
|
|
8679
|
+
[Pagination](https://lunchmoney.dev/v2/pagination)
|
|
8679
8680
|
- name: offset
|
|
8680
8681
|
in: query
|
|
8681
8682
|
schema:
|
|
8682
8683
|
type: integer
|
|
8683
8684
|
description: Sets the offset for the records returned. This is
|
|
8684
8685
|
typically set automatically in the header. See
|
|
8685
|
-
[Pagination](
|
|
8686
|
+
[Pagination](https://lunchmoney.dev/v2/pagination)
|
|
8686
8687
|
responses:
|
|
8687
8688
|
"200":
|
|
8688
8689
|
description: Returns an array of transactions. <br><br>The `has_more`
|
|
8689
8690
|
property is set to `true` if more transactions are available. See
|
|
8690
|
-
[Pagination](
|
|
8691
|
+
[Pagination](https://lunchmoney.dev/v2/pagination)
|
|
8691
8692
|
content:
|
|
8692
8693
|
application/json:
|
|
8693
8694
|
schema:
|