Builder for HTTP notification structs.
Wraps the HTTP Notification for Alert Rules API.
Start with LogpointApi.http_notification/3 and pipe through the builder
functions to configure the request and auth. Supports no_auth/1,
api_token_auth/3, basic_auth/3, and bearer_auth/2.
Summary
Functions
Convert an HttpNotification struct into the flat map format expected by the Logpoint API.
Types
@type t() :: %LogpointApi.Data.HttpNotification{ auth: map(), dispatch_option: String.t() | nil, http_body: String.t() | nil, http_format_query: String.t() | nil, http_protocol: String.t() | nil, http_querystring: String.t() | nil, http_request_type: String.t(), http_url: String.t(), ids: [String.t()], notify_http: boolean() | nil, threshold_option: String.t() | nil, threshold_value: number() | nil }
Functions
Convert an HttpNotification struct into the flat map format expected by the Logpoint API.