From 379ac7695f6dc7859b98f3c38e7f2eb7a11b9e61 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 7 Jun 2016 17:56:29 +0200 Subject: doc: Fix some tables rendering incorrectly on github Signed-off-by: Florian Pritz --- doc/api.md | 30 +++++++++++++++--------------- doc/api/file.md | 7 +++---- 2 files changed, 18 insertions(+), 19 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3-24-g4f1b