Get a userQuest by its id
GET/userQuest/:userQuestId
Get a userQuest by its id
Request
Path Parameters
userQuestId userQuestIdrequired
The unique identifier for the userQuest
Responses
- 200
- 403
- 404
- 500
UserQuests retrieved successfully
- application/json
- Schema
- Example (from schema)
Schema
questId questId (string)
Unique identifier for Quest
createdAt date-time
Time representation of userQuest creation
stage integer
The stage upon which points were granted
userId uuid
Unique identifier
computedData string
Optional json data generated internally
creatorData string
Optional json data provided by the user
lastComputedAt date-time
Time representation of the last computation of computedData
state userQuestState (string)
Possible values: [default
, archived
, cancelled
]
id userQuestId (string)
Unique identifier for UserQuest
{
"questId": "q3b19Z1n",
"createdAt": "2024-01-01T09:00:00.00Z",
"stage": 3,
"userId": "a064a23e-d5ec-4ada-a2a5-194e556ee50b",
"computedData": "string",
"creatorData": "string",
"lastComputedAt": "2025-01-01T09:00:00.00Z",
"state": "default",
"id": "UQ3b19Z1n"
}
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"
}
Loading...