Repository navigation
Add get_mealplan, update_mealplan and delete_mealplan endpoints - #736
Merged
Merged
Conversation
domodom30
force-pushed
the
feature/mealplan-crud
branch
from
June 4, 2026 11:49
9ea883a to
6bbaaaa
Compare
Resolve conflicts in tests by keeping both the mealplan CRUD tests and the favorites/ratings tests (joostlek#738), and drop the duplicate _get_user_id helper now provided by main.
Resolve conflicts in tests by keeping both the mealplan CRUD tests and the shopping-list/favorites tests now present in main (joostlek#737, joostlek#738).
joostlek
approved these changes
Jun 22, 2026
domodom30
added a commit
to domodom30/python-mealie
that referenced
this pull request
Jun 22, 2026
Resolve conflicts in tests by keeping both the organizers tests and the mealplan tests now merged into main (joostlek#736), alongside the shopping-list and favorites tests (joostlek#737, joostlek#738).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Add the missing CRUD endpoints for individual mealplan entries.
get_mealplan(mealplan_id)—GET /api/households/mealplans/{id}update_mealplan(id, at, entry_type, *, recipe_id, note_title, note_text)—PUT /api/households/mealplans/{id}delete_mealplan(mealplan_id)—DELETE /api/households/mealplans/{id}update_mealplanfetches the existing entry first to carry forward itsgroup_id, which is required by the API. It also caches the current user's ID to avoid repeated calls.Tests included for all new endpoints.
Related Issues
Splits out the mealplan CRUD part of #730.