{{template "base" .}} {{define "title"}}Event Log - {{.Webhook.Name}} - Webhooker{{end}} {{define "content"}}
← Back to {{.Webhook.Name}}

Event Log

{{.TotalEvents}} total event{{if ne .TotalEvents 1}}s{{end}}
{{range .Events}}
{{.Method}} {{.ID}} {{.ContentType}}
{{range .Deliveries}} {{.Target.Name}}: {{.Status}} {{end}} {{.CreatedAt.Format "2006-01-02 15:04:05"}}
{{.Body}}
{{if .BodyTruncated}}

Body truncated for display: showing {{.BodyShownBytes}} of {{.BodyBytes}} bytes. The stored body is unchanged — download the full body.

{{end}} {{if .Deliveries}}

Deliveries

{{range .Deliveries}}
{{.Target.Name}} {{.Status}}
{{.AttemptCount}} attempt{{if ne .AttemptCount 1}}s{{end}}
{{if .AttemptsOmitted}}

{{.AttemptsOmitted}} attempts omitted between the first and last shown.

{{end}} {{range .Results}}
Attempt {{.AttemptNum}} {{if .Success}}success{{else}}failure{{end}} Status: {{if .HasStatusCode}}{{.StatusCode}}{{else}}— (no response){{end}} Duration: {{.DurationMS}} ms
{{if .Error}}

Error: {{.Error}}

{{end}} {{if .ResponseBody}}
{{.ResponseBody}}
{{end}} {{if .ResponseTruncated}}

Response truncated for display: showing {{.ResponseShownBytes}} of {{.ResponseBytes}} bytes.

{{end}}
{{else}}

No attempts recorded yet.

{{end}}
{{end}}
{{end}}
{{else}}
No events recorded yet.
{{end}}
{{if or .HasPrev .HasNext}}
{{if .HasPrev}} ← Previous {{end}} Page {{.Page}} of {{.TotalPages}} {{if .HasNext}} Next → {{end}}
{{end}}
{{end}}