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

GET /admin/tenants/{id}/minors-protection

获取指定租户的未成年人保护配置,包括防沉迷、宵禁、消费限额等

租户服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 租户ID

Responses

StatusDescriptionSchema
200未成年人保护配置dto.MinorsProtectionConfigResponse
400请求参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证gitee_com_linmes_authms_base_dto.SimpleResponse
403权限不足gitee_com_linmes_authms_base_dto.SimpleResponse
404资源未找到gitee_com_linmes_authms_base_dto.SimpleResponse
500服务器内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.MinorsProtectionConfigResponse

FieldTypeRequiredExampleConstraintsDescription
child_default_max_privacy boolean No True
content_filter_enabled boolean No False
daily_usage_limit_min integer No 60
digital_consent_age integer No 13
live_stream_blocked_under_16 boolean No False
minor_data_retention_days integer No 365
minors_age_threshold integer No 18
monthly_spend_limit integer No 10000
night_mode_enabled boolean No False
night_mode_end string No 06:00
night_mode_start string No 22:00
tenant_id string No tnt_abc123

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No