mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Backwards compatibility ensured
This commit is contained in:
15
libsrc/api/JSONRPC_schema/schema-clearall.json
Normal file
15
libsrc/api/JSONRPC_schema/schema-clearall.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type":"object",
|
||||
"required":true,
|
||||
"properties":{
|
||||
"command": {
|
||||
"type" : "string",
|
||||
"required" : true,
|
||||
"enum" : ["clearall"]
|
||||
},
|
||||
"tan" : {
|
||||
"type" : "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
@@ -24,7 +24,7 @@
|
||||
"type": "string",
|
||||
"minLength" : 4,
|
||||
"maxLength" : 20,
|
||||
"required": true
|
||||
"required": false
|
||||
},
|
||||
"color": {
|
||||
"type": "array",
|
||||
|
@@ -24,7 +24,7 @@
|
||||
"type": "string",
|
||||
"minLength" : 4,
|
||||
"maxLength" : 20,
|
||||
"required": true
|
||||
"required": false
|
||||
},
|
||||
"effect": {
|
||||
"type": "object",
|
||||
|
12
libsrc/api/JSONRPC_schema/schema-hyperion-classic.json
Normal file
12
libsrc/api/JSONRPC_schema/schema-hyperion-classic.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"type":"object",
|
||||
"required":true,
|
||||
"properties":{
|
||||
"command": {
|
||||
"title" : "This schema is used to ensure backward compatibility with hyperion classic",
|
||||
"type" : "string",
|
||||
"required" : false
|
||||
}
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
@@ -5,7 +5,7 @@
|
||||
"command": {
|
||||
"type" : "string",
|
||||
"required" : true,
|
||||
"enum" : ["color", "image", "effect", "create-effect", "delete-effect", "serverinfo", "clear", "clearall", "adjustment", "sourceselect", "config", "componentstate", "ledcolors", "logging", "processing", "sysinfo", "videomode"]
|
||||
"enum" : ["color", "image", "effect", "create-effect", "delete-effect", "serverinfo", "clear", "clearall", "adjustment", "sourceselect", "config", "componentstate", "ledcolors", "logging", "processing", "sysinfo", "videomode", "transform", "correction" , "temperature"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user