You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to define a notification rule step for a "New Alert" with no delay (so that I immediately receive the notification). The Opsgenie API documentation indicates that the sendAfter field must be specified for New Alert and Assigned Alert notification rules:
Time period (in minute) when notification will be sent after. Valid and Mandatory only for New Alert and Assigned Alert notification rules. sendAfter parameter should be given as an object which has a timeAmount field that takes amount as minutes.
Nevertheless, specifying 0 as TimeAmount won't work because the field would be omitted:
I want to define a notification rule step for a "New Alert" with no delay (so that I immediately receive the notification). The Opsgenie API documentation indicates that the
sendAfter
field must be specified for New Alert and Assigned Alert notification rules:Nevertheless, specifying
0
asTimeAmount
won't work because the field would be omitted:On the other hand, the API is perfectly happy to receive
0
.Would simply removing
omitempty
be a viable solution?The text was updated successfully, but these errors were encountered: