建立元件規則
在此情境中,您使用 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
}