创建组件规则
在此场景中,您使用 Talend API 创建组件规则以提高项目质量。
关于此任务
以下是有关 API 调用的详细信息:
Method: POST
endpoint: api/v1/projects/quality/rules/category/components
payload:
{
"name": "string",
"description": "string",
"severity": "Info",
"category": "Component",
"threshold": {
"operator": "string",
"value": 0,
"type": "Percentage"
},
"components": [
"string"
],
"parameters": [
"string"
],
"inputs": [
"string"
],
"exists": true
}