ChannelAdminService

===== Channel =====

post/v1/admin/channels

Request body

apiKeystring
autoDisableJsonstring
baseUrlstring
costRatiostring

渠道成本倍率 decimal 字符串;空串=不配置(落 NULL)。非法值返回 400, reason=CHANNEL_COST_RATIO_INVALID。仅审计不计费。

extraConfigJsonstring
headerOverrideJsonstring

覆盖三件套:与 ChannelInfo 同义;空串 = 未配置。写入前 biz 侧校验,不允许覆盖 stream 键。

headerStripJsonstring

header_strip_json 请求头剔除 JSON (对齐 ChannelInfo.header_strip_json)。

modelMappingJsonstring
namestring
paramOverrideJsonstring
passthroughBodyboolean
priorityinteger
regionstring
remarkstring
retryJsonstring
timeoutMsinteger
typestring
vendorIdstring

Response

OK

Changes

No recorded changes to this endpoint across all 1 revision of this API.