latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

rule-chain-controller

Get output labels usage (getRuleChainOutputLabelsUsage)

Fetch the list of rule chains and the relation types (labels) they use to process output of the current rule chain based on the provided Rule Chain Id. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.

Available for users with 'TENANT_ADMIN' authority.

get/api/ruleChain/{ruleChainId}/output/labels/usage

Path parameters

ruleChainIdstring required

A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'

Response

OK

ruleChainNamestring required

Rule Chain Name

ruleNodeNamestring required

Rule Node Name

labelsstring[] required

Output labels

Example response

[
  {
    "ruleChainId": {
      "id": "784f394c-42b6-435a-983c-b7beff2784f9",
      "entityType": "RULE_CHAIN"
    },
    "ruleNodeId": {
      "id": "784f394c-42b6-435a-983c-b7beff2784f9",
      "entityType": "RULE_NODE"
    }
  }
]