This repo is collection of webhooks data from different platforms that distribute webhooks. This data is used to power https://console.hookdeck.com "Example Webhooks".
-
Add a new directory for the provider in
./providers -
Create a
index.jsonfile in that provider directory. The index.json file needs alabelwhich is the publicly reconizable name for the provider, and a set of configs. Thelatest_versionrepresent the most recent version for that provider, if the provider doesn't offer versioning then inputlatest. Thetopic_identifieris 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"
}
}
- [OPTIONAL] Install the dependancies with
yarn installand start the request receiver withyarn dev:receiver. You can now send request to http://localhost:9001/:provider/:version and received request will automatically be saved to that provider directory.
Each provider has a set of directory for each version and each version has a file for each topic. The name of the file is the topic and it contains the request data headers and body.
You can manually enter the data if you'd rather not use the request receiver.
The data is packaged into JSON files that are distributed over http. The files can be found on https://samples.hookdeck.com
List of providers: https://samples.hookdeck.com/providers.json Data for a provider: https://samples.hookdeck.com/providers/shopify/2023-01.json