Admin

Get a user's food and water activity from yesterday

get/api/admin/yesterday-activity/{userId}

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/admin/yesterday-activity/{userId}
  • Auth
    HTTP bearer

Path parameters

userIdnumber required

Response

unknown required

Example response

{
  "success": true,
  "foodLogs": [
    {
      "id": 101,
      "food_name": "Grilled Chicken",
      "calories": 180,
      "protein": 35,
      "meal_number": 2
    }
  ],
  "waterTotal": 48
}

Changes

No recorded changes to this operation across all 34 revisions of this API.