POST /api/channel/upstream_updates/applygithub.com/QuantumNous/new-api/controller.ApplyChannelUpstreamModelUpdates。web_vue。controller-confirmed-channel-upstream-update。字段为动态上游数据或回调负载时,文档会明确标记,不能补造 Schema。x-debug 里的占位符;示例不含真实密码、API Key、签名、Cookie 或 Provider 密钥。Authorization: Bearer ********************{
"id": 12,
"add_models": [
"gpt-example-mini"
],
"remove_models": [],
"ignore_models": []
}curl --location 'http://api-dev.opensosen.cn/api/channel/upstream_updates/apply' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 12,
"add_models": [
"gpt-example-mini"
],
"remove_models": [],
"ignore_models": []
}'{
"success": true,
"message": "",
"data": {
"id": 12,
"added_models": [
"gpt-example-mini"
],
"removed_models": [],
"ignored_models": [],
"remaining_models": [],
"remaining_remove_models": [],
"models": "gpt-example,gpt-example-mini",
"settings": "{}"
}
}