mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Update Json Interface (return config file) (#144)
* Add handleConfigGetCommand Function * Add handleConfigGetCommand Function * Add schema-configget.json * Add configget * Add new JSON file schema-configget.json * add --configget command to hyperion-remote * Add getConfigFile function * Add getConfigFile function
This commit is contained in:
committed by
redPanther
parent
722d4eb357
commit
0e2f0127fd
12
libsrc/jsonserver/schema/schema-configget.json
Normal file
12
libsrc/jsonserver/schema/schema-configget.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"type":"object",
|
||||
"required":true,
|
||||
"properties":{
|
||||
"command": {
|
||||
"type" : "string",
|
||||
"required" : true,
|
||||
"enum" : ["configget"]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
@@ -5,7 +5,7 @@
|
||||
"command": {
|
||||
"type" : "string",
|
||||
"required" : true,
|
||||
"enum" : ["color", "image", "effect", "serverinfo", "clear", "clearall", "transform", "correction", "temperature", "adjustment", "sourceselect"]
|
||||
"enum" : ["color", "image", "effect", "serverinfo", "clear", "clearall", "transform", "correction", "temperature", "adjustment", "sourceselect", "configget"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user