Updating README.md
This commit is contained in:
parent
4dac6596cc
commit
9fcef4d077
21
README.md
21
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
|
||||
|
Loading…
Reference in New Issue
Block a user