Add HRV

Adds HRV log entry to the tracker.

Use the addHRVLog mutation to record the Heart Rate Variability given for the day.

Required Arguments

Argument

Type

Note

timestamp

Datetime!

The datetime when the hrv will be registered. Use the format: YYYY-MM-DDT hh:mm:ssZ

value

PositiveFloat!

HRV value.

source

String

Source of input, default is set to suggestic. enum SourceType { APPLE FITBIT GARMIN GOOGLEFIT_NATIVE GOOGLEFIT_REST HUAWEIHEALTH IHEALTH MISFIT OMRONCONNECT OMRONWELLNESS OURA POLAR SAMSUNG STRAVA SUGGESTIC SUUNTO WITHINGS }

Available Fields

Field

Type

Note

success

Boolean

true: If the entry has been created successfully. Otherwise, it displays false

message

String

The message returns either if the information has been updated or not.

Example

mutation{
  addHRVLog(
  value:"120"
  timestamp:"2023-10-03 10:10:23"
  source: SUGGESTIC
  ){
    success
    message
  }
}

Last updated