Get info on a given questType
GET/questType/:questTypeId
Get info on a given questType
Request
Path Parameters
questTypeId questTypeIdrequired
The questTypeId to grab data about
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- default
QuestType successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
thumbnail urinullable
URL to the questType's thumbnail image
name stringrequired
The name of the function that will get executed for the current QuestType
id questTypeId (string)
Unique identifier for QuestType
data string
Json containing the params of the questType
title stringrequired
The title displayed to the user for the QuestType
checkOnLogin boolean
Whether this QuestType should be checked on login or not
descriptions stringnullable
Json containing different descriptions for different applications/stages of a quest
category string
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": "string"
}
{
"error": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Unauthorized access"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Internal Server Error"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...