A AuthMS API Wiki API Reference iam.tianv.com →

GET /admin/point-rules

管理员操作,查询租户下的积分规则列表。默认仅返回启用的规则,设置 include_disabled=true 可同时返回已禁用的规则。

积分服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
include_disabled query boolean No False 包含已禁用规则

Responses

StatusDescriptionSchema
200积分规则列表dto.PointRuleListResponse
400请求参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证gitee_com_linmes_authms_base_dto.SimpleResponse
403无权限gitee_com_linmes_authms_base_dto.SimpleResponse
500服务器内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.PointRuleListResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data array of

See dto.PointRuleResponse

No
message string No
timestamp string No

dto.PointRuleResponse

FieldTypeRequiredExampleConstraintsDescription
created_at string No 2026-01-15T10:30:00Z
daily_limit integer No 3
enabled boolean No True
event_type string No daily_checkin
expiry_days integer No 365
id string No 01ARZ3NDEKTSV4RRFFQ69G5FAV
multiplier number No 1.5
name string No 每日签到
points integer No 10
priority integer No 1
tenant_id string No tnt_example_001
total_limit integer No 100
updated_at string No 2026-04-10T14:20:00Z

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No