Skip to content

better-stack: add 1 doc-sourced sample (comment) - #78

Merged
garethx merged 1 commit into
mainfrom
feature/samples-better-stack-bitculator
Oct 29, 2026
Merged

garethx merged 1 commit into
mainfrom
feature/samples-better-stack-bitculator

Conversation

@garethx

@garethx garethx commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Requested by Gareth · project thread

Merge after hookdeck/webhook-registry#125, which adds the better-stack registry row and the samples-doc file this PR copies.

Before: Hookdeck has BETTER_STACK and BITCULATOR source types, but this repo had no samples for either.

After: providers/better-stack/ holds 1 doc-sourced sample, latest/comment.json. It is the incident comment example from Better Stack's outgoing-webhook API pages, and it is the only rendered delivery body the Uptime webhook docs publish. index.json has topic_identifier: "event" and provenance docs. The body's top-level event resolves to comment, which matches the file name and the topic field.

Better Stack's other webhook bodies (incident started/acknowledged/resolved/reopened, monitor and on-call changes) are documented only as templates with unrendered $VARIABLES, so they have no samples. Bitculator has no samples either: its docs show no delivery body, only that a test event carries test: true.

How: I copied samples-doc/providers/better-stack/ from the registry branch as-is. I checked the topic with resolveTopic (headers first, then body, as requestReceiver.ts does). yarn compile succeeded and providers.json lists better-stack latest as docs. yarn test gave 26 passed, 0 failed.


Generated by Claude Code

Copied as-is from hookdeck/webhook-registry samples-doc/providers/better-stack/.
The incident `comment` example is the only rendered delivery body Better Stack's
Uptime webhook docs publish; topic_identifier `event` resolves it to `comment`.

Bitculator gets no samples: its docs document no delivery body.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D7eqaQdKAUzQXRbGtym1PF
@vercel

vercel Bot commented Oct 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
webhook-samples Ready Ready Preview Oct 29, 2026 3:32pm UTC

Request Review

@garethx
garethx merged commit b9fc71b into main Oct 29, 2026
3 checks passed
@garethx
garethx deleted the feature/samples-better-stack-bitculator branch October 29, 2026 16:31

This branch was successfully deployed

1 active deployment
Preview — bf8fb97e Deployed Oct 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants