goal

Returns the recent frequency breakdown for the patient, for use by the mobile app to suggest goals. Note: currently only returns cc_* nutrients.

get/patients/{patient_id}/goals/recent-frequency-breakdown

Request

  • Base URL
    https://api.rxfoodapp.com/api
  • URL
    https://api.rxfoodapp.com/api/patients/{patient_id}/goals/recent-frequency-breakdown
  • Auth
    HTTP bearer

Path parameters

patient_idinteger required

Query parameters

datestring required

calendar date in format YYYY-MM-DD

Example:2019-01-02

Response

successful operation

num_daysinteger required

Example response

{
  "values": [
    {
      "nutrient_name": "cc_refined_grains"
    }
  ]
}

Changes

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