hyperion.ng/libsrc/api/JSONRPC_schema/schema-config.json
LordGrey 5cb3076698
Config refactoring fixes (#1799)
* Correct JS requestConfig call

* Update requestWriteConfig to new API format

* Add hyperion-light and bare-minimum preset scenarios
2024-11-15 15:03:33 +01:00

51 lines
866 B
JSON

{
"type":"object",
"required":true,
"properties":{
"command": {
"type" : "string",
"required" : true,
"enum" : ["config"]
},
"subcommand": {
"type" : "string",
"required" : true,
"enum" : ["getconfig","getconfig-old","getschema","setconfig","restoreconfig","reload"]
},
"tan" : {
"type" : "integer"
},
"configFilter": {
"global" : {
"types": {
"type": "array",
"required": false,
"items" : {
"type" : "string"
}
}
},
"instances" : {
"ids" : {
"type": "array",
"required": true,
"items" : {},
"minItems": 1
},
"types": {
"type": "array",
"required": false,
"items" :{
"type" : "string"
}
}
}
},
"config": {
"required": false,
"$ref": "schema-settings-full-relaxed.json"
}
},
"additionalProperties": false
}