PUT /api/models/github.com/QuantumNous/new-api/controller.UpdateModelMeta。web_vue。controller-confirmed-model-meta。字段为动态上游数据或回调负载时,文档会明确标记,不能补造 Schema。x-debug 里的占位符;示例不含真实密码、API Key、签名、Cookie 或 Provider 密钥。Authorization: Bearer ********************{
"id": 11,
"model_name": "debug-model",
"description": "更新后说明",
"vendor_id": 3,
"status": 1,
"sync_official": 1,
"name_rule": 0
}curl --location --request PUT 'http://api-dev.opensosen.cn/api/models/?status_only=undefined' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 11,
"model_name": "debug-model",
"description": "更新后说明",
"vendor_id": 3,
"status": 1,
"sync_official": 1,
"name_rule": 0
}'{
"success": true,
"message": "",
"data": {
"id": 11,
"model_name": "debug-model",
"status": 1,
"sync_official": 1,
"created_time": 1786646400,
"updated_time": 1786646500,
"name_rule": 0
}
}