Get Daily Recap

Use the dailyRecap query to get the information of the daily questions available in the coaching portal and in the app, based on a given date.

Required Argument

Argument Name

Type

Description

date

Date

Date when the question has been logged. Use the format YYYY-mm-dd

group

GroupQuestion

Argument used to get Mood recap. enum: MOOD

Available Fields

Field

Type

Description

id

String

Daily recap question ID

imageUrl

Int

URL of the question's image

question

String

Question's title

answers

Object that includes the answer information.

Answer object

The Answer object displays the information of the answer

Available Fields

Field

Type

Description

id

ID

Answer unique ID

answer

String

Answer text

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

imageUrl

String

Mood answer image URL.

Example

{
  dailyRecap(date: "2022-01-12") {
    id
    question
    imageUrl
    answers {
      id
      answer
      selected
      type
    }
  }
}

Example for Mood

{
 dailyRecap(date: "2023-05-09", group: MOOD){
  question
  answers{
    id
    imageUrl
    type
    selected
    answer
  }
}
}

Last updated