[PR #2928] [MERGED] API: add getBudgets() methods to list all budgets in the local cache or remote server. #18960

Closed
opened 2026-04-14 20:55:23 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2928
Author: @psybers
Created: 6/23/2024
Status: Merged
Merged: 7/11/2024
Merged by: @MatissJanis

Base: masterHead: issue2901


📝 Commits (10+)

  • f5e5ee5 Add getBudgets() API method.
  • 1394485 add release note
  • 1b5722d make getLocalBudgets() and getRemoteBudgets()
  • af5d282 fix type error
  • dca0bab Merge branch 'master' into issue2901
  • 63e7baf better remote file results
  • 65f481b filter null/deleted files
  • 5fe5190 Merge branch 'master' into issue2901
  • 4f9568a rework into a single getBudgets()
  • 75e776e fix linter

📊 Changes

6 files changed (+75 additions, -0 deletions)

View changed files

📝 packages/api/methods.test.ts (+13 -0)
📝 packages/api/methods.ts (+4 -0)
📝 packages/loot-core/src/server/api-models.ts (+38 -0)
📝 packages/loot-core/src/server/api.ts (+11 -0)
📝 packages/loot-core/src/types/api-handlers.d.ts (+3 -0)
upcoming-release-notes/2928.md (+6 -0)

📄 Description

Fixes #2901.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/2928 **Author:** [@psybers](https://github.com/psybers) **Created:** 6/23/2024 **Status:** ✅ Merged **Merged:** 7/11/2024 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `issue2901` --- ### 📝 Commits (10+) - [`f5e5ee5`](https://github.com/actualbudget/actual/commit/f5e5ee53b2cdfb6e9761b2831e65c5b0f0bd4f86) Add getBudgets() API method. - [`1394485`](https://github.com/actualbudget/actual/commit/1394485d54460045d7d8da93eb652e2d1c0c8641) add release note - [`1b5722d`](https://github.com/actualbudget/actual/commit/1b5722d15260937abc64f38eb652100d7b5aa68d) make getLocalBudgets() and getRemoteBudgets() - [`af5d282`](https://github.com/actualbudget/actual/commit/af5d2823aa617b04d67a68e519d86424ebd00618) fix type error - [`dca0bab`](https://github.com/actualbudget/actual/commit/dca0bab7531e9ef3f1560fb2497f8efa1505043a) Merge branch 'master' into issue2901 - [`63e7baf`](https://github.com/actualbudget/actual/commit/63e7baf51d6e9505c56ae3b8f9e4cce185c480e3) better remote file results - [`65f481b`](https://github.com/actualbudget/actual/commit/65f481b105f65c6d82f1fcb443ad1c0f37cd49d2) filter null/deleted files - [`5fe5190`](https://github.com/actualbudget/actual/commit/5fe519071597a83a6d094da77af081cae9a68819) Merge branch 'master' into issue2901 - [`4f9568a`](https://github.com/actualbudget/actual/commit/4f9568a06563ab32fab57c5994e5ee24f73d9fa6) rework into a single getBudgets() - [`75e776e`](https://github.com/actualbudget/actual/commit/75e776e7d7850386fd471dc47267c1af9ecd9c90) fix linter ### 📊 Changes **6 files changed** (+75 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/api/methods.test.ts` (+13 -0) 📝 `packages/api/methods.ts` (+4 -0) 📝 `packages/loot-core/src/server/api-models.ts` (+38 -0) 📝 `packages/loot-core/src/server/api.ts` (+11 -0) 📝 `packages/loot-core/src/types/api-handlers.d.ts` (+3 -0) ➕ `upcoming-release-notes/2928.md` (+6 -0) </details> ### 📄 Description Fixes #2901. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-14 20:55:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#18960