Skip to content

Conversation

@ChrisPenner
Copy link
Member

Overview

Adds /webhooks/examples as a guaranteed-up-to-date set of JSON webhook examples for every topic.

Implementation notes

  • Implement stub data
  • Add new endpoint
  • Also made transcript dirs discoverable.

Test coverage

Transcript

Loose Ends

One thing this doesn't do is actually enumerate the valid possible values of the types, e.g. what are possible contribution statuses?

Maybe this sort of thing needs to be hand-written, or maybe I can define it in a JSON Schema spec or something.

@ChrisPenner ChrisPenner marked this pull request as ready for review October 22, 2025 19:25
@ChrisPenner ChrisPenner requested a review from hojberg October 22, 2025 19:25
@ChrisPenner ChrisPenner merged commit 4450f7d into main Oct 23, 2025
4 checks passed
@ChrisPenner ChrisPenner deleted the cp/webhook-examples branch October 23, 2025 19:10
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.

3 participants