API ReferenceMeals
Track a User Meal
Run in PostmanAccepts a Meal for tracking and scoring.
Query Parameters
api-versionstring
The API version, in the format 'major.minor'.
userIdstring
logIdstring
mealNamestring
imageUrlstring
loggedAtstring
Format
date-timemealTypestring
country?string
location?string
metadata?object
ingredients?
Response Body
application/json
application/problem+json
application/problem+json
curl -X POST "https://loading/track/meals?api-version=1.0" \ -H "Content-Type: application/json" \ -d '{ "userId": "string", "logId": "string", "mealName": "string", "imageUrl": "string", "loggedAt": "2019-08-24T14:15:22Z", "mealType": "string" }'{
"id": "string",
"message": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}