Check a userQuest
POST/quest/:questId/complete
Check a userQuest
Request
Path Parameters
questId questIdrequired
Quest ID
- application/json
Body
property name* any
Responses
- 200
- 201
- 400
- 401
- 403
- 429
Failure during quest completion process
- application/json
- Schema
Schema
string
userQuest created successfully
- application/json
- Schema
- Example (from schema)
Schema
lastComputedAt date-time
Time representation of the last computation of computedData
createdAt date-time
Time representation of userQuest creation
stage integer
The stage upon which points were granted
questId questId (string)
Unique identifier for Quest
creatorData string
Optional json data provided by the user
id userQuestId (string)
Unique identifier for UserQuest
state userQuestState (string)
Possible values: [default
, archived
, cancelled
]
userId uuid
Unique identifier
computedData string
Optional json data generated internally
{
"lastComputedAt": "2025-01-01T09:00:00.00Z",
"createdAt": "2024-01-01T09:00:00.00Z",
"stage": 3,
"questId": "q3b19Z1n",
"creatorData": "string",
"id": "UQ3b19Z1n",
"state": "default",
"userId": "a064a23e-d5ec-4ada-a2a5-194e556ee50b",
"computedData": "string"
}
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"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Too Many Requests"
}
Loading...