Update a quest
PUT/quest/:questId
Update a quest
Request
Path Parameters
The questId to update
- application/json
Body
Quest data
Possible values: >= 2 characters
Possible values: <= 32 characters
Possible values: <= 1000000
Possible values: <= 3000 characters
Responses
- 200
- 401
- 403
- 404
- 500
- default
Quest successfully updated
- application/json
- Schema
- Example (from schema)
Schema
List of prerequisite quests that must be completed before starting this quest
Unique identifier for Project
Unique identifier for the referee quest
Unique identifier for the QuestType
Unique identifier for Quest
URL to the quest's thumbnail image
Number of times this quest has been completed.
Quest-specific data in JSON format
Possible values: [open
, closed
]
Time representation of entity creation
Name of the quest
Possible values: [daily
, weekly
, monthly
]
Maximum allowed number of times for the quest to be completed by a single user
Number of times this quest has been completed by the current user
Detailed descriptions of the different stages/applications of the quest
Unique identifier for the referrer quest
Possible values: <= 1000000
The amount of points you gain after finishing the quest
{
"prerequisites": [
"q3b19Z1n"
],
"projectId": "p2Duhf5N6",
"refereeQuestId": "Q3b19Z1n",
"questTypeId": "Q3b19Z1n",
"id": "q3b19Z1n",
"thumbnail": "https://file.playmakers.co/p2Duhf5N6/aUv0OhmsR.jpg",
"userQuestCount": 1,
"data": "string",
"state": "open",
"createdAt": "2024-01-01T09:00:00.00Z",
"name": "Game referral",
"periodic": "daily",
"userQuestsLimit": 3,
"myUserQuestCount": 2,
"descriptions": "{\"short\":\"wishlist BF4 in order to obtain your points\",\"pre\":[\"stage 1 desc\",\"stage 2 desc\"]}",
"referrerQuestId": "Q3b19Z1n",
"points": 50
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Unauthorized access"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Forbidden access"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Internal Server Error"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "An unexpected error occured"
}