diff options
author | George Keishing <gkeishin@in.ibm.com> | 2018-01-24 01:02:26 -0600 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-01-27 19:07:18 +0000 |
commit | d8260bfbfc95e33e4efceabcc4e7382eb340fba6 (patch) | |
tree | 44435de85116cad83d2d916b11ee27f08d7c79cf | |
parent | 76d8f7f7fbc3bde7423e8f8ad4ba12213c739996 (diff) | |
download | openbmc-docs-d8260bfbfc95e33e4efceabcc4e7382eb340fba6.tar.gz openbmc-docs-d8260bfbfc95e33e4efceabcc4e7382eb340fba6.zip |
Update REST-cheatsheet.md documentation
Added:
- Deleting dump entries.
Change-Id: I316f63967fa9a6d833a93e9e3a562960a60412f8
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
-rw-r--r-- | REST-cheatsheet.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/REST-cheatsheet.md b/REST-cheatsheet.md index 97e43d9..61aa7b3 100644 --- a/REST-cheatsheet.md +++ b/REST-cheatsheet.md @@ -52,6 +52,12 @@ This document is intended to provide a set of REST client commands for OpenBMC u $ curl -b cjar -k -H 'Content-Type: application/json' -X POST -d '{"data":[]}' https://${bmc}/xyz/openbmc_project/logging/action/DeleteAll ``` +* Delete dump entries: + ``` + $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X DELETE https://${bmc}/xyz/openbmc_project/dump/entry/<entry_id> + $ curl -b cjar -k -H 'Content-Type: application/json' -X POST -d '{"data":[]}' https://${bmc}/xyz/openbmc_project/dump/action/DeleteAll + ``` + * Clear gard records: ``` $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST -d '{"data":[]}' https://${bmc}/org/open_power/control/gard/action/Reset |