Parameter | Type | Description | Request | Response | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
GET | PUT | POST | DELETE | GET | PUT | POST | DELETE | |||||
priority | Integer | Indicates which rule is prioritised first so that the rules work in a sequence | Yes | Yes | Yes | Yes | Yes | |||||
scope | String | Can be achievement or contest | Yes | Yes | Yes | Yes | Yes | |||||
action | String | The main rule for the rule set | Yes | Yes | Yes | Yes | Yes | |||||
conditions | Array [Object] | MainConditionSet model | Yes | Yes | Yes | Yes | Yes | |||||
onMatchThen | String | For contest creation with Custom points action selection pre-created variable | Optional | Optional | Optional | Optional | Optional | |||||
onMatchConstant | String | For contest creation with Custom points action value | Optional | Optional | Optional | Optional | Optional |
You can find all the RuleSet action, onMatchThen and onMatchConstant creation variables for achievement or contests creation in Rules