Get all userQuests in a project by projectId
GET/userQuests/by/project/:projectId
Get all userQuests in a project by projectId
Request
Path Parameters
The unique identifier for the project
Query Parameters
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 [
]
Unique identifier for UserQuest
Time representation of userQuest creation
Unique identifier
Unique identifier for Quest
[
{
"id": "UQ3b19Z1n",
"createdAt": "2024-01-01T09:00:00.00Z",
"userId": "a064a23e-d5ec-4ada-a2a5-194e556ee50b",
"questId": "q3b19Z1n"
}
]
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"
}