getChallenges to implement different challenge listings:
- completed by the current API user;
- ongoing (the current date is between start and end dates, AND the challenge is not completed by the current API user yet);
- upcoming (the start date is in the future);
- all available challenges (except those ones that are finished and not completed by the current API user).
Challenge objects
that fit the applied filters.
Results will be returned with the pagination and possibility to change the order and sorting key (default sorting is by the start date, ascending).
The following arguments can be used in the query:
Here is an example of the query execution:
Related Features
ThegetChallenges query supports the same advanced features as other catalog queries:
Pagination
Learn how to efficiently navigate through large sets of items using cursor-based pagination.
Authentication
Understand the authentication requirements and how to properly authenticate your requests.