docs-v2/content/flux/v0/stdlib/contrib/sranka/opsgenie/responderstojson.md

1.6 KiB

title description menu weight
opsgenie.respondersToJSON() function `opsgenie.respondersToJSON()` converts an array of Opsgenie responder strings to a string-encoded JSON array that can be embedded in an alert message.
flux_v0_ref
name parent identifier
opsgenie.respondersToJSON contrib/sranka/opsgenie contrib/sranka/opsgenie/respondersToJSON
301

opsgenie.respondersToJSON() converts an array of Opsgenie responder strings to a string-encoded JSON array that can be embedded in an alert message.

Function type signature
(v: [string]) => string

{{% caption %}} For more information, see Function type signatures. {{% /caption %}}

Parameters

v

({{< req >}}) (Required) Array of Opsgenie responder strings. Responder strings must begin with user: , team: , escalation: , or schedule: .