POST /api/setupgithub.com/QuantumNous/new-api/controller.PostSetup。web_vue。controller-confirmed-setup-sensitive。字段为动态上游数据或回调负载时,文档会明确标记,不能补造 Schema。x-debug 里的占位符;示例不含真实密码、API Key、签名、Cookie 或 Provider 密钥。{
"username": "root",
"password": "<redacted-root-password>",
"confirmPassword": "<redacted-root-password>",
"SelfUseModeEnabled": false,
"DemoSiteEnabled": false
}curl --location 'http://api-dev.opensosen.cn/api/setup' \
--header 'Content-Type: application/json' \
--data '{
"username": "root",
"password": "<redacted-root-password>",
"confirmPassword": "<redacted-root-password>",
"SelfUseModeEnabled": false,
"DemoSiteEnabled": false
}'{
"success": true,
"message": "系统初始化成功"
}