重构webhook包
This commit is contained in:
@@ -297,7 +297,7 @@ type ApplicationServiceCreateIftttIntegrationParamsBodyIntegration struct {
|
||||
// Event prefix.
|
||||
// If set, the event name will be PREFIX_EVENT. For example if event_prefix
|
||||
// is set to weatherstation, and uplink event will be sent as
|
||||
// weatherstation_up to the IFTTT webhook.
|
||||
// weatherstation_up to the IFTTT listener.
|
||||
// Note: Only characters in the A-Z, a-z and 0-9 range are allowed.
|
||||
EventPrefix string `json:"eventPrefix,omitempty"`
|
||||
|
||||
|
||||
@@ -297,7 +297,7 @@ type ApplicationServiceUpdateIftttIntegrationParamsBodyIntegration struct {
|
||||
// Event prefix.
|
||||
// If set, the event name will be PREFIX_EVENT. For example if event_prefix
|
||||
// is set to weatherstation, and uplink event will be sent as
|
||||
// weatherstation_up to the IFTTT webhook.
|
||||
// weatherstation_up to the IFTTT listener.
|
||||
// Note: Only characters in the A-Z, a-z and 0-9 range are allowed.
|
||||
EventPrefix string `json:"eventPrefix,omitempty"`
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ type APIIftttIntegration struct {
|
||||
// Event prefix.
|
||||
// If set, the event name will be PREFIX_EVENT. For example if event_prefix
|
||||
// is set to weatherstation, and uplink event will be sent as
|
||||
// weatherstation_up to the IFTTT webhook.
|
||||
// weatherstation_up to the IFTTT listener.
|
||||
// Note: Only characters in the A-Z, a-z and 0-9 range are allowed.
|
||||
EventPrefix string `json:"eventPrefix,omitempty"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user