GET /communication/providers/{provider_id}

根据配置ID获取单个服务商配置的详细信息。配置凭据在响应中自动脱敏。参考:ePrivacy Directive 2002/58/EC、CAN-SPAM Act。

通信服务 `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
provider_id path string 是 服务商配置ID

响应

状态描述Schema
200查询成功,返回配置详情(凭据已脱敏)service-communication/internal/handler/dto.ProviderConfigDataResponse
400请求参数错误dto.SimpleResponse
401未认证或令牌无效dto.SimpleResponse
403无权访问该资源dto.SimpleResponse
404配置不存在dto.SimpleResponse
500服务内部错误dto.SimpleResponse

引用的 Schema

dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-communication/internal/handler/dto.ProviderConfigDataResponse

字段类型必填示例约束描述
code integer 否
data service-communication/internal/handler/dto.ProviderConfigResponse 否
message string 否
timestamp string 否

service-communication/internal/handler/dto.ProviderConfigResponse

字段类型必填示例约束描述
app_id string 否
channel string 否
config string 否
created_at string 否
id string 否
is_active boolean 否
priority integer 否
provider string 否
tenant_id string 否
updated_at string 否