From a1844cdf442f0be135c4f2c2e605fef6e30116a9 Mon Sep 17 00:00:00 2001 From: Kano Date: Wed, 29 Jan 2014 11:48:39 +1100 Subject: [PATCH] API-README correct new text format documentation --- doc/API | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/API b/doc/API index ae7587d0..c39f6385 100644 --- a/doc/API +++ b/doc/API @@ -118,7 +118,7 @@ and is not available for commands that change anything Any parameters supplied will be ignored The extra formatting of the result is to have a section for each command -e.g. summary|STATUS=....|devs|STATUS=... +e.g. CMD=summary|STATUS=....|CMD=devs|STATUS=... With JSON, each result is within a section of the command name e.g. {"summary":{"STATUS":[{"STATUS":"S"...}],"SUMMARY":[...],"id":1}, "devs":{"STATUS":[{"STATUS:"S"...}],"DEVS":[...],"id":1},"id":1}