Triggers REST API
This section has the following Triggers REST APIs:
/triggers
Method | GET |
---|---|
Description | Get a list of triggers of the smart engine. |
Path Parameters | None |
Query Parameters | None |
Header Parameters | None |
Output |
|
/triggers/{triggerId}/properties
Method | PUT |
---|---|
Description | Update the properties of a trigger. |
Path Parameters |
|
Query Parameters | None |
Header Parameters | None |
Body Parameters | { "{propertyName1}": {propertyValue1}, "{propertyName2}": {propertyValue2}, ... ... "{propertyNameN}": {propertyValueN} } |
Output |
|
Sample Output |
{ "highIdleTimeoutPerMinuteThreshold": 60, "highIdleTimeoutDurationMinutesThreshold": 5 } { "code": "200", "message": "Trigger's properties are updated.", "status": "success" } |