Skip to main content

Update a quest

PUT 

/quest/:questId

Update a quest

Request

Path Parameters

    questId questIdrequired

    The questId to update

Body

Quest data

    prerequisites questId (string)[]nullable
    state stringnullable
    data string

    Possible values: >= 2 characters

    name string

    Possible values: <= 32 characters

    refereeQuestId stringnullable
    points integer

    Possible values: <= 1000000

    description string

    Possible values: <= 3000 characters

    periodic stringnullable
    userQuestsLimit integernullable

Responses

Quest successfully updated

Schema

    prerequisites questId (string)[]nullable

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

    projectId projectId (string)required

    Unique identifier for Project

    refereeQuestId stringnullable

    Unique identifier for the referee quest

    questTypeId stringrequired

    Unique identifier for the QuestType

    id questId (string)

    Unique identifier for Quest

    thumbnail stringnullable

    URL to the quest's thumbnail image

    userQuestCount integer

    Number of times this quest has been completed.

    data string

    Quest-specific data in JSON format

    state questState (string)

    Possible values: [open, closed]

    createdAt date-time

    Time representation of entity creation

    name stringrequired

    Name of the quest

    periodic questPeriodic (string)

    Possible values: [daily, weekly, monthly]

    userQuestsLimit integer

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

    myUserQuestCount integer

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

    descriptions string

    Detailed descriptions of the different stages/applications of the quest

    referrerQuestId string

    Unique identifier for the referrer quest

    points integerrequired

    Possible values: <= 1000000

    The amount of points you gain after finishing the quest

Loading...