diff options
| author | Ken <kenny@madgloryint.com> | 2017-11-01 13:27:17 -0400 |
|---|---|---|
| committer | Ken <kenny@madgloryint.com> | 2017-11-01 13:27:17 -0400 |
| commit | 1385a3cefc7312a3f18e8d78a854411b53c75e67 (patch) | |
| tree | f27292fc20215f68c25ab09830947da56fb732a9 /en/errors.md | |
| parent | 0f19a09673be2bb79426e21a6460d5095f43287a (diff) | |
| download | vainglory-docs-1385a3cefc7312a3f18e8d78a854411b53c75e67.tar.gz vainglory-docs-1385a3cefc7312a3f18e8d78a854411b53c75e67.zip | |
Initial commit of the new logs.
Diffstat (limited to 'en/errors.md')
| -rw-r--r-- | en/errors.md | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/en/errors.md b/en/errors.md deleted file mode 100644 index a23e0dd..0000000 --- a/en/errors.md +++ /dev/null @@ -1,27 +0,0 @@ -# Errors - -The server will stop processing if a problem is encountered and return the correct -HTTP error status code. Errors may additionally include error objects, which are -returned as an array keyed by `errors` in the top level of a JSON API document. - -An error objects have the following members: - -* `title`: (Required) the HTTP status code applicable to this problem, expressed as a - string value. -* `description`: (Optional) a short summary of the problem - -The Server uses the following error codes: - -Error Code | Meaning ----------- | ------- -400 | Bad Request -- Your request sucks -401 | Unauthorized -- Your API key is wrong -403 | Forbidden -- The object requested is hidden for administrators only -404 | Not Found -- The specified object could not be found -405 | Method Not Allowed -- You tried to access a object with an invalid method -406 | Not Acceptable -- You requested a format that isn't JSON -410 | Gone -- The object requested has been removed from our servers -418 | I'm a teapot -429 | Too Many Requests -- You're requesting too much data! 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. |
