Get all userQuests of a quest by questId
GET/userQuests/by/quest/:questId
Get all userQuests of a quest by questId
Request
Path Parameters
The unique identifier for the quest
Query Parameters
Possible values: [default
, archived
, cancelled
]
The state of the userQuest.
Search by start date since createdAt
Search by end date until createdAt
Possible values: >= 1
Default value: 1
Specify the page number for pagination (default is 1).
Default value: 10
Specify the number of projects per page (default is 10, 0 gets all results).
Possible values: [createdAt
]
Field to order the results by (e.g., 'createdAt'). Default is 'createdAt'.
Possible values: [asc
, desc
]
Default value: desc
'asc' for ascending or 'desc' for descending order. Default is 'desc'.
Responses
- 200
- 403
- 404
- 500
UserQuests retrieved successfully
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Optional json data generated internally
Unique identifier for Quest
Possible values: [default
, archived
, cancelled
]
Time representation of userQuest creation
Unique identifier
Time representation of the last computation of computedData
Unique identifier for UserQuest
The stage upon which points were granted
Optional json data provided by the user
[
{
"computedData": "string",
"questId": "q3b19Z1n",
"state": "default",
"createdAt": "2024-01-01T09:00:00.00Z",
"userId": "a064a23e-d5ec-4ada-a2a5-194e556ee50b",
"lastComputedAt": "2025-01-01T09:00:00.00Z",
"id": "UQ3b19Z1n",
"stage": 3,
"creatorData": "string"
}
]
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"
}