summaryrefslogtreecommitdiffstats
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
parent8b1c76e79716eca64b8221d8659789ddeba7c09d (diff)
doc: Fix some tables rendering incorrectly on github
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--doc/api.md30
-rw-r--r--doc/api/file.md7
2 files changed, 18 insertions, 19 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
diff --git a/doc/api/file.md b/doc/api/file.md
index 6f5489511..55dd6e0bf 100644
--- a/doc/api/file.md
+++ b/doc/api/file.md
@@ -38,10 +38,9 @@ Example:
}
```
-
- | Version | Change |
- | ------- | ------ |
- | 1.4.0 | Add data.{max_input_vars,request_max_size} |
+| Version | Change |
+| ------- | ------ |
+| 1.4.0 | Add data.{max_input_vars,request_max_size} |
### file/upload