mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	* Correct JS requestConfig call * Update requestWriteConfig to new API format * Add hyperion-light and bare-minimum preset scenarios
		
			
				
	
	
		
			51 lines
		
	
	
		
			866 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			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
 | 
						|
}
 |