get questTypes
GET/questTypes
get questTypes
Request
Query Parameters
category string
The category of the questTypes to fetch
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- default
QuestTypes successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
credits integer
The amount of project credits required to complete the questType
id questTypeId (string)
Unique identifier for QuestType
thumbnail urinullable
URL to the questType's thumbnail image
descriptions stringnullable
Json containing different descriptions for different applications/stages of a quest
checkOnLogin boolean
Whether this QuestType should be checked on login or not
title stringrequired
The title displayed to the user for the QuestType
state questTypeState (string)
Possible values: [open
, closed
, stalled
]
data string
Json containing the params of the questType
name stringrequired
The name of the function that will get executed for the current QuestType
category stringrequired
The class for the current QuestType
{
"credits": 20,
"id": "Q3b19Z1n",
"thumbnail": "https://file.playmakers.co/p2Duhf5N6/aUv0OhmsR.jpg",
"descriptions": "string",
"checkOnLogin": true,
"title": "Wishlist a game on steam",
"state": "open",
"data": "{\"params\":{\"frontType\": \"text[short]\",\"key\": \"appId\",\"required\": true}}",
"name": "wishlist",
"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...