Added MeshCentral Router link customization.

This commit is contained in:
Ylian Saint-Hilaire
2021-02-24 17:48:03 -08:00
parent c0efcbb1e1
commit 9b7a5d8ffc
5 changed files with 1671 additions and 1611 deletions

View File

@@ -224,6 +224,33 @@
"additionalProperties": false,
"required": [ "name", "url" ]
},
"deviceMeshRouterLinks": {
"rdp": { "type": "boolean", "default": true, "description": "Display a RDP link in the device tab when supported." },
"ssh": { "type": "boolean", "default": true, "description": "Display a SSH link in the device tab when supported." },
"scp": { "type": "boolean", "default": true, "description": "Display a SCP link in the device tab when supported." },
"extralinks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [ "name", "protocol", "port" ],
"properties": {
"name": {
"description": "Name os the link to be displayed on the web site.",
"type": "string"
},
"protocol": {
"description": "Protocol. Valid values are: custom,http,https,rdp,ssh,scp.",
"type": "string"
},
"port": {
"description": "The port on the remote device.",
"type": "number"
}
}
}
}
},
"certUrl": {
"type": "string",
"format": "uri",