Karta.Webhooks.Event (Karta v1.0.0)

An event of a server that at least one of its webhooks subscribed to: its type (Karta.Webhooks.Catalogue), when it happened (occurred_at) and its data, kept as it is sent (Karta.Webhooks.Payload), so that a retry or a replay sends the same request even when the message is gone. Its id is the webhook-id of every request about it. Ids increase with time (monotonic version 7 UUIDs; strictly on one node).

Summary

Types

t()

@type t() :: %Karta.Webhooks.Event{
  __meta__: term(),
  created_at: term(),
  data: term(),
  id: term(),
  occurred_at: term(),
  server: term(),
  server_id: term(),
  type: term()
}