[Gametize Tech] API: Project Widgets
FeaturedWidgets API is meant to return list of widgets defined and set by the Administrator in a project. In the future, the API may allow Administrator to build personalised About Page/Tab
for the players.
The API may be found in the following content level:
-
Project:
api2/projects/ID/widgets.json
-
Param:
session_key
-
-
Topic (Coming Soon)
-
Challenge (Coming Soon)
Widgets API may return list of different widget types:
-
Carousel:
type: carousel
-
Featured (Coming Soon)
-
Achievements (Coming Soon)
-
Etc.
Carousel Widget
Carousel widget will return list of content that may contain the following object types:
-
Project:
carouselType: project
DO NOT implement any handling for now (We will not utilise this hidden support for now). -
Topic:
carouselType: topic
Open topic page (Usually the page with challenges list). -
Challenge:
carouselType: challenge
Open challenge profile page upon clicking. -
Project Posts (Discussion):
carouselType: project-posts
Open project discussion posts
For implementation, carouselEmbed
data may be used over carouselImage
on UI.
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