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

    periodic stringnullable
    data string

    Possible values: >= 2 characters

    thumbnail urlnullable
    description string

    Possible values: <= 3000 characters

    prerequisites questId (string)[]nullable
    points integer

    Possible values: <= 1000000

    userQuestsLimit integernullable
    name questName (string)

    Possible values: <= 64 characters

    Name of the quest

    refereeQuestId stringnullable
    state stringnullable

Responses

Quest successfully updated

Schema

    refereeQuestId stringnullable

    Unique identifier for the referee quest

    rankOrder integer

    The order in which the quest should be displayed

    id questId (string)

    Unique identifier for Quest

    thumbnail stringnullable

    URL to the quest's thumbnail image

    data string

    Quest-specific data in JSON format

    expiresAt date-timenullable

    Expiration date for the quest

    myUserQuestCount integer

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

    userQuestsLimit integer

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

    prerequisites questId (string)[]nullable

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

    name questName (string)required

    Possible values: <= 64 characters

    Name of the quest

    userQuestCount integer

    Number of times this quest has been completed.

    createdAt date-time

    Time representation of entity creation

    state questState (string)

    Possible values: [open, closed]

    maxStage integer

    The index of the last stage (0 if not a StagesQuest)

    projectId projectId (string)required

    Unique identifier for Project

    questTypeId stringrequired

    Unique identifier for the QuestType

    referrerQuestId string

    Unique identifier for the referrer quest

    periodic questPeriodic (string)

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

    descriptions string

    Detailed descriptions of the different stages/applications of the quest

    points integerrequired

    Possible values: <= 1000000

    The amount of points you gain after finishing the quest

Loading...