From d8260bfbfc95e33e4efceabcc4e7382eb340fba6 Mon Sep 17 00:00:00 2001 From: George Keishing Date: Wed, 24 Jan 2018 01:02:26 -0600 Subject: Update REST-cheatsheet.md documentation Added: - Deleting dump entries. Change-Id: I316f63967fa9a6d833a93e9e3a562960a60412f8 Signed-off-by: George Keishing --- REST-cheatsheet.md | 6 ++++++ 1 file changed, 6 insertions(+) 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/ + $ 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 -- cgit v1.2.3