1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-30 08:24:26 +00:00

API-README correct new text format documentation

This commit is contained in:
Kano 2014-01-29 11:48:39 +11:00 committed by Noel Maersk
parent ae837a762f
commit a1844cdf44

View File

@ -118,7 +118,7 @@ and is not available for commands that change anything
Any parameters supplied will be ignored Any parameters supplied will be ignored
The extra formatting of the result is to have a section for each command 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 With JSON, each result is within a section of the command name
e.g. {"summary":{"STATUS":[{"STATUS":"S"...}],"SUMMARY":[...],"id":1}, e.g. {"summary":{"STATUS":[{"STATUS":"S"...}],"SUMMARY":[...],"id":1},
"devs":{"STATUS":[{"STATUS:"S"...}],"DEVS":[...],"id":1},"id":1} "devs":{"STATUS":[{"STATUS:"S"...}],"DEVS":[...],"id":1},"id":1}