mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Expose recipes_pos_resolved via the API (read only) (closes #2258)
This commit is contained in:
parent
1496a58673
commit
297cc57244
@ -115,5 +115,6 @@
|
|||||||
- Added a new field/property `default_quantity_unit_consume` (contains the quantity unit object of the product's "Default quantity unit consume")
|
- Added a new field/property `default_quantity_unit_consume` (contains the quantity unit object of the product's "Default quantity unit consume")
|
||||||
- The following entities are now also available via the endpoint `/objects/{entity}` (only listing, no edit)
|
- The following entities are now also available via the endpoint `/objects/{entity}` (only listing, no edit)
|
||||||
- `quantity_unit_conversions_resolved` (returns all final/resolved conversion factors per product and any directly or indirectly related quantity units)
|
- `quantity_unit_conversions_resolved` (returns all final/resolved conversion factors per product and any directly or indirectly related quantity units)
|
||||||
|
- `recipes_pos_resolved` (returns stock fulfilment information for all recipe ingredients)
|
||||||
- The endpoint `/batteries` now also returns the corresponding battery object (as field/property `battery`)
|
- The endpoint `/batteries` now also returns the corresponding battery object (as field/property `battery`)
|
||||||
- API keys can now have a description (to e.g. track where the corresponding key is used)
|
- API keys can now have a description (to e.g. track where the corresponding key is used)
|
||||||
|
@ -5800,7 +5800,8 @@
|
|||||||
"meal_plan_sections",
|
"meal_plan_sections",
|
||||||
"products_last_purchased",
|
"products_last_purchased",
|
||||||
"products_average_price",
|
"products_average_price",
|
||||||
"quantity_unit_conversions_resolved"
|
"quantity_unit_conversions_resolved",
|
||||||
|
"recipes_pos_resolved"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ExposedEntityNoListing": {
|
"ExposedEntityNoListing": {
|
||||||
@ -5819,7 +5820,8 @@
|
|||||||
"chores_log",
|
"chores_log",
|
||||||
"products_last_purchased",
|
"products_last_purchased",
|
||||||
"products_average_price",
|
"products_average_price",
|
||||||
"quantity_unit_conversions_resolved"
|
"quantity_unit_conversions_resolved",
|
||||||
|
"recipes_pos_resolved"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ExposedEntityNoDelete": {
|
"ExposedEntityNoDelete": {
|
||||||
@ -5831,7 +5833,8 @@
|
|||||||
"chores_log",
|
"chores_log",
|
||||||
"products_last_purchased",
|
"products_last_purchased",
|
||||||
"products_average_price",
|
"products_average_price",
|
||||||
"quantity_unit_conversions_resolved"
|
"quantity_unit_conversions_resolved",
|
||||||
|
"recipes_pos_resolved"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ExposedEntityEditRequiresAdmin": {
|
"ExposedEntityEditRequiresAdmin": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user