From 92eeb8d749740ef4d6500dc59968e9310528eb02 Mon Sep 17 00:00:00 2001 From: YuLong Yao Date: Thu, 18 May 2023 17:29:46 +0800 Subject: [PATCH] Readme: add guiUndo action --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 4785900..19a008b 100644 --- a/README.md +++ b/README.md @@ -1469,6 +1469,32 @@ corresponding to when the API was available for use. ``` +#### `guiUndo` + +* Undo the last action / card; returns `true` if succeeded or `false` otherwise. + +
+ Sample request: + + ```json + { + "action": "guiUndo", + "version": 6 + } + ``` +
+ +
+ Sample result: + + ```json + { + "result": true, + "error": null + } + ``` +
+ #### `guiDeckOverview` * Opens the *Deck Overview* dialog for the deck with the given name; returns `true` if succeeded or `false` otherwise.