Water and Hydration
Get historical water tracked by date
Use the hydration
query to get the information on the daily water intake based on a start and end date.
The updateHydration mutation must be executed before getting the water intake information.
Note: Currently tracking service only supports JWT authentication
Required Arguments
Argument
Type
Note
startDate
Date
The date when the water entries will start counting. Use the format: YYYY-MM-DD
endDate
Date
The date when the water entries will end counting. Use the format: YYYY-MM-DD
Available Fields
Field
Type
Note
isToday
Boolean
True if it is today's date; otherwise, it will display the False value
quantity
Float
Number of cups of water to intake
date
Date
The date when 1 cup of water has been logged. Use the format: YYYY-MM-DD
goal
Float
The number of cups of water to be intake. The default goal to be defined is 8 cups of water.
Example
GraphQL Example
curl Example
Last updated