🚧 Work in Progress: This documentation is actively being developed and is subject to change.
API ReferenceMeals

Track a User Meal

Accepts a Meal for tracking and scoring.

POST
/track/meals

Query Parameters

api-versionstring

The API version, in the format 'major.minor'.

userIdstring
logIdstring
mealNamestring
imageUrlstring
loggedAtstring
Formatdate-time
mealTypestring
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"
}