Skip to content

Commit

Permalink
Update the "Supported Placeholders" dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
cuu508 committed Sep 26, 2022
1 parent b4871bd commit e5e3692
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
- Implement documentation search
- Add date filters in the Log page
- Upgrade to cronsim 2.2
- Add support for the $BODY placeholder in webhook payloads (#708)

### Bug Fixes
- Fix the handling of TooManyRedirects exceptions
Expand Down
12 changes: 8 additions & 4 deletions templates/integrations/webhook_form.html
Expand Up @@ -195,11 +195,11 @@ <h4>Supported Placeholders</h4>
<table id="webhook-variables" class="table modal-body">
<tr>
<th><code>$CODE</code></th>
<td>The UUID code of the check</td>
<td>The UUID code of the check.</td>
</tr>
<tr>
<th><code>$NAME</code></th>
<td>Name of the check</td>
<td>Name of the check.</td>
</tr>
<tr>
<th><code>$NOW</code></th>
Expand All @@ -210,16 +210,20 @@ <h4>Supported Placeholders</h4>
</tr>
<tr>
<th><code>$STATUS</code></th>
<td>Check's current status ("up" or "down")</td>
<td>Check's current status ("up" or "down").</td>
</tr>
<tr>
<th><code>$TAGS</code></th>
<td>Check's tags, separated by spaces</td>
<td>Check's tags, separated by spaces.</td>
</tr>
<tr>
<th><code>$TAG1, $TAG2, …</code></th>
<td>Value of the first tag, the second tag, …</td>
</tr>
<tr>
<th><code>$BODY</code></th>
<td>The request body of the most recent ping. Works only in the webhook's "Request Body" field.</td>
</tr>
<tr>
<th><code>$JSON</code></th>
<td>
Expand Down

1 comment on commit e5e3692

@bdd
Copy link
Contributor

@bdd bdd commented on e5e3692 Sep 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this commit.
You should have asked for me to update these in the PR as well :)

Please sign in to comment.