GET /communication/rate-limits
基于当前配置的服务商返回短信、邮件、推送等渠道的速率限制配置(每分钟/每小时最大发送量),用于客户端发送前的流量控制参考。参考:ePrivacy Directive 2002/58/EC、CAN-SPAM Act。
通信服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
channel |
query |
string |
No |
|
|
|
渠道筛选:sms/email/push(不传返回全部) |
Referenced Schemas
domain.ChannelRateLimitData
| Field | Type | Required | Example | Constraints | Description |
max_per_hour |
integer |
No |
|
|
|
max_per_min |
integer |
No |
|
|
|
provider |
string |
No |
|
|
|
tenant_id |
string |
No |
|
|
|
dto.RateLimitsDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.RateLimitsResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.RateLimitsResponse
通信服务各发送渠道的速率限制配置
dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|