Skip to content

Commit a9fed48

Browse files
Michael KechinovMichael Kechinov
Michael Kechinov
authored and
Michael Kechinov
committed
errors fix
1 parent 22544df commit a9fed48

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

source/includes/_errors.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
# Errors
22

3-
<aside class="notice">
4-
This error section is stored in a separate file in <code>includes/_errors.md</code>. Slate allows you to optionally separate out your docs into many files...just save them to the <code>includes</code> folder and add them to the top of your <code>index.md</code>'s frontmatter. Files are included in the order listed.
5-
</aside>
63

7-
The Kittn API uses the following error codes:
4+
The REES46 API uses the following error codes:
85

96

107
Error Code | Meaning
118
---------- | -------
129
400 | Bad Request -- Your request is invalid.
1310
401 | Unauthorized -- Your API key is wrong.
14-
403 | Forbidden -- The kitten requested is hidden for administrators only.
15-
404 | Not Found -- The specified kitten could not be found.
16-
405 | Method Not Allowed -- You tried to access a kitten with an invalid method.
11+
403 | Forbidden -- The method is for internal use only or you don't have secret key to access it.
12+
404 | Not Found -- The specified object could not be found.
13+
405 | Method Not Allowed -- You tried to access with an invalid method.
1714
406 | Not Acceptable -- You requested a format that isn't json.
18-
410 | Gone -- The kitten requested has been removed from our servers.
19-
418 | I'm a teapot.
20-
429 | Too Many Requests -- You're requesting too many kittens! Slow down!
15+
429 | Too Many Requests -- You're sending too many requests.
2116
500 | Internal Server Error -- We had a problem with our server. Try again later.
2217
503 | Service Unavailable -- We're temporarily offline for maintenance. Please try again later.

source/index.html.md

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ This parameter identifies your shop.
3535
curl "https://api.rees46.com/?shop_id=357382bf66ac0ce2f1722677c59511"
3636
```
3737

38-
Make sure to replace `357382bf66ac0ce2f1722677c59511` with your API key.
39-
4038
<aside class="notice">
4139
You must replace <code>357382bf66ac0ce2f1722677c59511</code> with your shop's API key.
4240
</aside>

0 commit comments

Comments
 (0)