Browse Source

Fixing typo

pull/380/head
Pēteris Caune 4 years ago
parent
commit
beff11ceff
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      templates/docs/api.html
  2. +2
    -2
      templates/docs/api.md

+ 2
- 2
templates/docs/api.html View File

@ -39,7 +39,7 @@ checks in user's account.</p>
<td><code>DELETE SITE_ROOT/api/v1/checks/&lt;uuid&gt;</code></td> <td><code>DELETE SITE_ROOT/api/v1/checks/&lt;uuid&gt;</code></td>
</tr> </tr>
<tr> <tr>
<td><a href="#list-pings">Get a list of checks's logged pings</a></td>
<td><a href="#list-pings">Get a list of check's logged pings</a></td>
<td><code>GET SITE_ROOT/api/v1/checks/&lt;uuid&gt;/pings/</code></td> <td><code>GET SITE_ROOT/api/v1/checks/&lt;uuid&gt;/pings/</code></td>
</tr> </tr>
<tr> <tr>
@ -610,7 +610,7 @@ check that was just deleted.</p>
</code></pre></div> </code></pre></div>
<h2 class="rule" id="list-pings">Get a list of checks's logged pings</h2>
<h2 class="rule" id="list-pings">Get a list of check's logged pings</h2>
<p><code>GET SITE_ROOT/api/v1/checks/&lt;uuid&gt;/pings/</code></p> <p><code>GET SITE_ROOT/api/v1/checks/&lt;uuid&gt;/pings/</code></p>
<p>Returns a list of pings this check has received.</p> <p>Returns a list of pings this check has received.</p>
<p>This endpoint returns pings in reverse order (most recent first), and the total <p>This endpoint returns pings in reverse order (most recent first), and the total


+ 2
- 2
templates/docs/api.md View File

@ -14,7 +14,7 @@ Endpoint Name | Endpoint Address
[Update an existing check](#update-check) | `POST SITE_ROOT/api/v1/checks/<uuid>` [Update an existing check](#update-check) | `POST SITE_ROOT/api/v1/checks/<uuid>`
[Pause monitoring of a check](#pause-check) | `POST SITE_ROOT/api/v1/checks/<uuid>/pause` [Pause monitoring of a check](#pause-check) | `POST SITE_ROOT/api/v1/checks/<uuid>/pause`
[Delete check](#delete-check) | `DELETE SITE_ROOT/api/v1/checks/<uuid>` [Delete check](#delete-check) | `DELETE SITE_ROOT/api/v1/checks/<uuid>`
[Get a list of checks's logged pings](#list-pings) | `GET SITE_ROOT/api/v1/checks/<uuid>/pings/`
[Get a list of check's logged pings](#list-pings) | `GET SITE_ROOT/api/v1/checks/<uuid>/pings/`
[Get a list of existing integrations](#list-channels) | `GET SITE_ROOT/api/v1/channels/` [Get a list of existing integrations](#list-channels) | `GET SITE_ROOT/api/v1/channels/`
## Authentication ## Authentication
@ -667,7 +667,7 @@ curl SITE_ROOT/api/v1/checks/f618072a-7bde-4eee-af63-71a77c5723bc \
} }
``` ```
## Get a list of checks's logged pings {: #list-pings .rule }
## Get a list of check's logged pings {: #list-pings .rule }
`GET SITE_ROOT/api/v1/checks/<uuid>/pings/` `GET SITE_ROOT/api/v1/checks/<uuid>/pings/`


Loading…
Cancel
Save