skip to Main Content

To create an Achievement Widget navigate to Achievements → Widgets, click Create Widget (as shown in the screen shot). A secondary window appears allowing you to create the Widget.

Fill in the information for the Widget you want to create.

WIDGET CREATION FIELDS

Theme Object

You can select pre-created themes that would be used for specific games and specific achievements (visual implementation).

Name String

Name the widget for reference.

Achievements Array[String]

Add already pre-created achievements to the list. Achievements that are in Live or Draft state can be added to the list but only the ones that are in Live state will be displayed in the front end. When achievements are added to the list they get their own values to indicate the numbering of the list of achievements for display. They can be drag and dropped for your reference.

Tutorial of an achievement creation can be found in Achievements -> Achievement creation tutorial or read here

Achievement Category Array[String]

If achievements are created and in the category section they were added to a category then adding a group of Achievements with the same category is possible.

Tutorial of an achievement category creation can be found in Achievements -> Achievement creation tutorial -> Step 4: Achievement dependent on or read here

Click save widget and the widget will be saved. Extra information will be displayed for reference purposes.

PUBLIC API

We also have public API section for the widget.

The following API endpoints are used to check the information about the widgets:

DESCRIPTION ENDPOINTS
Get a list of available widgets GET api/v1/:space/widget
Preview a specific widget GET api/v1/:space/widget/:widgetId
Preview the achievements that are in the widget GET api/v1/:space/widget/preview/:widgetId
Back To Top