losant_rest 1.19.8 → 1.19.9
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 +3386 -964
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/application.json +20 -4
- data/schemas/applicationCreationByTemplateResult.json +20 -4
- data/schemas/applicationTemplate.json +4 -0
- data/schemas/applicationTemplates.json +4 -0
- data/schemas/applications.json +20 -4
- data/schemas/credential.json +7 -1
- data/schemas/credentialLinkedResources.json +330 -18
- data/schemas/credentialPatch.json +11 -0
- data/schemas/credentialPost.json +16 -1
- data/schemas/credentials.json +7 -1
- data/schemas/experienceLinkedResources.json +330 -18
- data/schemas/flow.json +110 -6
- data/schemas/flowPatch.json +110 -6
- data/schemas/flowPost.json +110 -6
- data/schemas/flowVersion.json +220 -12
- data/schemas/flowVersionPost.json +110 -6
- data/schemas/flowVersions.json +220 -12
- data/schemas/flows.json +110 -6
- data/schemas/flowsImportPost.json +220 -12
- data/schemas/flowsImportResult.json +330 -18
- data/schemas/historicalSummaries.json +40 -8
- data/schemas/historicalSummary.json +40 -8
- data/schemas/instanceCustomNodePatch.json +8 -6
- data/schemas/instanceCustomNodePost.json +8 -6
- data/schemas/instanceOrg.json +20 -4
- data/schemas/instanceOrgs.json +20 -4
- data/schemas/instanceSandbox.json +20 -4
- data/schemas/instanceSandboxes.json +20 -4
- data/schemas/me.json +20 -4
- data/schemas/org.json +20 -4
- data/schemas/orgs.json +20 -4
- data/schemas/payloadStats.json +20 -4
- data/schemas/webhook.json +13 -0
- data/schemas/webhookPatch.json +13 -0
- data/schemas/webhookPost.json +13 -0
- data/schemas/webhooks.json +13 -0
- metadata +2 -2
@@ -111,6 +111,108 @@
|
|
111
111
|
"type": "array",
|
112
112
|
"items": {
|
113
113
|
"oneOf": [
|
114
|
+
{
|
115
|
+
"type": "object",
|
116
|
+
"properties": {
|
117
|
+
"key": {
|
118
|
+
"type": "string",
|
119
|
+
"maxLength": 1024
|
120
|
+
},
|
121
|
+
"type": {
|
122
|
+
"type": "string",
|
123
|
+
"enum": [
|
124
|
+
"appFile"
|
125
|
+
]
|
126
|
+
},
|
127
|
+
"config": {
|
128
|
+
"type": "object",
|
129
|
+
"properties": {
|
130
|
+
"delete": {
|
131
|
+
"type": "boolean"
|
132
|
+
},
|
133
|
+
"create": {
|
134
|
+
"type": "boolean"
|
135
|
+
},
|
136
|
+
"update": {
|
137
|
+
"type": "boolean"
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"additionalProperties": false
|
141
|
+
},
|
142
|
+
"meta": {
|
143
|
+
"type": "object",
|
144
|
+
"properties": {
|
145
|
+
"category": {
|
146
|
+
"type": "string",
|
147
|
+
"enum": [
|
148
|
+
"trigger"
|
149
|
+
]
|
150
|
+
},
|
151
|
+
"name": {
|
152
|
+
"type": "string",
|
153
|
+
"enum": [
|
154
|
+
"appFile"
|
155
|
+
]
|
156
|
+
},
|
157
|
+
"label": {
|
158
|
+
"type": "string",
|
159
|
+
"minLength": 1,
|
160
|
+
"maxLength": 255
|
161
|
+
},
|
162
|
+
"x": {
|
163
|
+
"type": "number"
|
164
|
+
},
|
165
|
+
"y": {
|
166
|
+
"type": "number"
|
167
|
+
},
|
168
|
+
"uiId": {
|
169
|
+
"type": "string",
|
170
|
+
"maxLength": 48
|
171
|
+
},
|
172
|
+
"description": {
|
173
|
+
"type": "string",
|
174
|
+
"maxLength": 32767
|
175
|
+
},
|
176
|
+
"icon": {
|
177
|
+
"type": "string",
|
178
|
+
"maxLength": 1024
|
179
|
+
},
|
180
|
+
"color": {
|
181
|
+
"type": "string",
|
182
|
+
"maxLength": 1024
|
183
|
+
},
|
184
|
+
"inputCount": {
|
185
|
+
"type": "number"
|
186
|
+
},
|
187
|
+
"outputCount": {
|
188
|
+
"type": "number"
|
189
|
+
},
|
190
|
+
"id": {
|
191
|
+
"type": "string",
|
192
|
+
"maxLength": 48
|
193
|
+
}
|
194
|
+
},
|
195
|
+
"additionalProperties": false
|
196
|
+
},
|
197
|
+
"outputIds": {
|
198
|
+
"type": "array",
|
199
|
+
"items": {
|
200
|
+
"type": "array",
|
201
|
+
"items": {
|
202
|
+
"type": "string",
|
203
|
+
"maxLength": 48,
|
204
|
+
"minLength": 1
|
205
|
+
},
|
206
|
+
"maxItems": 100
|
207
|
+
},
|
208
|
+
"maxItems": 100
|
209
|
+
}
|
210
|
+
},
|
211
|
+
"required": [
|
212
|
+
"type"
|
213
|
+
],
|
214
|
+
"additionalProperties": false
|
215
|
+
},
|
114
216
|
{
|
115
217
|
"type": "object",
|
116
218
|
"properties": {
|
@@ -127,15 +229,16 @@
|
|
127
229
|
"deviceTagConnect",
|
128
230
|
"deviceIdDisconnect",
|
129
231
|
"deviceTagDisconnect",
|
232
|
+
"inboundEmail",
|
130
233
|
"notebook",
|
131
234
|
"onBoot",
|
132
235
|
"onConnect",
|
133
236
|
"onDisconnect",
|
134
|
-
"
|
135
|
-
"webhook",
|
237
|
+
"resourceJobComplete",
|
136
238
|
"resourceJobIteration",
|
137
239
|
"resourceJobIterationTimeout",
|
138
|
-
"
|
240
|
+
"udp",
|
241
|
+
"webhook"
|
139
242
|
]
|
140
243
|
},
|
141
244
|
"config": {
|
@@ -160,15 +263,16 @@
|
|
160
263
|
"deviceIdsTagsDisconnect",
|
161
264
|
"eeaInit",
|
162
265
|
"flowError",
|
266
|
+
"inboundEmail",
|
163
267
|
"notebook",
|
164
268
|
"onBoot",
|
165
269
|
"onConnect",
|
166
270
|
"onDisconnect",
|
167
|
-
"
|
168
|
-
"webhook",
|
271
|
+
"resourceJobComplete",
|
169
272
|
"resourceJobIteration",
|
170
273
|
"resourceJobIterationTimeout",
|
171
|
-
"
|
274
|
+
"udp",
|
275
|
+
"webhook"
|
172
276
|
]
|
173
277
|
},
|
174
278
|
"label": {
|
@@ -2943,6 +3047,108 @@
|
|
2943
3047
|
"type": "array",
|
2944
3048
|
"items": {
|
2945
3049
|
"oneOf": [
|
3050
|
+
{
|
3051
|
+
"type": "object",
|
3052
|
+
"properties": {
|
3053
|
+
"key": {
|
3054
|
+
"type": "string",
|
3055
|
+
"maxLength": 1024
|
3056
|
+
},
|
3057
|
+
"type": {
|
3058
|
+
"type": "string",
|
3059
|
+
"enum": [
|
3060
|
+
"appFile"
|
3061
|
+
]
|
3062
|
+
},
|
3063
|
+
"config": {
|
3064
|
+
"type": "object",
|
3065
|
+
"properties": {
|
3066
|
+
"delete": {
|
3067
|
+
"type": "boolean"
|
3068
|
+
},
|
3069
|
+
"create": {
|
3070
|
+
"type": "boolean"
|
3071
|
+
},
|
3072
|
+
"update": {
|
3073
|
+
"type": "boolean"
|
3074
|
+
}
|
3075
|
+
},
|
3076
|
+
"additionalProperties": false
|
3077
|
+
},
|
3078
|
+
"meta": {
|
3079
|
+
"type": "object",
|
3080
|
+
"properties": {
|
3081
|
+
"category": {
|
3082
|
+
"type": "string",
|
3083
|
+
"enum": [
|
3084
|
+
"trigger"
|
3085
|
+
]
|
3086
|
+
},
|
3087
|
+
"name": {
|
3088
|
+
"type": "string",
|
3089
|
+
"enum": [
|
3090
|
+
"appFile"
|
3091
|
+
]
|
3092
|
+
},
|
3093
|
+
"label": {
|
3094
|
+
"type": "string",
|
3095
|
+
"minLength": 1,
|
3096
|
+
"maxLength": 255
|
3097
|
+
},
|
3098
|
+
"x": {
|
3099
|
+
"type": "number"
|
3100
|
+
},
|
3101
|
+
"y": {
|
3102
|
+
"type": "number"
|
3103
|
+
},
|
3104
|
+
"uiId": {
|
3105
|
+
"type": "string",
|
3106
|
+
"maxLength": 48
|
3107
|
+
},
|
3108
|
+
"description": {
|
3109
|
+
"type": "string",
|
3110
|
+
"maxLength": 32767
|
3111
|
+
},
|
3112
|
+
"icon": {
|
3113
|
+
"type": "string",
|
3114
|
+
"maxLength": 1024
|
3115
|
+
},
|
3116
|
+
"color": {
|
3117
|
+
"type": "string",
|
3118
|
+
"maxLength": 1024
|
3119
|
+
},
|
3120
|
+
"inputCount": {
|
3121
|
+
"type": "number"
|
3122
|
+
},
|
3123
|
+
"outputCount": {
|
3124
|
+
"type": "number"
|
3125
|
+
},
|
3126
|
+
"id": {
|
3127
|
+
"type": "string",
|
3128
|
+
"maxLength": 48
|
3129
|
+
}
|
3130
|
+
},
|
3131
|
+
"additionalProperties": false
|
3132
|
+
},
|
3133
|
+
"outputIds": {
|
3134
|
+
"type": "array",
|
3135
|
+
"items": {
|
3136
|
+
"type": "array",
|
3137
|
+
"items": {
|
3138
|
+
"type": "string",
|
3139
|
+
"maxLength": 48,
|
3140
|
+
"minLength": 1
|
3141
|
+
},
|
3142
|
+
"maxItems": 100
|
3143
|
+
},
|
3144
|
+
"maxItems": 100
|
3145
|
+
}
|
3146
|
+
},
|
3147
|
+
"required": [
|
3148
|
+
"type"
|
3149
|
+
],
|
3150
|
+
"additionalProperties": false
|
3151
|
+
},
|
2946
3152
|
{
|
2947
3153
|
"type": "object",
|
2948
3154
|
"properties": {
|
@@ -2959,15 +3165,16 @@
|
|
2959
3165
|
"deviceTagConnect",
|
2960
3166
|
"deviceIdDisconnect",
|
2961
3167
|
"deviceTagDisconnect",
|
3168
|
+
"inboundEmail",
|
2962
3169
|
"notebook",
|
2963
3170
|
"onBoot",
|
2964
3171
|
"onConnect",
|
2965
3172
|
"onDisconnect",
|
2966
|
-
"
|
2967
|
-
"webhook",
|
3173
|
+
"resourceJobComplete",
|
2968
3174
|
"resourceJobIteration",
|
2969
3175
|
"resourceJobIterationTimeout",
|
2970
|
-
"
|
3176
|
+
"udp",
|
3177
|
+
"webhook"
|
2971
3178
|
]
|
2972
3179
|
},
|
2973
3180
|
"config": {
|
@@ -2992,15 +3199,16 @@
|
|
2992
3199
|
"deviceIdsTagsDisconnect",
|
2993
3200
|
"eeaInit",
|
2994
3201
|
"flowError",
|
3202
|
+
"inboundEmail",
|
2995
3203
|
"notebook",
|
2996
3204
|
"onBoot",
|
2997
3205
|
"onConnect",
|
2998
3206
|
"onDisconnect",
|
2999
|
-
"
|
3000
|
-
"webhook",
|
3207
|
+
"resourceJobComplete",
|
3001
3208
|
"resourceJobIteration",
|
3002
3209
|
"resourceJobIterationTimeout",
|
3003
|
-
"
|
3210
|
+
"udp",
|
3211
|
+
"webhook"
|
3004
3212
|
]
|
3005
3213
|
},
|
3006
3214
|
"label": {
|
@@ -5735,6 +5943,108 @@
|
|
5735
5943
|
"type": "array",
|
5736
5944
|
"items": {
|
5737
5945
|
"oneOf": [
|
5946
|
+
{
|
5947
|
+
"type": "object",
|
5948
|
+
"properties": {
|
5949
|
+
"key": {
|
5950
|
+
"type": "string",
|
5951
|
+
"maxLength": 1024
|
5952
|
+
},
|
5953
|
+
"type": {
|
5954
|
+
"type": "string",
|
5955
|
+
"enum": [
|
5956
|
+
"appFile"
|
5957
|
+
]
|
5958
|
+
},
|
5959
|
+
"config": {
|
5960
|
+
"type": "object",
|
5961
|
+
"properties": {
|
5962
|
+
"delete": {
|
5963
|
+
"type": "boolean"
|
5964
|
+
},
|
5965
|
+
"create": {
|
5966
|
+
"type": "boolean"
|
5967
|
+
},
|
5968
|
+
"update": {
|
5969
|
+
"type": "boolean"
|
5970
|
+
}
|
5971
|
+
},
|
5972
|
+
"additionalProperties": false
|
5973
|
+
},
|
5974
|
+
"meta": {
|
5975
|
+
"type": "object",
|
5976
|
+
"properties": {
|
5977
|
+
"category": {
|
5978
|
+
"type": "string",
|
5979
|
+
"enum": [
|
5980
|
+
"trigger"
|
5981
|
+
]
|
5982
|
+
},
|
5983
|
+
"name": {
|
5984
|
+
"type": "string",
|
5985
|
+
"enum": [
|
5986
|
+
"appFile"
|
5987
|
+
]
|
5988
|
+
},
|
5989
|
+
"label": {
|
5990
|
+
"type": "string",
|
5991
|
+
"minLength": 1,
|
5992
|
+
"maxLength": 255
|
5993
|
+
},
|
5994
|
+
"x": {
|
5995
|
+
"type": "number"
|
5996
|
+
},
|
5997
|
+
"y": {
|
5998
|
+
"type": "number"
|
5999
|
+
},
|
6000
|
+
"uiId": {
|
6001
|
+
"type": "string",
|
6002
|
+
"maxLength": 48
|
6003
|
+
},
|
6004
|
+
"description": {
|
6005
|
+
"type": "string",
|
6006
|
+
"maxLength": 32767
|
6007
|
+
},
|
6008
|
+
"icon": {
|
6009
|
+
"type": "string",
|
6010
|
+
"maxLength": 1024
|
6011
|
+
},
|
6012
|
+
"color": {
|
6013
|
+
"type": "string",
|
6014
|
+
"maxLength": 1024
|
6015
|
+
},
|
6016
|
+
"inputCount": {
|
6017
|
+
"type": "number"
|
6018
|
+
},
|
6019
|
+
"outputCount": {
|
6020
|
+
"type": "number"
|
6021
|
+
},
|
6022
|
+
"id": {
|
6023
|
+
"type": "string",
|
6024
|
+
"maxLength": 48
|
6025
|
+
}
|
6026
|
+
},
|
6027
|
+
"additionalProperties": false
|
6028
|
+
},
|
6029
|
+
"outputIds": {
|
6030
|
+
"type": "array",
|
6031
|
+
"items": {
|
6032
|
+
"type": "array",
|
6033
|
+
"items": {
|
6034
|
+
"type": "string",
|
6035
|
+
"maxLength": 48,
|
6036
|
+
"minLength": 1
|
6037
|
+
},
|
6038
|
+
"maxItems": 100
|
6039
|
+
},
|
6040
|
+
"maxItems": 100
|
6041
|
+
}
|
6042
|
+
},
|
6043
|
+
"required": [
|
6044
|
+
"type"
|
6045
|
+
],
|
6046
|
+
"additionalProperties": false
|
6047
|
+
},
|
5738
6048
|
{
|
5739
6049
|
"type": "object",
|
5740
6050
|
"properties": {
|
@@ -5751,15 +6061,16 @@
|
|
5751
6061
|
"deviceTagConnect",
|
5752
6062
|
"deviceIdDisconnect",
|
5753
6063
|
"deviceTagDisconnect",
|
6064
|
+
"inboundEmail",
|
5754
6065
|
"notebook",
|
5755
6066
|
"onBoot",
|
5756
6067
|
"onConnect",
|
5757
6068
|
"onDisconnect",
|
5758
|
-
"
|
5759
|
-
"webhook",
|
6069
|
+
"resourceJobComplete",
|
5760
6070
|
"resourceJobIteration",
|
5761
6071
|
"resourceJobIterationTimeout",
|
5762
|
-
"
|
6072
|
+
"udp",
|
6073
|
+
"webhook"
|
5763
6074
|
]
|
5764
6075
|
},
|
5765
6076
|
"config": {
|
@@ -5784,15 +6095,16 @@
|
|
5784
6095
|
"deviceIdsTagsDisconnect",
|
5785
6096
|
"eeaInit",
|
5786
6097
|
"flowError",
|
6098
|
+
"inboundEmail",
|
5787
6099
|
"notebook",
|
5788
6100
|
"onBoot",
|
5789
6101
|
"onConnect",
|
5790
6102
|
"onDisconnect",
|
5791
|
-
"
|
5792
|
-
"webhook",
|
6103
|
+
"resourceJobComplete",
|
5793
6104
|
"resourceJobIteration",
|
5794
6105
|
"resourceJobIterationTimeout",
|
5795
|
-
"
|
6106
|
+
"udp",
|
6107
|
+
"webhook"
|
5796
6108
|
]
|
5797
6109
|
},
|
5798
6110
|
"label": {
|
@@ -311,6 +311,14 @@
|
|
311
311
|
"description": "Schema for the result of a payload stats request",
|
312
312
|
"type": "object",
|
313
313
|
"properties": {
|
314
|
+
"appFile": {
|
315
|
+
"type": "object",
|
316
|
+
"patternProperties": {
|
317
|
+
".*": {
|
318
|
+
"type": "number"
|
319
|
+
}
|
320
|
+
}
|
321
|
+
},
|
314
322
|
"dataTable": {
|
315
323
|
"type": "object",
|
316
324
|
"patternProperties": {
|
@@ -375,6 +383,14 @@
|
|
375
383
|
}
|
376
384
|
}
|
377
385
|
},
|
386
|
+
"inboundEmail": {
|
387
|
+
"type": "object",
|
388
|
+
"patternProperties": {
|
389
|
+
".*": {
|
390
|
+
"type": "number"
|
391
|
+
}
|
392
|
+
}
|
393
|
+
},
|
378
394
|
"integration": {
|
379
395
|
"type": "object",
|
380
396
|
"patternProperties": {
|
@@ -407,7 +423,7 @@
|
|
407
423
|
}
|
408
424
|
}
|
409
425
|
},
|
410
|
-
"
|
426
|
+
"resourceJob": {
|
411
427
|
"type": "object",
|
412
428
|
"patternProperties": {
|
413
429
|
".*": {
|
@@ -415,7 +431,7 @@
|
|
415
431
|
}
|
416
432
|
}
|
417
433
|
},
|
418
|
-
"
|
434
|
+
"timer": {
|
419
435
|
"type": "object",
|
420
436
|
"patternProperties": {
|
421
437
|
".*": {
|
@@ -423,7 +439,7 @@
|
|
423
439
|
}
|
424
440
|
}
|
425
441
|
},
|
426
|
-
"
|
442
|
+
"virtualButton": {
|
427
443
|
"type": "object",
|
428
444
|
"patternProperties": {
|
429
445
|
".*": {
|
@@ -431,7 +447,7 @@
|
|
431
447
|
}
|
432
448
|
}
|
433
449
|
},
|
434
|
-
"
|
450
|
+
"webhook": {
|
435
451
|
"type": "object",
|
436
452
|
"patternProperties": {
|
437
453
|
".*": {
|
@@ -446,6 +462,14 @@
|
|
446
462
|
"description": "Schema for the result of a payload stats request",
|
447
463
|
"type": "object",
|
448
464
|
"properties": {
|
465
|
+
"appFile": {
|
466
|
+
"type": "object",
|
467
|
+
"patternProperties": {
|
468
|
+
".*": {
|
469
|
+
"type": "number"
|
470
|
+
}
|
471
|
+
}
|
472
|
+
},
|
449
473
|
"dataTable": {
|
450
474
|
"type": "object",
|
451
475
|
"patternProperties": {
|
@@ -510,6 +534,14 @@
|
|
510
534
|
}
|
511
535
|
}
|
512
536
|
},
|
537
|
+
"inboundEmail": {
|
538
|
+
"type": "object",
|
539
|
+
"patternProperties": {
|
540
|
+
".*": {
|
541
|
+
"type": "number"
|
542
|
+
}
|
543
|
+
}
|
544
|
+
},
|
513
545
|
"integration": {
|
514
546
|
"type": "object",
|
515
547
|
"patternProperties": {
|
@@ -542,7 +574,7 @@
|
|
542
574
|
}
|
543
575
|
}
|
544
576
|
},
|
545
|
-
"
|
577
|
+
"resourceJob": {
|
546
578
|
"type": "object",
|
547
579
|
"patternProperties": {
|
548
580
|
".*": {
|
@@ -550,7 +582,7 @@
|
|
550
582
|
}
|
551
583
|
}
|
552
584
|
},
|
553
|
-
"
|
585
|
+
"timer": {
|
554
586
|
"type": "object",
|
555
587
|
"patternProperties": {
|
556
588
|
".*": {
|
@@ -558,7 +590,7 @@
|
|
558
590
|
}
|
559
591
|
}
|
560
592
|
},
|
561
|
-
"
|
593
|
+
"virtualButton": {
|
562
594
|
"type": "object",
|
563
595
|
"patternProperties": {
|
564
596
|
".*": {
|
@@ -566,7 +598,7 @@
|
|
566
598
|
}
|
567
599
|
}
|
568
600
|
},
|
569
|
-
"
|
601
|
+
"webhook": {
|
570
602
|
"type": "object",
|
571
603
|
"patternProperties": {
|
572
604
|
".*": {
|