Updating README.md

This commit is contained in:
Alex Yatskov 2019-01-05 19:51:38 -08:00
parent 4a57c7aabe
commit 1448c8d43f

View File

@ -49,7 +49,6 @@ foreground, App Nap should be disabled for Anki:
1. Start the Terminal application.
2. Execute the following commands in the terminal window:
```
defaults write net.ichi2.anki NSAppSleepDisabled -bool true
defaults write org.qt-project.Qt.QtWebEngineCore NSAppSleepDisabled -bool true
@ -213,6 +212,29 @@ guarantee that your application continues to function properly in the future.
}
```
* **loadProfile**
Selects the profile specified in request.
*Sample request*:
```json
{
"action": "loadProfile",
"params": {
"name": "user1"
},
"version": 6
}
```
*Sample result*:
```json
{
"result": true,
"error": null
}
```
* **multi**
Performs multiple actions in one request, returning an array with the response of each action (in the given order).