Readme: add guiUndo action

This commit is contained in:
YuLong Yao 2023-05-18 17:29:46 +08:00
parent 08e5a34d6c
commit 92eeb8d749
No known key found for this signature in database
GPG Key ID: FF6CE608CD728420

View File

@ -1469,6 +1469,32 @@ corresponding to when the API was available for use.
``` ```
</details> </details>
#### `guiUndo`
* Undo the last action / card; returns `true` if succeeded or `false` otherwise.
<details>
<summary><i>Sample request:</i></summary>
```json
{
"action": "guiUndo",
"version": 6
}
```
</details>
<details>
<summary><i>Sample result:</i></summary>
```json
{
"result": true,
"error": null
}
```
</details>
#### `guiDeckOverview` #### `guiDeckOverview`
* Opens the *Deck Overview* dialog for the deck with the given name; returns `true` if succeeded or `false` otherwise. * Opens the *Deck Overview* dialog for the deck with the given name; returns `true` if succeeded or `false` otherwise.