summaryrefslogtreecommitdiffstats
path: root/doc/api.md
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-06-07 17:56:29 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-06-07 17:56:29 +0200
commit379ac7695f6dc7859b98f3c38e7f2eb7a11b9e61 (patch)
tree37bac19d608518b07da90a27e98822de533440e8 /doc/api.md
parent8b1c76e79716eca64b8221d8659789ddeba7c09d (diff)
doc: Fix some tables rendering incorrectly on github
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'doc/api.md')
-rw-r--r--doc/api.md30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/api.md b/doc/api.md
index 7ac67705d..d781346eb 100644
--- a/doc/api.md
+++ b/doc/api.md
@@ -48,11 +48,11 @@ changed without notice.
An api key can have one of the following access levels. Levels further down in
the table include those above themselves.
- | access-level | Comment |
- | ------------ | ------- |
- | basic | Allows only uploading of files |
- | apikey | Allows to delete uploads and view the history |
- | full | Allows everything |
+| access-level | Comment |
+| ------------ | ------- |
+| basic | Allows only uploading of files |
+| apikey | Allows to delete uploads and view the history |
+| full | Allows everything |
## General response structure
@@ -82,16 +82,16 @@ responseError = {
These are the most common errors that can be returned by any API call.
- | error_id | Message | Note |
- | -------- | ------- | ---- |
- | api/invalid-version | Invalid API version requested | Failed syntax check |
- | api/invalid-endpoint | Invalid endpoint requested | Failed syntax check |
- | api/version-not-supported | Requested API version is not supported | |
- | api/unknown-endpoint | Unknown endpoint requested | Likely a typo in your URL |
- | internal-error | An unhandled internal server error occured | |
- | user/api-login-failed | API key login failed | |
- | api/insufficient-permissions | Access denied: Access level too low | |
- | api/not-authenticated | Not authenticated | Likely no apikey was sent |
+| error_id | Message | Note |
+| -------- | ------- | ---- |
+| api/invalid-version | Invalid API version requested | Failed syntax check |
+| api/invalid-endpoint | Invalid endpoint requested | Failed syntax check |
+| api/version-not-supported | Requested API version is not supported | |
+| api/unknown-endpoint | Unknown endpoint requested | Likely a typo in your URL |
+| internal-error | An unhandled internal server error occured | |
+| user/api-login-failed | API key login failed | |
+| api/insufficient-permissions | Access denied: Access level too low | |
+| api/not-authenticated | Not authenticated | Likely no apikey was sent |
## Endpoints