Get info on given quest
GET/quest/:questId
Get info on given quest
Request
Path Parameters
The questId to grab data about
Responses
- 200
- 403
- 404
- 500
- default
Quest successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
Number of times this quest has been completed.
The index of the last stage (0 if not a StagesQuest)
Possible values: <= 64 characters
Name of the quest
Detailed descriptions of the different stages/applications of the quest
Maximum allowed number of times for the quest to be completed by a single user
Quest-specific data in JSON format
Unique identifier for the referrer quest
List of prerequisite quests that must be completed before starting this quest
Possible values: [open
, closed
]
Unique identifier for Quest
Unique identifier for the QuestType
Expiration date for the quest
Number of times this quest has been completed by the current user
Possible values: <= 1000000
The amount of points you gain after finishing the quest
URL to the quest's thumbnail image
Unique identifier for Project
Possible values: [daily
, weekly
, monthly
, hourly
]
Unique identifier for the referee quest
The order in which the quest should be displayed
Time representation of entity creation
{
"userQuestCount": 1,
"maxStage": 5,
"name": "Game referral",
"descriptions": "{\"short\":\"wishlist BF4 in order to obtain your points\",\"pre\":[\"stage 1 desc\",\"stage 2 desc\"]}",
"userQuestsLimit": 3,
"data": "string",
"referrerQuestId": "Q3b19Z1n",
"prerequisites": [
"q3b19Z1n"
],
"state": "open",
"id": "q3b19Z1n",
"questTypeId": "Q3b19Z1n",
"expiresAt": "2025-01-01T09:00:00.00Z",
"myUserQuestCount": 2,
"points": 50,
"thumbnail": "https://file.playmakers.co/p2Duhf5N6/aUv0OhmsR.jpg",
"projectId": "p2Duhf5N6",
"periodic": "daily",
"refereeQuestId": "Q3b19Z1n",
"rankOrder": 1,
"createdAt": "2024-01-01T09:00:00.00Z"
}
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"
}