rule-chain-controller
Set Auto Assign To Edge Rule Chain (setAutoAssignToEdgeRuleChain)
Makes the rule chain to be automatically assigned for any new edge that will be created. Does not assign this rule chain for already created edges.
Available for users with 'TENANT_ADMIN' authority.
post/api/ruleChain/{ruleChainId}/autoAssignToEdge
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ruleChainIdstring required
A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "RULE_CHAIN"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"name": "Humidity data processing",
"type": "A4B72CCDFF33",
"firstRuleNodeId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "RULE_NODE"
},
"configuration": {},
"additionalInfo": {}
}Changes
No recorded changes to this operation across all 2 revisions of this API.