Create a new questType
POST/questType
Create a new questType
Request
- application/json
Body
QuestType data
The name of the function that will get executed for the current QuestType
Json containing the params of the questType
The title displayed to the user for the QuestType
Whether this QuestType should be checked on login or not
Json containing different descriptions for different applications/stages of a quest
The class for the current QuestType
Responses
- 201
- 400
- 401
- 403
- 404
- 500
- default
QuestType successfully created
- application/json
- Schema
- Example (from schema)
Schema
URL to the questType's thumbnail image
The name of the function that will get executed for the current QuestType
Unique identifier for QuestType
Json containing the params of the questType
The title displayed to the user for the QuestType
Whether this QuestType should be checked on login or not
Json containing different descriptions for different applications/stages of a quest
The class for the current QuestType
{
"thumbnail": "https://file.playmakers.co/p2Duhf5N6/aUv0OhmsR.jpg",
"name": "wishlist",
"id": "Q3b19Z1n",
"data": "{\"params\":{\"frontType\": \"text[short]\",\"key\": \"appId\",\"required\": true}}",
"title": "Wishlist a game on steam",
"checkOnLogin": true,
"descriptions": "string",
"category": "steam"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Bad Request"
}
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"
}