From e79c0ddf1810aa02d75e0a792125bc134ea302c6 Mon Sep 17 00:00:00 2001 From: Nicolas Hennion Date: Sat, 4 Jun 2016 22:49:54 +0200 Subject: [PATCH] Updated The Glances RESTFULL JSON API (markdown) --- The-Glances-RESTFULL-JSON-API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/The-Glances-RESTFULL-JSON-API.md b/The-Glances-RESTFULL-JSON-API.md index be94774..3611422 100644 --- a/The-Glances-RESTFULL-JSON-API.md +++ b/The-Glances-RESTFULL-JSON-API.md @@ -164,7 +164,7 @@ Request response: * 200 - application/json: dict of list of tuple (timestamp, value) * 404 - Returned if the property does not exist -Example: _/api/2/cpu_ +Example: _/api/2/cpu/history_ ``` {"user": [["2016-06-02T17:44:48.754493", 23.3], ["2016-06-02T17:45:03.046595", 2.2], ["2016-06-02T17:45:05.582539", 5.0], ["2016-06-02T17:45:23.093514", 3.2]], "system": [["2016-06-02T17:44:48.754515", 4.0], ["2016-06-02T17:45:03.046611", 0.8], ["2016-06-02T17:45:05.582556", 2.2], ["2016-06-02T17:45:23.093532", 0.7]]} @@ -188,7 +188,7 @@ Request response: * 200 - application/json: dict of list of tuple (timestamp, value) * 404 - Returned if the property does not exist -Example: _/api/2/cpu/2_ +Example: _/api/2/cpu/history/2_ ``` {"user": [["2016-06-02T17:45:23.093514", 3.2], ["2016-06-02T17:47:06.390767", 2.1]], "system": [["2016-06-02T17:45:23.093532", 0.7], ["2016-06-02T17:47:06.390786", 0.2]]}