[Gametize Tech] Knowledge: Challenge Navigation
FeaturedAvailability
Challenge navigation information is available in the following API end-points:
-
/api2/challenges/ID.json
-
/api2/action/complete.json
Legends
If next Challenge in a Topic is available
-
nextChallengeId
-
nextChallengeTitle (Only in API 2.0)
If previous Challenge in a Topic is available
-
previousChallengeId
-
previousChallengeTitle (Only in API 2.0)
If next Topic in a Project is available
-
nextTopicId
-
nextTopicTitle (Only in API 2.0)
Usage
Assume end of Topic
When next Challenge is not available but next topic is available, it can be assumed that there is no more available or accessible Challenge for the player in the Topic.
Pseudocode: nextChallengeId is not returned and nextTopicId is returned.
Assume end of Project
When next Challenge is not available and next Topic is also not available, it can be assumed that there is no more available or accessible Challenge for the player in the Project.
Pseudocode: nextChallengeId and nextTopicId are not returned.
Note:
The article's technical specifications and details are subject to potential changes based on our discretion. It is important to note that the information presented in the article might have become outdated or lost its relevance in the present context.
If you are interested to learn more about this, please drop an email to support@gametize.com with your queries regarding the article!
Please sign in to leave a comment.
Comments
0 comments