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
  • Code = 200

    Message = "Returns a list of triggers."

  • Code = 503

    Message = "Internal Server Error".

/triggers/{triggerId}/properties

Method PUT
Description Update the properties of a trigger.
Path Parameters
  • Parameter: triggerId

  • Type: String(required)

  • Description: The id of a trigger

Query Parameters None
Header Parameters None
Body Parameters { "{propertyName1}": {propertyValue1}, "{propertyName2}": {propertyValue2}, ... ... "{propertyNameN}": {propertyValueN} }
Output
  • Code = 200

    Message = "Trigger's properties are updated."

  • Code = 503

    Message = "Internal Server Error".

Sample Output

{ "highIdleTimeoutPerMinuteThreshold": 60, "highIdleTimeoutDurationMinutesThreshold": 5 }

{ "code": "200", "message": "Trigger's properties are updated.", "status": "success" }