Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A collection of example webhooks from popular platforms

NotificationsYou must be signed in to change notification settings

hookdeck/webhook-samples

Repository files navigation

This repo is a collection of webhooks data from different platforms that distribute webhooks. This data is used inhttps://console.hookdeck.com "Example Webhooks".

Contributing

Adding a new provider

  1. Add a new directory for the provider in./providers

  2. Create aindex.json file in that provider directory. The index.json file needs alabel which is the publicly recognizable name for the provider, and a set of configs. Thelatest_version represents the most recent version for that provider, if the provider doesn't offer versioning then inputlatest. Thetopic_identifier is optional and represent either a header or body key to extract the topic from the request.

{  "label": "Shopify",  "configs": {    "latest_version": "2023-01",    "topic_identifier": "x-shopify-topic"  }}
  1. [OPTIONAL] Install the dependencies withyarn installand start the request receiver withyarn dev:receiver`. You can now send a request tohttp://localhost:9001/:provider/:version, and the received request will automatically be saved to that provider directory.

Each provider has a directory for each version, and each version has a file for each topic. The file's name is the topic and contains the request dataheaders andbody.

You can manually enter the data if you'd instead not use the request receiver.

Using the data

The data is packaged into JSON files that are distributed over http. The files can be found onhttps://samples.hookdeck.com

List of providers:https://samples.hookdeck.com/providers.jsonData for a provider:https://samples.hookdeck.com/providers/shopify/2023-01.json

Contributors8


[8]ページ先頭

©2009-2025 Movatter.jp