From ff9dc0ad5aa9b79fb63164c6e43309751c7c4ce3 Mon Sep 17 00:00:00 2001 From: "Sky \"g3ner1c\" Hong" Date: Thu, 1 Dec 2022 16:57:55 -0500 Subject: [PATCH] add api/query to documentation and fixed incorrect parameter name --- .vscode/settings.json | 5 ++- client/api-info.html | 86 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 89 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 2185be716..c927ed558 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,5 +3,8 @@ "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, - "eslint.validate": ["javascript"] + "eslint.validate": ["javascript"], + "[html]": { + "editor.rulers": [120] + } } diff --git a/client/api-info.html b/client/api-info.html index 0a6166790..f995661a5 100644 --- a/client/api-info.html +++ b/client/api-info.html @@ -165,12 +165,96 @@ +
  • +
    POST qbreader.org/api/query
    +
    Parameters:
    + +
  • POST qbreader.org/api/random-question
    Parameters: