Skip to main content

Create a new quest for projectId

POST 

/quest

Create a new quest for projectId

Request

Body

Quest data

    questTypeId stringrequired

    Unique identifier for the QuestType

    descriptions string

    Detailed descriptions of the different stages/applications of the quest

    projectId projectId (string)required

    Unique identifier for Project

    userQuestsLimit integer

    Maximum allowed number of times for the quest to be completed by a single user

    points integerrequired

    Possible values: <= 1000000

    The amount of points you gain after finishing the quest

    name questName (string)required

    Possible values: <= 64 characters

    Name of the quest

    refereeQuestId stringnullable

    Unique identifier for the referee quest

    state questState (string)

    Possible values: [open, closed]

    id questId (string)

    Unique identifier for Quest

    periodic questPeriodic (string)

    Possible values: [daily, weekly, monthly, hourly]

    data string

    Quest-specific data in JSON format

    prerequisites questId (string)[]nullable

    List of prerequisite quests that must be completed before starting this quest

Responses

Quest successfully created

Schema

    questTypeId stringrequired

    Unique identifier for the QuestType

    descriptions string

    Detailed descriptions of the different stages/applications of the quest

    projectId projectId (string)required

    Unique identifier for Project

    userQuestsLimit integer

    Maximum allowed number of times for the quest to be completed by a single user

    points integerrequired

    Possible values: <= 1000000

    The amount of points you gain after finishing the quest

    thumbnail stringnullable

    URL to the quest's thumbnail image

    createdAt date-time

    Time representation of entity creation

    myUserQuestCount integer

    Number of times this quest has been completed by the current user

    name questName (string)required

    Possible values: <= 64 characters

    Name of the quest

    refereeQuestId stringnullable

    Unique identifier for the referee quest

    state questState (string)

    Possible values: [open, closed]

    id questId (string)

    Unique identifier for Quest

    periodic questPeriodic (string)

    Possible values: [daily, weekly, monthly, hourly]

    userQuestCount integer

    Number of times this quest has been completed.

    data string

    Quest-specific data in JSON format

    referrerQuestId string

    Unique identifier for the referrer quest

    prerequisites questId (string)[]nullable

    List of prerequisite quests that must be completed before starting this quest

Loading...