diff options
-rw-r--r-- | doc/api.md | 30 | ||||
-rw-r--r-- | doc/api/file.md | 7 |
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 |