losant_rest 1.9.2 → 1.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/_schemas.md +38445 -24043
- data/docs/application.md +124 -2
- data/docs/applicationTemplates.md +50 -0
- data/docs/auth.md +72 -0
- data/docs/device.md +1 -0
- data/docs/devices.md +92 -3
- data/docs/experienceEndpoints.md +1 -0
- data/docs/file.md +4 -4
- data/docs/flow.md +94 -1
- data/docs/flowVersion.md +96 -1
- data/lib/losant_rest.rb +1 -0
- data/lib/losant_rest/application.rb +93 -2
- data/lib/losant_rest/application_templates.rb +88 -0
- data/lib/losant_rest/auth.rb +84 -0
- data/lib/losant_rest/client.rb +6 -2
- data/lib/losant_rest/device.rb +2 -0
- data/lib/losant_rest/devices.rb +105 -2
- data/lib/losant_rest/experience_endpoints.rb +2 -0
- data/lib/losant_rest/file.rb +3 -3
- data/lib/losant_rest/flow.rb +115 -1
- data/lib/losant_rest/flow_version.rb +115 -1
- data/lib/losant_rest/version.rb +2 -2
- data/schemas/advancedDeviceQuery.json +1018 -0
- data/schemas/advancedEventQuery.json +382 -13
- data/schemas/advancedQuery.json +37 -3
- data/schemas/application.json +7 -2
- data/schemas/applicationApiTokenPost.json +8 -1
- data/schemas/applicationCreationByTemplateResult.json +7 -2
- data/schemas/applicationPatch.json +7 -2
- data/schemas/applicationPost.json +11 -2
- data/schemas/applicationReadme.json +29 -0
- data/schemas/applicationReadmePatch.json +11 -0
- data/schemas/applicationTemplate.json +99 -0
- data/schemas/applicationTemplates.json +140 -0
- data/schemas/applications.json +7 -2
- data/schemas/dashboard.json +1168 -144
- data/schemas/dashboardPatch.json +1168 -144
- data/schemas/dashboardPost.json +1168 -144
- data/schemas/dashboards.json +1168 -144
- data/schemas/dataExport.json +11 -0
- data/schemas/dataTableRows.json +3 -0
- data/schemas/dataTableRowsExport.json +37 -3
- data/schemas/device.json +16 -3
- data/schemas/devicePatch.json +16 -3
- data/schemas/devicePost.json +16 -3
- data/schemas/deviceRecipe.json +16 -3
- data/schemas/deviceRecipePatch.json +16 -3
- data/schemas/deviceRecipePost.json +16 -3
- data/schemas/deviceRecipes.json +16 -3
- data/schemas/devices.json +19 -3
- data/schemas/devicesDataRemoved.json +12 -0
- data/schemas/devicesDeletePost.json +1034 -0
- data/schemas/devicesDeleted.json +12 -0
- data/schemas/devicesExportPost.json +1035 -0
- data/schemas/devicesPatch.json +1773 -7
- data/schemas/devicesRemoveDataPost.json +1056 -0
- data/schemas/devicesUpdated.json +18 -0
- data/schemas/eventPost.json +22 -0
- data/schemas/events.json +1 -816
- data/schemas/eventsExport.json +382 -13
- data/schemas/experienceDomain.json +1 -1
- data/schemas/experienceDomainPatch.json +1 -1
- data/schemas/experienceDomainPost.json +1 -1
- data/schemas/experienceDomains.json +1 -1
- data/schemas/experienceGroup.json +7 -0
- data/schemas/experienceGroupPatch.json +7 -0
- data/schemas/experienceGroupPost.json +7 -0
- data/schemas/experienceGroups.json +7 -0
- data/schemas/experienceLinkedResources.json +309 -3
- data/schemas/experienceVersion.json +1 -1
- data/schemas/experienceVersions.json +1 -1
- data/schemas/flow.json +103 -1
- data/schemas/flowErrors.json +87 -0
- data/schemas/flowPatch.json +103 -1
- data/schemas/flowPost.json +103 -1
- data/schemas/flowStats.json +54 -0
- data/schemas/flowVersion.json +206 -2
- data/schemas/flowVersionPost.json +103 -1
- data/schemas/flowVersions.json +206 -2
- data/schemas/flows.json +103 -1
- data/schemas/flowsImportPost.json +206 -2
- data/schemas/flowsImportResult.json +309 -3
- data/schemas/githubLogin.json +10 -1
- data/schemas/me.json +3 -0
- data/schemas/multiDeviceCommand.json +1019 -0
- data/schemas/notebook.json +99 -2
- data/schemas/notebookPatch.json +99 -2
- data/schemas/notebookPost.json +99 -2
- data/schemas/notebooks.json +99 -2
- data/schemas/org.json +8 -0
- data/schemas/orgPatch.json +9 -0
- data/schemas/orgs.json +8 -0
- data/schemas/samlResponse.json +21 -0
- data/schemas/ssoRequest.json +20 -0
- data/schemas/timeSeriesData.json +91 -12
- data/schemas/timeSeriesQuery.json +21 -12
- data/schemas/userCredentials.json +10 -1
- data/schemas/userPost.json +10 -1
- metadata +20 -4
data/schemas/flows.json
CHANGED
@@ -84,7 +84,6 @@
|
|
84
84
|
"deviceIdDisconnect",
|
85
85
|
"deviceTagDisconnect",
|
86
86
|
"integration",
|
87
|
-
"mqttTopic",
|
88
87
|
"notebook",
|
89
88
|
"onBoot",
|
90
89
|
"onConnect",
|
@@ -1030,6 +1029,109 @@
|
|
1030
1029
|
],
|
1031
1030
|
"additionalProperties": false
|
1032
1031
|
},
|
1032
|
+
{
|
1033
|
+
"type": "object",
|
1034
|
+
"properties": {
|
1035
|
+
"key": {
|
1036
|
+
"type": "string",
|
1037
|
+
"maxLength": 1024
|
1038
|
+
},
|
1039
|
+
"type": {
|
1040
|
+
"type": "string",
|
1041
|
+
"enum": [
|
1042
|
+
"mqttTopic"
|
1043
|
+
]
|
1044
|
+
},
|
1045
|
+
"config": {
|
1046
|
+
"type": "object",
|
1047
|
+
"properties": {
|
1048
|
+
"integrationId": {
|
1049
|
+
"type": "string",
|
1050
|
+
"enum": [
|
1051
|
+
"losant",
|
1052
|
+
"local"
|
1053
|
+
]
|
1054
|
+
}
|
1055
|
+
},
|
1056
|
+
"additionalProperties": false
|
1057
|
+
},
|
1058
|
+
"meta": {
|
1059
|
+
"type": "object",
|
1060
|
+
"properties": {
|
1061
|
+
"category": {
|
1062
|
+
"type": "string",
|
1063
|
+
"enum": [
|
1064
|
+
"trigger"
|
1065
|
+
]
|
1066
|
+
},
|
1067
|
+
"name": {
|
1068
|
+
"type": "string",
|
1069
|
+
"enum": [
|
1070
|
+
"mqtt"
|
1071
|
+
]
|
1072
|
+
},
|
1073
|
+
"label": {
|
1074
|
+
"type": "string",
|
1075
|
+
"minLength": 1,
|
1076
|
+
"maxLength": 255
|
1077
|
+
},
|
1078
|
+
"x": {
|
1079
|
+
"type": "number"
|
1080
|
+
},
|
1081
|
+
"y": {
|
1082
|
+
"type": "number"
|
1083
|
+
},
|
1084
|
+
"uiId": {
|
1085
|
+
"type": "string",
|
1086
|
+
"maxLength": 48
|
1087
|
+
},
|
1088
|
+
"description": {
|
1089
|
+
"type": "string",
|
1090
|
+
"maxLength": 32767
|
1091
|
+
},
|
1092
|
+
"icon": {
|
1093
|
+
"type": "string",
|
1094
|
+
"maxLength": 1024
|
1095
|
+
},
|
1096
|
+
"color": {
|
1097
|
+
"type": "string",
|
1098
|
+
"maxLength": 1024
|
1099
|
+
},
|
1100
|
+
"inputCount": {
|
1101
|
+
"type": "number"
|
1102
|
+
},
|
1103
|
+
"outputCount": {
|
1104
|
+
"type": "number"
|
1105
|
+
},
|
1106
|
+
"triggerId": {
|
1107
|
+
"type": "string",
|
1108
|
+
"maxLength": 48
|
1109
|
+
},
|
1110
|
+
"id": {
|
1111
|
+
"type": "string",
|
1112
|
+
"maxLength": 48
|
1113
|
+
}
|
1114
|
+
},
|
1115
|
+
"additionalProperties": false
|
1116
|
+
},
|
1117
|
+
"outputIds": {
|
1118
|
+
"type": "array",
|
1119
|
+
"items": {
|
1120
|
+
"type": "array",
|
1121
|
+
"items": {
|
1122
|
+
"type": "string",
|
1123
|
+
"maxLength": 255
|
1124
|
+
},
|
1125
|
+
"maxItems": 100
|
1126
|
+
},
|
1127
|
+
"maxItems": 100
|
1128
|
+
}
|
1129
|
+
},
|
1130
|
+
"required": [
|
1131
|
+
"type"
|
1132
|
+
],
|
1133
|
+
"additionalProperties": false
|
1134
|
+
},
|
1033
1135
|
{
|
1034
1136
|
"type": "object",
|
1035
1137
|
"properties": {
|
@@ -54,7 +54,6 @@
|
|
54
54
|
"deviceIdDisconnect",
|
55
55
|
"deviceTagDisconnect",
|
56
56
|
"integration",
|
57
|
-
"mqttTopic",
|
58
57
|
"notebook",
|
59
58
|
"onBoot",
|
60
59
|
"onConnect",
|
@@ -1000,6 +999,109 @@
|
|
1000
999
|
],
|
1001
1000
|
"additionalProperties": false
|
1002
1001
|
},
|
1002
|
+
{
|
1003
|
+
"type": "object",
|
1004
|
+
"properties": {
|
1005
|
+
"key": {
|
1006
|
+
"type": "string",
|
1007
|
+
"maxLength": 1024
|
1008
|
+
},
|
1009
|
+
"type": {
|
1010
|
+
"type": "string",
|
1011
|
+
"enum": [
|
1012
|
+
"mqttTopic"
|
1013
|
+
]
|
1014
|
+
},
|
1015
|
+
"config": {
|
1016
|
+
"type": "object",
|
1017
|
+
"properties": {
|
1018
|
+
"integrationId": {
|
1019
|
+
"type": "string",
|
1020
|
+
"enum": [
|
1021
|
+
"losant",
|
1022
|
+
"local"
|
1023
|
+
]
|
1024
|
+
}
|
1025
|
+
},
|
1026
|
+
"additionalProperties": false
|
1027
|
+
},
|
1028
|
+
"meta": {
|
1029
|
+
"type": "object",
|
1030
|
+
"properties": {
|
1031
|
+
"category": {
|
1032
|
+
"type": "string",
|
1033
|
+
"enum": [
|
1034
|
+
"trigger"
|
1035
|
+
]
|
1036
|
+
},
|
1037
|
+
"name": {
|
1038
|
+
"type": "string",
|
1039
|
+
"enum": [
|
1040
|
+
"mqtt"
|
1041
|
+
]
|
1042
|
+
},
|
1043
|
+
"label": {
|
1044
|
+
"type": "string",
|
1045
|
+
"minLength": 1,
|
1046
|
+
"maxLength": 255
|
1047
|
+
},
|
1048
|
+
"x": {
|
1049
|
+
"type": "number"
|
1050
|
+
},
|
1051
|
+
"y": {
|
1052
|
+
"type": "number"
|
1053
|
+
},
|
1054
|
+
"uiId": {
|
1055
|
+
"type": "string",
|
1056
|
+
"maxLength": 48
|
1057
|
+
},
|
1058
|
+
"description": {
|
1059
|
+
"type": "string",
|
1060
|
+
"maxLength": 32767
|
1061
|
+
},
|
1062
|
+
"icon": {
|
1063
|
+
"type": "string",
|
1064
|
+
"maxLength": 1024
|
1065
|
+
},
|
1066
|
+
"color": {
|
1067
|
+
"type": "string",
|
1068
|
+
"maxLength": 1024
|
1069
|
+
},
|
1070
|
+
"inputCount": {
|
1071
|
+
"type": "number"
|
1072
|
+
},
|
1073
|
+
"outputCount": {
|
1074
|
+
"type": "number"
|
1075
|
+
},
|
1076
|
+
"triggerId": {
|
1077
|
+
"type": "string",
|
1078
|
+
"maxLength": 48
|
1079
|
+
},
|
1080
|
+
"id": {
|
1081
|
+
"type": "string",
|
1082
|
+
"maxLength": 48
|
1083
|
+
}
|
1084
|
+
},
|
1085
|
+
"additionalProperties": false
|
1086
|
+
},
|
1087
|
+
"outputIds": {
|
1088
|
+
"type": "array",
|
1089
|
+
"items": {
|
1090
|
+
"type": "array",
|
1091
|
+
"items": {
|
1092
|
+
"type": "string",
|
1093
|
+
"maxLength": 255
|
1094
|
+
},
|
1095
|
+
"maxItems": 100
|
1096
|
+
},
|
1097
|
+
"maxItems": 100
|
1098
|
+
}
|
1099
|
+
},
|
1100
|
+
"required": [
|
1101
|
+
"type"
|
1102
|
+
],
|
1103
|
+
"additionalProperties": false
|
1104
|
+
},
|
1003
1105
|
{
|
1004
1106
|
"type": "object",
|
1005
1107
|
"properties": {
|
@@ -2099,7 +2201,6 @@
|
|
2099
2201
|
"deviceIdDisconnect",
|
2100
2202
|
"deviceTagDisconnect",
|
2101
2203
|
"integration",
|
2102
|
-
"mqttTopic",
|
2103
2204
|
"notebook",
|
2104
2205
|
"onBoot",
|
2105
2206
|
"onConnect",
|
@@ -3045,6 +3146,109 @@
|
|
3045
3146
|
],
|
3046
3147
|
"additionalProperties": false
|
3047
3148
|
},
|
3149
|
+
{
|
3150
|
+
"type": "object",
|
3151
|
+
"properties": {
|
3152
|
+
"key": {
|
3153
|
+
"type": "string",
|
3154
|
+
"maxLength": 1024
|
3155
|
+
},
|
3156
|
+
"type": {
|
3157
|
+
"type": "string",
|
3158
|
+
"enum": [
|
3159
|
+
"mqttTopic"
|
3160
|
+
]
|
3161
|
+
},
|
3162
|
+
"config": {
|
3163
|
+
"type": "object",
|
3164
|
+
"properties": {
|
3165
|
+
"integrationId": {
|
3166
|
+
"type": "string",
|
3167
|
+
"enum": [
|
3168
|
+
"losant",
|
3169
|
+
"local"
|
3170
|
+
]
|
3171
|
+
}
|
3172
|
+
},
|
3173
|
+
"additionalProperties": false
|
3174
|
+
},
|
3175
|
+
"meta": {
|
3176
|
+
"type": "object",
|
3177
|
+
"properties": {
|
3178
|
+
"category": {
|
3179
|
+
"type": "string",
|
3180
|
+
"enum": [
|
3181
|
+
"trigger"
|
3182
|
+
]
|
3183
|
+
},
|
3184
|
+
"name": {
|
3185
|
+
"type": "string",
|
3186
|
+
"enum": [
|
3187
|
+
"mqtt"
|
3188
|
+
]
|
3189
|
+
},
|
3190
|
+
"label": {
|
3191
|
+
"type": "string",
|
3192
|
+
"minLength": 1,
|
3193
|
+
"maxLength": 255
|
3194
|
+
},
|
3195
|
+
"x": {
|
3196
|
+
"type": "number"
|
3197
|
+
},
|
3198
|
+
"y": {
|
3199
|
+
"type": "number"
|
3200
|
+
},
|
3201
|
+
"uiId": {
|
3202
|
+
"type": "string",
|
3203
|
+
"maxLength": 48
|
3204
|
+
},
|
3205
|
+
"description": {
|
3206
|
+
"type": "string",
|
3207
|
+
"maxLength": 32767
|
3208
|
+
},
|
3209
|
+
"icon": {
|
3210
|
+
"type": "string",
|
3211
|
+
"maxLength": 1024
|
3212
|
+
},
|
3213
|
+
"color": {
|
3214
|
+
"type": "string",
|
3215
|
+
"maxLength": 1024
|
3216
|
+
},
|
3217
|
+
"inputCount": {
|
3218
|
+
"type": "number"
|
3219
|
+
},
|
3220
|
+
"outputCount": {
|
3221
|
+
"type": "number"
|
3222
|
+
},
|
3223
|
+
"triggerId": {
|
3224
|
+
"type": "string",
|
3225
|
+
"maxLength": 48
|
3226
|
+
},
|
3227
|
+
"id": {
|
3228
|
+
"type": "string",
|
3229
|
+
"maxLength": 48
|
3230
|
+
}
|
3231
|
+
},
|
3232
|
+
"additionalProperties": false
|
3233
|
+
},
|
3234
|
+
"outputIds": {
|
3235
|
+
"type": "array",
|
3236
|
+
"items": {
|
3237
|
+
"type": "array",
|
3238
|
+
"items": {
|
3239
|
+
"type": "string",
|
3240
|
+
"maxLength": 255
|
3241
|
+
},
|
3242
|
+
"maxItems": 100
|
3243
|
+
},
|
3244
|
+
"maxItems": 100
|
3245
|
+
}
|
3246
|
+
},
|
3247
|
+
"required": [
|
3248
|
+
"type"
|
3249
|
+
],
|
3250
|
+
"additionalProperties": false
|
3251
|
+
},
|
3048
3252
|
{
|
3049
3253
|
"type": "object",
|
3050
3254
|
"properties": {
|
@@ -85,7 +85,6 @@
|
|
85
85
|
"deviceIdDisconnect",
|
86
86
|
"deviceTagDisconnect",
|
87
87
|
"integration",
|
88
|
-
"mqttTopic",
|
89
88
|
"notebook",
|
90
89
|
"onBoot",
|
91
90
|
"onConnect",
|
@@ -1031,6 +1030,109 @@
|
|
1031
1030
|
],
|
1032
1031
|
"additionalProperties": false
|
1033
1032
|
},
|
1033
|
+
{
|
1034
|
+
"type": "object",
|
1035
|
+
"properties": {
|
1036
|
+
"key": {
|
1037
|
+
"type": "string",
|
1038
|
+
"maxLength": 1024
|
1039
|
+
},
|
1040
|
+
"type": {
|
1041
|
+
"type": "string",
|
1042
|
+
"enum": [
|
1043
|
+
"mqttTopic"
|
1044
|
+
]
|
1045
|
+
},
|
1046
|
+
"config": {
|
1047
|
+
"type": "object",
|
1048
|
+
"properties": {
|
1049
|
+
"integrationId": {
|
1050
|
+
"type": "string",
|
1051
|
+
"enum": [
|
1052
|
+
"losant",
|
1053
|
+
"local"
|
1054
|
+
]
|
1055
|
+
}
|
1056
|
+
},
|
1057
|
+
"additionalProperties": false
|
1058
|
+
},
|
1059
|
+
"meta": {
|
1060
|
+
"type": "object",
|
1061
|
+
"properties": {
|
1062
|
+
"category": {
|
1063
|
+
"type": "string",
|
1064
|
+
"enum": [
|
1065
|
+
"trigger"
|
1066
|
+
]
|
1067
|
+
},
|
1068
|
+
"name": {
|
1069
|
+
"type": "string",
|
1070
|
+
"enum": [
|
1071
|
+
"mqtt"
|
1072
|
+
]
|
1073
|
+
},
|
1074
|
+
"label": {
|
1075
|
+
"type": "string",
|
1076
|
+
"minLength": 1,
|
1077
|
+
"maxLength": 255
|
1078
|
+
},
|
1079
|
+
"x": {
|
1080
|
+
"type": "number"
|
1081
|
+
},
|
1082
|
+
"y": {
|
1083
|
+
"type": "number"
|
1084
|
+
},
|
1085
|
+
"uiId": {
|
1086
|
+
"type": "string",
|
1087
|
+
"maxLength": 48
|
1088
|
+
},
|
1089
|
+
"description": {
|
1090
|
+
"type": "string",
|
1091
|
+
"maxLength": 32767
|
1092
|
+
},
|
1093
|
+
"icon": {
|
1094
|
+
"type": "string",
|
1095
|
+
"maxLength": 1024
|
1096
|
+
},
|
1097
|
+
"color": {
|
1098
|
+
"type": "string",
|
1099
|
+
"maxLength": 1024
|
1100
|
+
},
|
1101
|
+
"inputCount": {
|
1102
|
+
"type": "number"
|
1103
|
+
},
|
1104
|
+
"outputCount": {
|
1105
|
+
"type": "number"
|
1106
|
+
},
|
1107
|
+
"triggerId": {
|
1108
|
+
"type": "string",
|
1109
|
+
"maxLength": 48
|
1110
|
+
},
|
1111
|
+
"id": {
|
1112
|
+
"type": "string",
|
1113
|
+
"maxLength": 48
|
1114
|
+
}
|
1115
|
+
},
|
1116
|
+
"additionalProperties": false
|
1117
|
+
},
|
1118
|
+
"outputIds": {
|
1119
|
+
"type": "array",
|
1120
|
+
"items": {
|
1121
|
+
"type": "array",
|
1122
|
+
"items": {
|
1123
|
+
"type": "string",
|
1124
|
+
"maxLength": 255
|
1125
|
+
},
|
1126
|
+
"maxItems": 100
|
1127
|
+
},
|
1128
|
+
"maxItems": 100
|
1129
|
+
}
|
1130
|
+
},
|
1131
|
+
"required": [
|
1132
|
+
"type"
|
1133
|
+
],
|
1134
|
+
"additionalProperties": false
|
1135
|
+
},
|
1034
1136
|
{
|
1035
1137
|
"type": "object",
|
1036
1138
|
"properties": {
|
@@ -2149,7 +2251,6 @@
|
|
2149
2251
|
"deviceIdDisconnect",
|
2150
2252
|
"deviceTagDisconnect",
|
2151
2253
|
"integration",
|
2152
|
-
"mqttTopic",
|
2153
2254
|
"notebook",
|
2154
2255
|
"onBoot",
|
2155
2256
|
"onConnect",
|
@@ -3095,6 +3196,109 @@
|
|
3095
3196
|
],
|
3096
3197
|
"additionalProperties": false
|
3097
3198
|
},
|
3199
|
+
{
|
3200
|
+
"type": "object",
|
3201
|
+
"properties": {
|
3202
|
+
"key": {
|
3203
|
+
"type": "string",
|
3204
|
+
"maxLength": 1024
|
3205
|
+
},
|
3206
|
+
"type": {
|
3207
|
+
"type": "string",
|
3208
|
+
"enum": [
|
3209
|
+
"mqttTopic"
|
3210
|
+
]
|
3211
|
+
},
|
3212
|
+
"config": {
|
3213
|
+
"type": "object",
|
3214
|
+
"properties": {
|
3215
|
+
"integrationId": {
|
3216
|
+
"type": "string",
|
3217
|
+
"enum": [
|
3218
|
+
"losant",
|
3219
|
+
"local"
|
3220
|
+
]
|
3221
|
+
}
|
3222
|
+
},
|
3223
|
+
"additionalProperties": false
|
3224
|
+
},
|
3225
|
+
"meta": {
|
3226
|
+
"type": "object",
|
3227
|
+
"properties": {
|
3228
|
+
"category": {
|
3229
|
+
"type": "string",
|
3230
|
+
"enum": [
|
3231
|
+
"trigger"
|
3232
|
+
]
|
3233
|
+
},
|
3234
|
+
"name": {
|
3235
|
+
"type": "string",
|
3236
|
+
"enum": [
|
3237
|
+
"mqtt"
|
3238
|
+
]
|
3239
|
+
},
|
3240
|
+
"label": {
|
3241
|
+
"type": "string",
|
3242
|
+
"minLength": 1,
|
3243
|
+
"maxLength": 255
|
3244
|
+
},
|
3245
|
+
"x": {
|
3246
|
+
"type": "number"
|
3247
|
+
},
|
3248
|
+
"y": {
|
3249
|
+
"type": "number"
|
3250
|
+
},
|
3251
|
+
"uiId": {
|
3252
|
+
"type": "string",
|
3253
|
+
"maxLength": 48
|
3254
|
+
},
|
3255
|
+
"description": {
|
3256
|
+
"type": "string",
|
3257
|
+
"maxLength": 32767
|
3258
|
+
},
|
3259
|
+
"icon": {
|
3260
|
+
"type": "string",
|
3261
|
+
"maxLength": 1024
|
3262
|
+
},
|
3263
|
+
"color": {
|
3264
|
+
"type": "string",
|
3265
|
+
"maxLength": 1024
|
3266
|
+
},
|
3267
|
+
"inputCount": {
|
3268
|
+
"type": "number"
|
3269
|
+
},
|
3270
|
+
"outputCount": {
|
3271
|
+
"type": "number"
|
3272
|
+
},
|
3273
|
+
"triggerId": {
|
3274
|
+
"type": "string",
|
3275
|
+
"maxLength": 48
|
3276
|
+
},
|
3277
|
+
"id": {
|
3278
|
+
"type": "string",
|
3279
|
+
"maxLength": 48
|
3280
|
+
}
|
3281
|
+
},
|
3282
|
+
"additionalProperties": false
|
3283
|
+
},
|
3284
|
+
"outputIds": {
|
3285
|
+
"type": "array",
|
3286
|
+
"items": {
|
3287
|
+
"type": "array",
|
3288
|
+
"items": {
|
3289
|
+
"type": "string",
|
3290
|
+
"maxLength": 255
|
3291
|
+
},
|
3292
|
+
"maxItems": 100
|
3293
|
+
},
|
3294
|
+
"maxItems": 100
|
3295
|
+
}
|
3296
|
+
},
|
3297
|
+
"required": [
|
3298
|
+
"type"
|
3299
|
+
],
|
3300
|
+
"additionalProperties": false
|
3301
|
+
},
|
3098
3302
|
{
|
3099
3303
|
"type": "object",
|
3100
3304
|
"properties": {
|
@@ -4213,7 +4417,6 @@
|
|
4213
4417
|
"deviceIdDisconnect",
|
4214
4418
|
"deviceTagDisconnect",
|
4215
4419
|
"integration",
|
4216
|
-
"mqttTopic",
|
4217
4420
|
"notebook",
|
4218
4421
|
"onBoot",
|
4219
4422
|
"onConnect",
|
@@ -5159,6 +5362,109 @@
|
|
5159
5362
|
],
|
5160
5363
|
"additionalProperties": false
|
5161
5364
|
},
|
5365
|
+
{
|
5366
|
+
"type": "object",
|
5367
|
+
"properties": {
|
5368
|
+
"key": {
|
5369
|
+
"type": "string",
|
5370
|
+
"maxLength": 1024
|
5371
|
+
},
|
5372
|
+
"type": {
|
5373
|
+
"type": "string",
|
5374
|
+
"enum": [
|
5375
|
+
"mqttTopic"
|
5376
|
+
]
|
5377
|
+
},
|
5378
|
+
"config": {
|
5379
|
+
"type": "object",
|
5380
|
+
"properties": {
|
5381
|
+
"integrationId": {
|
5382
|
+
"type": "string",
|
5383
|
+
"enum": [
|
5384
|
+
"losant",
|
5385
|
+
"local"
|
5386
|
+
]
|
5387
|
+
}
|
5388
|
+
},
|
5389
|
+
"additionalProperties": false
|
5390
|
+
},
|
5391
|
+
"meta": {
|
5392
|
+
"type": "object",
|
5393
|
+
"properties": {
|
5394
|
+
"category": {
|
5395
|
+
"type": "string",
|
5396
|
+
"enum": [
|
5397
|
+
"trigger"
|
5398
|
+
]
|
5399
|
+
},
|
5400
|
+
"name": {
|
5401
|
+
"type": "string",
|
5402
|
+
"enum": [
|
5403
|
+
"mqtt"
|
5404
|
+
]
|
5405
|
+
},
|
5406
|
+
"label": {
|
5407
|
+
"type": "string",
|
5408
|
+
"minLength": 1,
|
5409
|
+
"maxLength": 255
|
5410
|
+
},
|
5411
|
+
"x": {
|
5412
|
+
"type": "number"
|
5413
|
+
},
|
5414
|
+
"y": {
|
5415
|
+
"type": "number"
|
5416
|
+
},
|
5417
|
+
"uiId": {
|
5418
|
+
"type": "string",
|
5419
|
+
"maxLength": 48
|
5420
|
+
},
|
5421
|
+
"description": {
|
5422
|
+
"type": "string",
|
5423
|
+
"maxLength": 32767
|
5424
|
+
},
|
5425
|
+
"icon": {
|
5426
|
+
"type": "string",
|
5427
|
+
"maxLength": 1024
|
5428
|
+
},
|
5429
|
+
"color": {
|
5430
|
+
"type": "string",
|
5431
|
+
"maxLength": 1024
|
5432
|
+
},
|
5433
|
+
"inputCount": {
|
5434
|
+
"type": "number"
|
5435
|
+
},
|
5436
|
+
"outputCount": {
|
5437
|
+
"type": "number"
|
5438
|
+
},
|
5439
|
+
"triggerId": {
|
5440
|
+
"type": "string",
|
5441
|
+
"maxLength": 48
|
5442
|
+
},
|
5443
|
+
"id": {
|
5444
|
+
"type": "string",
|
5445
|
+
"maxLength": 48
|
5446
|
+
}
|
5447
|
+
},
|
5448
|
+
"additionalProperties": false
|
5449
|
+
},
|
5450
|
+
"outputIds": {
|
5451
|
+
"type": "array",
|
5452
|
+
"items": {
|
5453
|
+
"type": "array",
|
5454
|
+
"items": {
|
5455
|
+
"type": "string",
|
5456
|
+
"maxLength": 255
|
5457
|
+
},
|
5458
|
+
"maxItems": 100
|
5459
|
+
},
|
5460
|
+
"maxItems": 100
|
5461
|
+
}
|
5462
|
+
},
|
5463
|
+
"required": [
|
5464
|
+
"type"
|
5465
|
+
],
|
5466
|
+
"additionalProperties": false
|
5467
|
+
},
|
5162
5468
|
{
|
5163
5469
|
"type": "object",
|
5164
5470
|
"properties": {
|