List stories
GET/stories
Retrieves a list of available stories.
Supports the following advanced filtering and sorting options for the associated quiz data:
Filtering Options:
filter=quiz=true: Lists allStoryobjects that have an activequizfeature.filter=quiz.isMandatory=true: Lists allStoryobjects where thequizis mandatory for the user.filter=quiz.isOpenToTake=true: Lists allStoryobjects where thequizis currently open for the user to take an attempt.filter=quiz.isSuccess=true: Lists allStoryobjects with a successfully finished attempt and where showing the result is enabled.filter=quiz.isFailure=true: Lists allStoryobjects with a failed attempt and where showing the result is enabled.
Sorting Options:
sort=quiz.dueUntilUtc:desc: Sorts the list by thequizexpiry date in descending order.sort=quiz.report.rate:desc: Sorts the list by the latest attempt rate in descending order.sort=quiz.latestAttemptUtc:desc: Sorts the list by the latest attempt time in descending order.
Note: Omitting :desc in the sorting parameter reverses the order to ascending. For example, sort=quiz.dueUntilUtc will sort by the expiry date in ascending order.
Leveraging these filters and sorting parameters enables efficient querying of Story objects tailored to specific conditions and priorities.
Request
Responses
- 200
- 404
- default
Successful response.
Response Headers
X-Total-Count
Total count of items
Error Response
Error Response