fix: docs
This commit is contained in:
@@ -187,8 +187,17 @@
|
||||
<p class="endpoint-desc">Enable or disable a monitor without deleting it.</p>
|
||||
|
||||
<h3>Ping History</h3>
|
||||
<div class="endpoint"><span class="method get">GET</span><span class="path">/monitors/:id/pings?limit=100</span></div>
|
||||
<p class="endpoint-desc">Returns recent ping results for a monitor. Max 1000. Each ping carries an <code>important</code> boolean - true on status transitions and resend ticks (the beats that triggered notifications).</p>
|
||||
<div class="endpoint"><span class="method get">GET</span><span class="path">/monitors/:id/pings</span></div>
|
||||
<p class="endpoint-desc">Returns recent ping results for a monitor. Each ping carries an <code>important</code> boolean - true on status transitions and resend ticks (the beats that triggered notifications).</p>
|
||||
<table>
|
||||
<thead><tr><th>Param</th><th>Type</th><th>Description</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>limit</td><td>number</td><td>Results per page (default 100, max 1000).</td></tr>
|
||||
<tr><td>skip</td><td>number</td><td>Number of results to skip. Use with <code>limit</code> for pagination.</td></tr>
|
||||
<tr><td>filter</td><td>string</td><td><code>up</code>, <code>down</code>, or <code>events</code> (state transitions only). Omit for all pings.</td></tr>
|
||||
<tr><td>before</td><td>number</td><td>Unix timestamp in seconds. Only returns pings older than this.</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- Notifications -->
|
||||
|
||||
Reference in New Issue
Block a user