Expose quantity_unit_conversions_resolved via the API (read only) (references #2056 and #1360)

This commit is contained in:
Bernd Bestel 2022-12-04 13:41:44 +01:00
parent daa0a59c5f
commit 4be447fc60
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 8 additions and 3 deletions

View File

@ -52,4 +52,6 @@
### API
- 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)
- The endpoint `/batteries` now also returns the corresponding battery object (as field/property `battery`)

View File

@ -5779,7 +5779,8 @@
"chores_log",
"meal_plan_sections",
"products_last_purchased",
"products_average_price"
"products_average_price",
"quantity_unit_conversions_resolved"
]
},
"ExposedEntityNoListing": {
@ -5797,7 +5798,8 @@
"stock_current_locations",
"chores_log",
"products_last_purchased",
"products_average_price"
"products_average_price",
"quantity_unit_conversions_resolved"
]
},
"ExposedEntityNoDelete": {
@ -5808,7 +5810,8 @@
"stock_current_locations",
"chores_log",
"products_last_purchased",
"products_average_price"
"products_average_price",
"quantity_unit_conversions_resolved"
]
},
"ExposedEntityEditRequiresAdmin": {