From 1448c8d43f5a03a87c211c46a6433413a98b881f Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 5 Jan 2019 19:51:38 -0800 Subject: [PATCH] Updating README.md --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 685ac4a..27f6309 100644 --- a/README.md +++ b/README.md @@ -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).