Get all user quests by userId
GET/userQuests
Get all user quests by userId
Request
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 [
]
Time representation of the last computation of computedData
Time representation of userQuest creation
The stage upon which points were granted
Unique identifier for Quest
Optional json data provided by the user
Unique identifier for UserQuest
Possible values: [default
, archived
, cancelled
]
Unique identifier
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"
}
]
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"
}