INPUT_OBJECT

BulkEntryInput

Payload for a new entry

link GraphQL Schema definition

  • input BulkEntryInput {
  • # Check and either add to pre-existing average heart rate entry or create a new
  • # one
  • add_to_avg_heart_rate: Boolean
  • # The category of the entry
  • category: String
  • # Check for duplicates, currently only supported if third_party_source is
  • # apple_health
  • check_duplicates: Boolean
  • # The time the entry was created
  • created_at: String
  • # The description of the entry
  • description: String
  • # ED Post Hunger
  • ed_posthunger: String
  • # ED Pre Hunger
  • ed_prehunger: String
  • # The comma separated list of emotions
  • emotions: String
  • # If average of any type, value indicates amount of entries already included in
  • # average
  • entries_in_average: String
  • # Third party external ID associated with this entry
  • external_id: String
  • # Third party associated with the external ID on this entry. Option currently
  • # supported is 'AppleHealth'
  • external_id_type: String
  • # The image associated with the entry
  • image: Upload
  • # The base64 encoded image string
  • image_string: String
  • # The statistic associated with the metric entry
  • metric_stat: String
  • # The percieved hungriness
  • percieved_hungriness: String
  • # The reflection on the entry
  • reflection: String
  • # The list of subentries associated with this entry
  • subentries: [SubentryInput]
  • # Options are apple_health, google_fit, or fitbit
  • third_party_source: String
  • # One of MetricEntry, FoodEntry, WorkoutEntry, MirrorEntry, SleepEntry, NoteEntry,
  • # WaterIntakeEntry, PoopEntry, SymptomEntry
  • type: String
  • # The ID of the user that created the entry
  • user_id: String
  • }