From 9fcef4d07722625539868c4f422001ef0de0b7cb Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 19 Feb 2017 15:05:17 -0800 Subject: [PATCH] Updating README.md --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5fff015..328709b 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ The following actions are currently supported: **Sample response**: ``` - 1 + 2 ``` * `deckNames` @@ -279,6 +279,25 @@ The following actions are currently supported: ] ``` +* `upgrade` + + Displays a confirmation dialog box in Anki asking the user if they wish to upgrade AnkiConnect to the latest version + from the project's [master branch](https://raw.githubusercontent.com/FooSoft/anki-connect/master/AnkiConnect.py) on + GitHub. Returns a boolean value indicating if the plugin was upgraded or not. + + **Sample request**: + ``` + { + action: 'upgrade', + params: {} + } + ``` + + **Sample response**: + ``` + true + ``` + ## License ## GPL