|
45 | 45 | <li><a href='https://github.com/knuckleswtf/pastel'>Documentation powered by Pastel 🎨</a></li> |
46 | 46 | </ul> |
47 | 47 | <ul class="toc-footer" id="last-updated"> |
48 | | - <li>Last updated: April 10 2020</li> |
| 48 | + <li>Last updated: April 11 2020</li> |
49 | 49 | </ul> |
50 | 50 | </div> |
51 | 51 | <div class="page-wrapper"> |
52 | 52 | <div class="dark-box"></div> |
53 | 53 | <div class="content"> |
54 | 54 | <h1>Introduction</h1> |
55 | 55 | <p>Welcome to the Kittn API! You can use our API to can get information on various cats, kittens, and breeds in our database.</p> |
56 | | -<p>As you scroll, you'll see code examples for working with the API in Bash, Ruby, Python, and JavaScript in the dark area to the right (or as part of the content on mobile), and you can switch the programming language of the examples with the tabs in the top right (or from the nav menu at the top left on mobile).</p> |
| 56 | +<p>As you scroll, you'll see code examples for working with the API in Bash, PHP, Python, and JavaScript in the dark area to the right (or as part of the content on mobile), and you can switch the programming language of the examples with the tabs in the top right (or from the nav menu at the top left on mobile).</p> |
57 | 57 | <p>This example API documentation page was borrowed from <a href="https://github.com/slatedocs/slate">Slate</a> and generated with <a href="https://github.com/knuckleswtf/pastel">Pastel</a>. Feel free to edit it and use it as a base for your own API's documentation.</p> |
58 | 58 | <h1>Authentication</h1> |
59 | 59 | <blockquote> |
@@ -127,7 +127,7 @@ <h2>Get All Kittens</h2> |
127 | 127 | <p>This endpoint retrieves all kittens.</p> |
128 | 128 | <h3>HTTP Request</h3> |
129 | 129 | <p><small class="badge badge-green">GET</small> <strong><code>http://example.com/api/kittens</code></strong></p> |
130 | | -<h3>Query Parameters</h3> |
| 130 | +<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4> |
131 | 131 | <p> |
132 | 132 | <code><b>include_cats</b></code> <i>Default: <code>false</code></i> |
133 | 133 | <br> |
@@ -170,7 +170,7 @@ <h2>Get a Specific Kitten</h2> |
170 | 170 | <aside class="warning">Inside HTML code blocks like this one, you can't use Markdown, so use <code><code></code> blocks to denote code.</aside> |
171 | 171 | <h3>HTTP Request</h3> |
172 | 172 | <p><small class="badge badge-green">GET</small> <strong><code>http://example.com/kittens/<ID></code></strong></p> |
173 | | -<h3>URL Parameters</h3> |
| 173 | +<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> |
174 | 174 | <p> |
175 | 175 | <code><b>ID</b></code> |
176 | 176 | <br> |
@@ -202,7 +202,7 @@ <h2>Delete a Specific Kitten</h2> |
202 | 202 | <p>This endpoint deletes a specific kitten.</p> |
203 | 203 | <h3>HTTP Request</h3> |
204 | 204 | <p><small class="badge badge-red">DELETE</small> <strong><code>http://example.com/kittens/<ID></code></strong></p> |
205 | | -<h3>URL Parameters</h3> |
| 205 | +<h4 class="fancy-heading-panel"><b>URL Parameters</b></h4> |
206 | 206 | <p> |
207 | 207 | <code><b>ID</b></code> |
208 | 208 | <br> |
|
0 commit comments