Get activity days
Get user activity days.
Query Parameters
Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}$
The start date of the activity days
Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}$
The last date of the activity days
Possible values: [asc
, desc
]
Default value: desc
Order by activity day's date
Possible values: [QURAN
, LESSON
]
The type of the activity day
Possible values: >= 1
and <= 20
The number of items to be fetched. Should be used together with before
Possible values: >= 1
and <= 20
The number of items to be fetched.
The cursor after which you want to get the next page of items. Should be used together with first
The cursor before which the previous page of items will be fetched. Should be used together with last
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
- 502
- 503
- 504
Request has been handled successfully.
Schema
- Array [
- ]
data object[]
The id of the activity day.
Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}$
The date of the activity day.
Possible values: <= 1
The progress of the reading goal of that activity day (if the user has a reading goal on that day).
Possible values: [QURAN
, LESSON
]
The type of the activity day
ranges object
The ranges read on that day (will be included only when the type is QURAN)
array
The ranges read on that day (will be included only when the type is QURAN)
pagesRead object
The number of pages read on that day (will be included only when the type is QURAN)
number
The number of pages read on that day (will be included only when the type is QURAN)
secondsRead object
The number of seconds spent reading on that day (will be included only when the type is QURAN)
integer
The number of seconds spent reading on that day (will be included only when the type is QURAN)
versesRead object
The number of Ayahs read on that day (will be included only when the type is QURAN)
integer
The number of Ayahs read on that day (will be included only when the type is QURAN)
manuallyAddedSeconds object
The number of seconds spent reading that was manually input by the user and not auto-tracked (will be included only when the type is QURAN)
integer
The number of seconds spent reading that was manually input by the user and not auto-tracked (will be included only when the type is QURAN)
dailyTargetPages object
The number of pages user should read on that day to meet their goal's target if a goal was set (will be included only when the type is QURAN)
number
The number of pages user should read on that day to meet their goal's target if a goal was set (will be included only when the type is QURAN)
dailyTargetSeconds object
The number of seconds user should read on that day to meet their goal's target if a goal was set (will be included only when the type is QURAN)
integer
The number of seconds user should read on that day to meet their goal's target if a goal was set (will be included only when the type is QURAN)
dailyTargetRanges object
The range of Ayahs user should read on that day to meet their goal's target if a goal was set (will be included only when the type is QURAN)
array
The range of Ayahs user should read on that day to meet their goal's target if a goal was set (will be included only when the type is QURAN)
remainingDailyTargetRanges object
The remaining range of Ayahs user should read on that day to meet their goal's target if a goal was set (will be included only when the type is QURAN)
array
The remaining range of Ayahs user should read on that day to meet their goal's target if a goal was set (will be included only when the type is QURAN)
Possible values: [1
, 2
, 3
, 4
, 5
, 6
, 7
, 11
, 19
]
The id of the Mushaf being used.
1 = QCFV2
2 = QCFV1
3 = Indopak
4 = UthmaniHafs
5 = KFGQPCHAFS
6 = Indopak15Lines
7 = Indopak16Lines
11 = Tajweeed
19 = QCFTajweedV4
pagination object
{
"success": true,
"data": [
{
"id": "cm2x3p30s000496s0alppbr1q",
"date": "2023-09-31",
"progress": 0.695,
"type": "QURAN",
"ranges": [
"1:1-1:2"
],
"pagesRead": 0,
"secondsRead": 0,
"versesRead": 0,
"manuallyAddedSeconds": 0,
"dailyTargetPages": 0,
"dailyTargetSeconds": 0,
"dailyTargetRanges": [
"1:1-1:2"
],
"remainingDailyTargetRanges": [
"1:1-1:2"
],
"mushafId": 4
}
],
"pagination": {
"startCursor": "cm2x3p30a000296s04p4macu2",
"endCursor": "cm2x3p30b000396s0gmbmfpa7",
"hasNextPage": true,
"hasPreviousPage": false
}
}
The request is missing required parameters or is invalid.
Schema
{
"message": "string",
"type": "gateway_timeout",
"success": false
}
{
"message": "The request is missing required headers or is invalid",
"type": "invalid_request",
"success": false
}
The request is unauthorized.
Schema
{
"message": "string",
"type": "gateway_timeout",
"success": false
}
{
"message": "The request requires user authentication",
"type": "unauthorized",
"success": false
}
Forbidden error. Can either be due to access token not being passed, having been expired or the caller trying to access a resource without enough permissions.
Schema
{
"message": "string",
"type": "gateway_timeout",
"success": false
}
{
"message": "The server understood the request, but refuses to authorize it",
"type": "forbidden",
"success": false
}
Not Found. The resource being accessed does not exist.
Schema
{
"message": "string",
"type": "gateway_timeout",
"success": false
}
{
"message": "The requested resource could not be found",
"type": "not_found",
"success": false
}
Validation Error. The request includes one or more invalid params. Please check the request params and try again.
Schema
{
"message": "string",
"type": "gateway_timeout",
"success": false
}
{
"message": "The request was well-formed but was unable to be followed due to semantic errors",
"type": "unprocessable_entity",
"success": false
}
Too many requests, please try again later.
Schema
{
"message": "string",
"type": "gateway_timeout",
"success": false
}
{
"message": "Too many requests, please try again later",
"type": "rate_limit_exceeded",
"success": false
}
Server Error. Something went wrong, try again later.
Schema
{
"message": "string",
"type": "gateway_timeout",
"success": false
}
{
"message": "The server encountered an internal error and was unable to complete your request",
"type": "internal_server_error",
"success": false
}
Invalid response from the upstream server
Schema
{
"message": "string",
"type": "gateway_timeout",
"success": false
}
{
"message": "The server was acting as a gateway or proxy and received an invalid response from the upstream server",
"type": "bad_gateway",
"success": false
}
The server is currently unable to handle the request due to a temporary overload or scheduled maintenance
Schema
{
"message": "string",
"type": "gateway_timeout",
"success": false
}
{
"message": "The server is currently unable to handle the request due to a temporary overload or scheduled maintenance",
"type": "service_unavailable",
"success": false
}
The server did not receive a timely response from the upstream server.
Schema
{
"message": "string",
"type": "gateway_timeout",
"success": false
}
{
"message": "The server was acting as a gateway or proxy and did not receive a timely response from the upstream server",
"type": "gateway_timeout",
"success": false
}