patient

Get all-time patient meal stats with optional bounded meal-window facts.

Changed on
get/patients/{patient_id}/stats

Request

  • Base URL
    https://api.rxfoodapp.com/api
  • URL
    https://api.rxfoodapp.com/api/patients/{patient_id}/stats
  • Auth
    HTTP bearer

Path parameters

patient_idinteger required

Query parameters

today_isostring date

patient-local calendar date; must be supplied with limit

Example:2026-08-31
limitinteger

bounded meal count normalized to 1..500 using meals-table complete-day semantics; must be supplied with today_iso

Example:60

Response

successful operation

logged_meal_dates_in_windowstring[]
meal_count_in_windowinteger
meal_count_today_in_windowinteger
patient_idinteger required
total_days_loggedinteger required
total_meals_loggedinteger required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the new optional query request parameter limit

    • info

      added the new optional query request parameter today_iso

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status