schemas/dashboardPost.json in losant_rest-1.19.0 vs schemas/dashboardPost.json in losant_rest-1.19.1
- old
+ new
@@ -2394,10 +2394,14 @@
"type": "string",
"maxLength": 128
}
]
},
+ "yAxisId": {
+ "type": "string",
+ "maxLength": 48
+ },
"lineType": {
"type": "string",
"enum": [
"monotone",
"step",
@@ -2447,10 +2451,66 @@
}
}
},
"additionalProperties": false
}
+ },
+ "yAxes": {
+ "type": "array",
+ "maxItems": 10,
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "maxLength": 48
+ },
+ "label": {
+ "type": "string",
+ "maxLength": 255
+ },
+ "position": {
+ "type": "string",
+ "enum": [
+ "left",
+ "right",
+ "hidden"
+ ],
+ "default": "left"
+ },
+ "min": {
+ "oneOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string",
+ "maxLength": 128
+ }
+ ]
+ },
+ "max": {
+ "oneOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string",
+ "maxLength": 128
+ }
+ ]
+ },
+ "format": {
+ "type": "string",
+ "maxLength": 255
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id"
+ ]
+ }
}
},
"additionalProperties": false
}
},
@@ -2817,10 +2877,13 @@
"maxLength": 64
},
"defaultZoom": {
"type": "number"
},
+ "disableZoom": {
+ "type": "boolean"
+ },
"segments": {
"type": "array",
"maxItems": 300,
"items": {
"oneOf": [
@@ -5383,9 +5446,12 @@
{
"type": "string",
"maxLength": 128
}
]
+ },
+ "disableZoom": {
+ "type": "boolean"
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
\ No newline at end of file