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:
parent
ae837a762f
commit
a1844cdf44
2
doc/API
2
doc/API
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user