OBJECT
ServingSize
A serving size object
link GraphQL Schema definition
- type ServingSize {
- # The number of servings
- Float :
- # The calories of serving size
- Float :
- # Whether or not this serving size was imported from the USDA database
- Boolean :
- # The food id of the food this serving size belongs to
- String :
- # The id of the food portion this serving size belongs to
- ID :
- # The unique identifier of the serving size
- ID! :
- # percentage of 100g. For example if modifier is 2.5 then this serving size is
- # 250g
- Float :
- # The nutrients of this serving size
- #
- # Arguments
- # food_search: If true, only returns nutrients if food is created
- # by user ()
- Boolean): [FoodNutrient!] ( :
- # The type of serving (i.e grams, scoop, spoonful)
- String :
- }