Skip to main content
Version: 5.7.0

SysReadMilestone

Retrieves the meta-data for the specified milestone.

ServiceOperation
gamificationSYS_READ_MILESTONE

Method Parameters

ParameterDescription
milestoneIdThe id of the milestone to read

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": {
"milestoneId": "15",
"questId": null,
"title": "Winner Winner",
"description": "Get 50 wins",
"category": "loyalty",
"extraData": {
"secretMission": false,
"actionIndex": 4
},
"rewards": {
"experiencePoints": 1000
},
"thresholds": {
"playerStatistics": {
"statistics": {
"wins": 50
}
}
},
"createdAt": 1574793309304,
"updatedAt": 1574793309304,
"version": 1
}
}