| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Server or temporary ID of the meal food. |
integer |
None. |
| key |
Local UUID key used for mapping temporary MealFoodBox entries. |
string |
None. |
| food_id |
ID of the food item. |
integer |
None. |
| alias_id |
ID of the food alias, if applicable. |
integer |
None. |
| amount |
Amount of the food consumed. |
decimal number |
None. |
| date_added |
Date and time the food was added |
decimal number |
None. |
| date_updated |
Date and time the food was last updated |
decimal number |
None. |
| eaten |
Whether the food item was eaten. |
boolean |
None. |
| locked |
Whether this food entry is locked. |
boolean |
None. |
| meal_id |
ID of the parent meal this food belongs to. |
integer |
None. |
| units |
Unit type for the food measurement (e.g., grams, ml). |
integer |
None. |
| comments |
Optional user comments about the food item. |
string |
None. |
| food_time |
Time of food consumption, if provided. |
decimal number |
None. |
| opt_meal_food_id |
ID of the optional (substitute) meal food this item depends on. |
integer |
None. |
| deleted |
Whether this food item is marked as deleted. |
boolean |
None. |
| sequence |
Sequence/order of the food in the meal. |
integer |
None. |
| is_uploaded |
is uploaded value 0 = not uploaded, 1 = uploaded, 2 = uploading |
integer |
None. |