POST /api/channel/upstream_updates/apply_allgithub.com/QuantumNous/new-api/controller.ApplyAllChannelUpstreamModelUpdates。web_vue。controller-confirmed-channel-upstream-update。字段为动态上游数据或回调负载时,文档会明确标记,不能补造 Schema。x-debug 里的占位符;示例不含真实密码、API Key、签名、Cookie 或 Provider 密钥。Authorization: Bearer ********************curl --location --request POST 'http://api-dev.opensosen.cn/api/channel/upstream_updates/apply_all' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "",
"data": {
"processed_channels": 1,
"added_models": 1,
"removed_models": 0,
"failed_channel_ids": [],
"results": [
{
"channel_id": 12,
"channel_name": "debug-openai",
"added_models": [
"gpt-example-mini"
],
"removed_models": [],
"remaining_models": [],
"remaining_remove_models": []
}
]
}
}