Get Daily Mood Summary

Use the dailyMoodSummary query to get the stats of how many times a user selected a daily Mood.

Available Fields

Field

Type

Description

startDate

Date

The date when the daily mood will start counting. Use the format: YYYY-MM-DD

endDate

Date

The date when the daily mood will start counting. Use the format: YYYY-MM-DD

Available Fields

Field

Type

Description

answersStats

[AnswerCounter]

Track the number of times user selects this mood.

answer

String

Answer text

id

ID

Answer ID

imageURL

URL

Mood answer image URL.

selected

Boolean

true if the answer has been selected. Otherwise, false

type

HabitAnswerType

User habit's answer type. There are three possible values: NEGATIVE, NEUTRAL, POSITIVE

Example

query dailyMoodSummary {
  dailyMoodSummary(startDate: "2023-05-08", endDate:"2023-05-10") {
    answersStats {
      total 
      answer {
	id 
	answer 
	imageUrl 
	type
       }
    }
  }
}

Last updated