Recently Logged
A list of the most recently logged items
Use the recentMealLogsquery to obtain a list of the most recently logged items.
Available Fields
The following fields will be displayed in the response:
Field Name
Type
Description
id
ID
Food item ID.
name
String
Name of the meal
mealTime
Object that returns the valid meal times. Valid values are: BREAKFAST, LUNCH, DINNER, SNACK, TREAT_DESSERT
Example
{
recentMealLogs {
id
name
mealType
mealTime
}
}{
"data": {
"recentMealLogs": [
{
"id": "TWVhbExvZzo5NTI0Y2VlZWZhMGExMWViYmQ0NjlhZWQzYzNjNTc2YQ==",
"name": "Potato and Pesto Salad",
"mealType": "RECIPE",
"mealTime": "DINNER"
},
{
"id": "TWVhbExvZzpkODYyZjk5Y2ZhMDUxMWViYTRlOGU2NjU1YjM5NzE2ZQ==",
"name": "Powercrunch Protein bar",
"mealType": "OWN_ITEM",
"mealTime": "LUNCH"
},
{
"id": "TWVhbExvZzpkODVlYTJlOGZhMDUxMWViYjAxOGZhZmViNzUzYWZkNA==",
"name": "Powercrunch Protein bar",
"mealType": "OWN_ITEM",
"mealTime": "BREAKFAST"
},
{
"id": "TWVhbExvZzpkODViNTM5YWZhMDUxMWViYjgwNjkyZDk4M2U2YWRhMg==",
"name": "Powercrunch Protein bar",
"mealType": "OWN_ITEM",
"mealTime": "DINNER"
},
{
"id": "TWVhbExvZzo4YjMwOTUzNGY5MzkxMWViOTU2N2NhZjI0OTc1ODNlMQ==",
"name": "avocado",
"mealType": "OWN_ITEM",
"mealTime": "DINNER"
}
]
}
}Last updated
Was this helpful?