mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
8e8c21fa3b
* - 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
24 lines
375 B
JSON
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
|
|
}
|