hyperion.ng/libsrc/jsonserver/schema/schema-config.json
redPanther 8e8c21fa3b add command for getting schema via json api (#179)
* - update coding style
- add command for getting schema via json api
- json api: merge config commands into one single "config" command with subcommands

* make setconfig work
2016-08-15 22:32:01 +02:00

24 lines
375 B
JSON

{
"type":"object",
"required":true,
"properties":{
"command": {
"type" : "string",
"required" : true,
"enum" : ["config"]
},
"subcommand": {
"type" : "string",
"required" : true,
"enum" : ["getconfig","setconfig","getschema"]
},
"config": {
"type" : "object"
},
"create": {
"type" : "boolean"
}
},
"additionalProperties": false
}