daily.data.meal.created
Each summary object is uniquely identified by its id
.
If multiple events are received at the same id
, the last event received replaces all its previous
versions.
Properties
Constant: daily.data.meal.created
Amount of carbohydrates in grams (g)
Amount of protein in grams (g)
Details of fat content
Amount of saturated fats in grams (g)
Amount of monounsaturated fats in grams (g)
Amount of polyunsaturated fats in grams (g)
Amount of Omega-3 fatty acids in grams (g)
Amount of Omega-6 fatty acids in grams (g)
Total amount of fats in grams (g)
Amount of alcohol in grams (g)
Amount of water in grams (g)
Amount of dietary fiber in grams (g)
Amount of sugar in grams (g)
Amount of each mineral in grams (g)
Amount of each trace element in grams (g)
Amount of each vitamin in grams (g)
Provider slug. e.g., oura
, fitbit
, garmin
.
The type of the data source (app or device) by which the summary or the timeseries data were recorded. This defaults to unknown
when Vital cannot extract or infer that information
The identifier of the app which recorded this summary. This is only applicable to multi-source providers like Apple Health and Android Health Connect.
[⚠️ Deprecated] Deprecated. Subject to removal after 1 Jan 2024.
[⚠️ Deprecated] Deprecated. Use provider
instead. Subject to removal after 1 Jan 2024.
[⚠️ Deprecated] Deprecated. Subject to removal after 1 Jan 2024.
Examples
{
"event_type": "daily.data.meal.created",
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
"priority_id": 42,
"source_id": 10,
"provider_id": "123456",
"timestamp": "2019-08-24T14:15:22Z",
"name": "Dinner",
"data": {
"Chiken coquet starter": {
"energy": {
"unit": "kcal",
"value": 400.0
},
"macros": {
"carbs": 75.0,
"protein": 10.0,
"fats": {
"saturated": 98,
"monounsaturated": 1,
"polyunsaturated": 1,
"omega3": 0,
"omega6": 0,
"total": 100
},
"sugar": 25.0
},
"micros": {
"minerals": {
"sodium": 500.0
}
}
},
"Coffee, black, 1 tbsp(s)": {
"energy": {
"unit": "kcal",
"value": 0.0
},
"macros": {
"carbs": 0.0,
"protein": 0.0,
"fats": {
"total": 0.0
},
"sugar": 0.0
},
"micros": {
"minerals": {
"sodium": 0.0
}
}
}
},
"source": {
"name": "MyFitnessPal",
"slug": "my_fitness_pal",
"logo": "https://logo_url.com"
},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}