Event Handler Template Response
data class EventHandlerTemplateResponse(val auth: UpstreamAuthSettingsResponse? = null, val systemEventPattern: String? = null, val urlTemplate: String, val userEventPattern: String? = null)
EventHandler template item settings.
Constructors
Link copied to clipboard
fun EventHandlerTemplateResponse(auth: UpstreamAuthSettingsResponse? = null, systemEventPattern: String? = null, urlTemplate: String, userEventPattern: String? = null)
Types
Properties
Link copied to clipboard
Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in. For example, UrlTemplate can be http://example.com/api/{hub}/{event}
. The host part can't contains parameters.
Link copied to clipboard
Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The single event name, for example, "event1", it matches "event1"