Skip to content

Commit

Permalink
Align table md for easier reading
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Mar 8, 2022
1 parent 2bef032 commit eefa74e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions source/includes/_errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ The Kittn API uses the following error codes:

Error Code | Meaning
---------- | -------
400 | Bad Request -- The request could not be understood by the server due to malformed syntax.
401 | Unauthorized -- Your API key is wrong.
403 | Forbidden -- The kitten requested is hidden for administrators only.
404 | Not Found -- The specified kitten could not be found.
405 | Method Not Allowed -- You tried to access a kitten with an invalid method.
406 | Not Acceptable -- You requested a format that isn't JSON.
410 | Gone -- The kitten requested has been removed from our servers.
418 | I'm a teapot.
429 | Too Many Requests -- You're requesting too many kittens! Slow down!
500 | Internal Server Error -- We had a problem with our server. Try again later.
503 | Service Unavailable -- We're temporarily offline for maintenance. Please try again later.
400 | Bad Request -- The request could not be understood by the server due to malformed syntax.
401 | Unauthorized -- Your API key is wrong.
403 | Forbidden -- The kitten requested is hidden for administrators only.
404 | Not Found -- The specified kitten could not be found.
405 | Method Not Allowed -- You tried to access a kitten with an invalid method.
406 | Not Acceptable -- You requested a format that isn't JSON.
410 | Gone -- The kitten requested has been removed from our servers.
418 | I'm a teapot.
429 | Too Many Requests -- You're requesting too many kittens! Slow down!
500 | Internal Server Error -- We had a problem with our server. Try again later.
503 | Service Unavailable -- We're temporarily offline for maintenance. Please try again later.
10 changes: 5 additions & 5 deletions source/includes/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ This endpoint retrieves all kittens.

### Query Parameters

Parameter | Default | Description
--------- | ------- | -----------
include_cats | false | If set to true, the result will also include cats.
available | true | If set to false, the result will include kittens that have already been adopted.
Parameter | Default | Description
------------ | ------- | -----------
include_cats | false | If set to true, the result will also include cats.
available | true | If set to false, the result will include kittens that have already been adopted.

<aside class=success>
Remember — a happy kitten is an authenticated kitten!
Expand Down Expand Up @@ -168,4 +168,4 @@ Inside HTML code blocks like this one, you can't use Markdown, so use <code>&lt;

Parameter | Description
--------- | -----------
ID | The ID of the kitten to retrieve
ID | The ID of the kitten to retrieve

0 comments on commit eefa74e

Please sign in to comment.