Add Polytomic: 1 doc-sourced sync.records sample - #61
Merged
Merged
Conversation
From the request sample on docs.polytomic.com/docs/webhooks-connections, with only its `...` array tail removed. topic_identifier: event (top-level body field). latest, sourced_via: docs. Generated by hookdeck/webhook-registry harvest_polytomic.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017M5zkoyQLQjXErCKTrS4X7
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New provider: Polytomic. Its one webhook surface is the Webhook destination
connection: a Model Sync POSTs batches of changed records to your URL. This PR is the
samples stage of the add-a-source pipeline. The earlier stages are:
No Hookdeck core source type exists yet; one is queued.
sync.recordssample, a one-record batch. Please read this first. It isthe request-sample body from
webhooks-connections, read from
its
.mdmirror, with one edit. The page follows the single record with a literal...for further records, and I removed that array tail. The page's ownContent-Length: 646against 344 printed bytes shows the real delivery held morerecords. A one-record batch is still a shape Polytomic sends: batch size is
configurable (default 100), and a final batch is often short. No value is invented and
no object is emptied. The edit is recorded in the file's
source.note.metadataobjectcontains only a
#comment, so stripping it would leave{}, a value the docs nevershow.
object.metadatais left out of the sample, matching the request sample. Itsdocumented default is null.
fieldskeys are not a schema.email/last_loginare the fields the docs'example sync selected. The note says so.
content-typeonly ("Polytomic delivers its webhooks payloadsas json only"). I left out three:
Authorization: Bearer <secret>is per connection;Polytomic-Signature-Timestampis per delivery;topic_identifier:event, a top-level body field, sorequestReceiver.tsresolves it flat.
latest. Polytomic has no webhook version scheme, and there was noexisting entry to adopt.
latestis markedsourced_via: docs,sourced_on: 2026-10-02. Thefile carries
source.type: vendor-documentation.Checklist:
providers/polytomicand noscripts/polytomicharness, so nocaptures are displaced. Existing files changed: 0.
samples-doc/providers/polytomic/, andre-running
harvest_polytomic.pyreproduces them unchanged.yarn compilepasses: 147 → 148 providers.yarn test: 14/14 passed.verify.py: FAIL (0).Merge after hookdeck/webhook-registry#83. Its row now records this sample and the
payloadsgap that remains (no multi-record delivery and nometadataon the wire;resolve by capturing one real delivery).
🤖 Generated with Claude Code
https://claude.ai/code/session_017M5zkoyQLQjXErCKTrS4X7