mirror of
				https://github.com/grocy/grocy.git
				synced 2025-11-03 20:15:04 +00:00 
			
		
		
		
	Expose recipes_pos_resolved via the API (read only) (closes #2258)
This commit is contained in:
		@@ -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")
 | 
			
		||||
- 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)
 | 
			
		||||
  - `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`)
 | 
			
		||||
- API keys can now have a description (to e.g. track where the corresponding key is used)
 | 
			
		||||
 
 | 
			
		||||
@@ -5800,7 +5800,8 @@
 | 
			
		||||
					"meal_plan_sections",
 | 
			
		||||
					"products_last_purchased",
 | 
			
		||||
					"products_average_price",
 | 
			
		||||
					"quantity_unit_conversions_resolved"
 | 
			
		||||
					"quantity_unit_conversions_resolved",
 | 
			
		||||
					"recipes_pos_resolved"
 | 
			
		||||
				]
 | 
			
		||||
			},
 | 
			
		||||
			"ExposedEntityNoListing": {
 | 
			
		||||
@@ -5819,7 +5820,8 @@
 | 
			
		||||
					"chores_log",
 | 
			
		||||
					"products_last_purchased",
 | 
			
		||||
					"products_average_price",
 | 
			
		||||
					"quantity_unit_conversions_resolved"
 | 
			
		||||
					"quantity_unit_conversions_resolved",
 | 
			
		||||
					"recipes_pos_resolved"
 | 
			
		||||
				]
 | 
			
		||||
			},
 | 
			
		||||
			"ExposedEntityNoDelete": {
 | 
			
		||||
@@ -5831,7 +5833,8 @@
 | 
			
		||||
					"chores_log",
 | 
			
		||||
					"products_last_purchased",
 | 
			
		||||
					"products_average_price",
 | 
			
		||||
					"quantity_unit_conversions_resolved"
 | 
			
		||||
					"quantity_unit_conversions_resolved",
 | 
			
		||||
					"recipes_pos_resolved"
 | 
			
		||||
				]
 | 
			
		||||
			},
 | 
			
		||||
			"ExposedEntityEditRequiresAdmin": {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user