通信服务50 个端点
通信服务
端口 11015 · 50 个端点 · communication-service.json
通信服务
| 方法 | 路径 | 摘要 | |
|---|---|---|---|
/admin/communication/dashboard | 获取通信仪表盘(管理端) | 详情 → | |
/admin/communication/health/{channel} | 渠道连通性检查(管理端) | 详情 → | |
/admin/communication/logs | 管理员查询任意用户的通信日志 | 详情 → | |
/admin/communication/platform-stats | 获取平台级通信仪表盘(跨租户) | 详情 → | |
/admin/communication/providers | 获取服务商配置列表(管理端) | 详情 → | |
/admin/communication/providers | 创建服务商配置 | 详情 → | |
/admin/communication/providers/{provider_id} | 删除服务商配置 | 详情 → | |
/admin/communication/providers/{provider_id} | 更新服务商配置 | 详情 → | |
/admin/communication/rate-limits | 管理员查看限流配置 | 详情 → | |
/admin/communication/resend/{message_id} | 重发失败消息 | 详情 → | |
/admin/communication/template-stats | 获取模板使用统计(近30天,管理端) | 详情 → | |
/admin/communication/templates | 获取模板列表(管理端) | 详情 → | |
/admin/communication/templates | 创建消息模板 | 详情 → | |
/admin/communication/templates/{template_id} | 删除(停用)模板 | 详情 → | |
/admin/communication/templates/{template_id} | 更新消息模板 | 详情 → | |
/admin/communication/templates/{template_id}/clone-to-locale | 将模板复制到其他语言环境 | 详情 → | |
/admin/communication/templates/{template_id}/preview | 预览模板渲染效果 | 详情 → | |
/admin/communication/templates/{template_id}/versions | 查询模板版本历史 | 详情 → | |
/communication/bulk | 批量发送消息 | 详情 → | |
/communication/callback/{provider} | 处理短信/邮件/推送服务商回调 | 详情 → | |
/communication/dashboard | 获取通信投递仪表盘 | 详情 → | |
/communication/email | 发送邮件 | 详情 → | |
/communication/health/{channel} | 渠道连通性检查 | 详情 → | |
/communication/logs | 分页查询发送日志 | 详情 → | |
/communication/providers | 查询服务商配置列表 | 详情 → | |
/communication/providers/{provider_id} | 获取服务商配置详情 | 详情 → | |
/communication/push | 发送推送通知 | 详情 → | |
/communication/push-tokens | 查询推送令牌列表 | 详情 → | |
/communication/push-tokens | 注册设备推送令牌 | 详情 → | |
/communication/push-tokens/{push_token_id} | 注销推送令牌 | 详情 → | |
/communication/push-tokens/{push_token_id} | 更新推送令牌激活状态 | 详情 → | |
/communication/rate-limits | 查询各渠道速率限制 | 详情 → | |
/communication/scheduled/{message_id} | 取消定时发送消息 | 详情 → | |
/communication/sms | 发送短信 | 详情 → | |
/communication/template-stats | 获取模板使用统计(近30天) | 详情 → | |
/communication/templates | 获取模板列表 | 详情 → | |
/communication/templates/available | 获取可用模板列表(含平台默认模板) | 详情 → | |
/communication/templates/{template_id} | 获取模板详情 | 详情 → | |
/internal/communication/erase-user-data | 擦除用户通信数据(GDPR合规) | 详情 → | |
/internal/communication/export-user-data | 导出用户通信数据(GDPR合规) | 详情 → | |
/internal/communication/send | 内部服务统一发送消息 | 详情 → |
通信服务 - 内部接口
| 方法 | 路径 | 摘要 | |
|---|---|---|---|
/internal/communication/push/send | 内部推送通知发送 | 详情 → | |
/internal/communication/push/subscriptions | 内部删除推送订阅 | 详情 → | |
/internal/communication/push/subscriptions | 内部查询推送订阅列表 | 详情 → | |
/internal/communication/push/subscriptions | 内部注册推送订阅 | 详情 → | |
/internal/communication/push/subscriptions/{subscription_id} | 内部查询推送订阅详情 | 详情 → | |
/internal/communication/push/vapid-public-key | 内部获取 VAPID 公钥 | 详情 → | |
/internal/email/suppressions | 内部解除邮件抑制 | 详情 → | |
/internal/email/suppressions | 内部查询邮件抑制列表 | 详情 → | |
/internal/schedulers | 查询调度器状态列表 | 详情 → |