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

GET /communication/providers/{id}

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

通信服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 服务商配置ID

Responses

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

Referenced Schemas

dto.ProviderConfigDataResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.ProviderConfigResponse No
message string No
timestamp string No

dto.ProviderConfigResponse

FieldTypeRequiredExampleConstraintsDescription
app_id string No
channel string No
config string No
created_at string No
id string No
is_active boolean No
priority integer No
provider string No
tenant_id string No
updated_at string No

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No