streak

Get all relevant streaks for the patient ("any_activity", and - once implemented - "goals", "water", etc).

get/patients/{patient_id}/streaks

Request

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

Path parameters

patient_idinteger required

Response

successful operation

current_countinteger
current_end_datestring date-time
current_start_datestring date-time
longest_countinteger
longest_end_datestring date-time
longest_start_datestring date-time
patient_idinteger required
type'any_activity' required
type_idinteger nullable

Changes

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