Docs › API Reference › Point Service › POST /admin/point-rules/test
POST /admin/point-rules/test
Admin operation. Dry-run to calculate the rule parameters and expected points for a given event type. Does not actually issue points or modify any data.
Points Service `bearerAuth` application/json
Request Body
Schema: dto.TestRuleRequest
Field Type Required Example Constraints Description
event_type
string
Yes
Referenced Schemas
dto.RuleTestResponse
Field Type Required Example Constraints Description
code
integer
No
0
data
dto.RuleTestResult
No
message
string
No
success
dto.RuleTestResult
Field Type Required Example Constraints Description
daily_remaining
integer
No
3
effective_rate
number
No
2
points
integer
No
100
gitee_com_linmes_authms_base_dto.SimpleResponse
Field Type Required Example Constraints Description
code
integer
No
message
string
No
timestamp
string
No