Creating a component rule
In this scenario, you use Talend APIs to create a component rule to improve your project quality.
About this task
Here are some details about the API call:
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
}