Skip to content

Commit

Permalink
Add Content - Examples of Event Payloads
Browse files Browse the repository at this point in the history
 - #18
  • Loading branch information
aljawaid committed Sep 12, 2023
1 parent 5c0ad4c commit 60ffa12
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Template/config/webhook-code-examples-event-payloads.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<p class="">
<?= t('All event payloads are in the following format:') ?>
</p>
<div class="panel">
<pre class="">
{
"event_name": "model.event_name",
"event_data": {
"key1": "value1",
"key2": "value2"
}
}
</pre>
</div>
<p class="">
<?= e('The %s values are not necessary normalized across events.', '<strong><code>event_data</code></strong>') ?>
</p>
<h3 class=""><?= t('Task Creation') ?></h3>
<div class="panel">
<pre class=""></pre>
</div>

0 comments on commit 60ffa12

Please sign in to comment.