router/api-router.go:270。controller.UpdateTaskPluginMarketplaceSources,controller/task_plugin.go:698。plugin:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location --request PUT '/api/plugin/task/marketplace/sources' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"name": "string",
"index_url": "string",
"property1": "string",
"property2": "string"
}
]'{
"success": true,
"message": "string",
"data": [
{
"name": "string",
"index_url": "string",
"property1": "string",
"property2": "string"
}
],
"property1": "string",
"property2": "string"
}