goal

Return the possible goal targets for nutrients or food types (the cc columns) supported in the system. Use this as a catalogue for goal targets when creating a new goal.

get/goal_targets

Response

successful operation

goal_type'nutrient' | 'frequency' required
target_display_namestring required
target_namestring required
target_unitstring nullable

Example response

[
  {
    "target_display_name": "vitamin c",
    "target_name": "vitamin_c_mg",
    "target_unit": "mg"
  }
]

Changes

No recorded changes to this endpoint across all 1 revision of this API.