Create a daily recap question

Use the createDailyRecapEntry mutation to add a question with its corresponding answer for a specific date.

After adding the daily recap entry, use the dailyRecap query to list it.

Required Arguments

Argument Name

Type

Description

questionId

String

answerId

String

date

Date

Date when the question and the answer are created.

Available Fields

The following fields will be displayed in the response:

Field

Type

Description

success

Boolean

True if the daily recap entry has been added successfully. Otherwise, False

Message

String

Description of the result

Example

{
mutation {
  createDailyRecapEntry(
    answerId: "RGFpbHlRdWVzdGlvbjo3Y2E4YzAxZS1kZDRjLTRlODktYjA3NS04ZGZmNzhlZDlhZTE="
    questionId: "QW5zd2VyOmZjYTNhYjEwLWU4NDAtNGExZS05NzkyLTc4OTE0NzhmMTE1Zg=="
    date: "2022-02-23"
  ) {
    success
    message
  }
}

Last updated