losant_rest 1.19.6 → 1.19.7
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 +5687 -2010
- data/docs/experienceUsers.md +1 -0
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/experience_users.rb +3 -0
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/advancedExperienceUserQuery.json +1068 -0
- data/schemas/credential.json +46 -1
- data/schemas/credentialLinkedResources.json +345 -24
- data/schemas/credentialPatch.json +51 -0
- data/schemas/credentialPost.json +59 -1
- data/schemas/credentials.json +46 -1
- data/schemas/experienceLinkedResources.json +345 -24
- data/schemas/experienceVersion.json +64 -0
- data/schemas/experienceVersionPatch.json +64 -0
- data/schemas/experienceVersionPost.json +64 -0
- data/schemas/experienceVersions.json +64 -0
- data/schemas/flow.json +115 -8
- data/schemas/flowPatch.json +115 -8
- data/schemas/flowPost.json +115 -8
- data/schemas/flowVersion.json +230 -16
- data/schemas/flowVersionPost.json +115 -8
- data/schemas/flowVersions.json +230 -16
- data/schemas/flows.json +115 -8
- data/schemas/flowsImportPost.json +230 -16
- data/schemas/flowsImportResult.json +345 -24
- data/schemas/instanceCustomNode.json +2 -1
- data/schemas/instanceCustomNodePatch.json +3 -9
- data/schemas/instanceCustomNodePost.json +3 -9
- data/schemas/instanceCustomNodes.json +2 -1
- data/schemas/resourceJob.json +2 -1
- data/schemas/resourceJobExecutionLogs.json +2 -1
- data/schemas/resourceJobPost.json +2 -1
- data/schemas/resourceJobs.json +2 -1
- metadata +3 -2
data/schemas/flowVersions.json
CHANGED
@@ -101,7 +101,6 @@
|
|
101
101
|
"deviceTagConnect",
|
102
102
|
"deviceIdDisconnect",
|
103
103
|
"deviceTagDisconnect",
|
104
|
-
"integration",
|
105
104
|
"notebook",
|
106
105
|
"onBoot",
|
107
106
|
"onConnect",
|
@@ -135,21 +134,15 @@
|
|
135
134
|
"deviceIdsTagsDisconnect",
|
136
135
|
"eeaInit",
|
137
136
|
"flowError",
|
138
|
-
"azureEventHub",
|
139
|
-
"googlePubSub",
|
140
|
-
"mqtt",
|
141
137
|
"notebook",
|
142
138
|
"onBoot",
|
143
139
|
"onConnect",
|
144
140
|
"onDisconnect",
|
145
|
-
"particle",
|
146
|
-
"sqs",
|
147
141
|
"udp",
|
148
142
|
"webhook",
|
149
143
|
"resourceJobIteration",
|
150
144
|
"resourceJobIterationTimeout",
|
151
|
-
"resourceJobComplete"
|
152
|
-
"websocket"
|
145
|
+
"resourceJobComplete"
|
153
146
|
]
|
154
147
|
},
|
155
148
|
"label": {
|
@@ -320,6 +313,120 @@
|
|
320
313
|
],
|
321
314
|
"additionalProperties": false
|
322
315
|
},
|
316
|
+
{
|
317
|
+
"type": "object",
|
318
|
+
"properties": {
|
319
|
+
"key": {
|
320
|
+
"type": "string",
|
321
|
+
"maxLength": 1024
|
322
|
+
},
|
323
|
+
"type": {
|
324
|
+
"type": "string",
|
325
|
+
"enum": [
|
326
|
+
"integration"
|
327
|
+
]
|
328
|
+
},
|
329
|
+
"config": {
|
330
|
+
"type": "object",
|
331
|
+
"properties": {
|
332
|
+
"connect": {
|
333
|
+
"type": "boolean"
|
334
|
+
},
|
335
|
+
"message": {
|
336
|
+
"type": "boolean"
|
337
|
+
},
|
338
|
+
"disconnect": {
|
339
|
+
"type": "boolean"
|
340
|
+
},
|
341
|
+
"failure": {
|
342
|
+
"type": "boolean"
|
343
|
+
}
|
344
|
+
},
|
345
|
+
"additionalProperties": false
|
346
|
+
},
|
347
|
+
"meta": {
|
348
|
+
"type": "object",
|
349
|
+
"properties": {
|
350
|
+
"category": {
|
351
|
+
"type": "string",
|
352
|
+
"enum": [
|
353
|
+
"trigger"
|
354
|
+
]
|
355
|
+
},
|
356
|
+
"name": {
|
357
|
+
"type": "string",
|
358
|
+
"enum": [
|
359
|
+
"azureEventHub",
|
360
|
+
"googlePubSub",
|
361
|
+
"mqtt",
|
362
|
+
"particle",
|
363
|
+
"sqs",
|
364
|
+
"websocket"
|
365
|
+
]
|
366
|
+
},
|
367
|
+
"label": {
|
368
|
+
"type": "string",
|
369
|
+
"minLength": 1,
|
370
|
+
"maxLength": 255
|
371
|
+
},
|
372
|
+
"x": {
|
373
|
+
"type": "number"
|
374
|
+
},
|
375
|
+
"y": {
|
376
|
+
"type": "number"
|
377
|
+
},
|
378
|
+
"uiId": {
|
379
|
+
"type": "string",
|
380
|
+
"maxLength": 48
|
381
|
+
},
|
382
|
+
"description": {
|
383
|
+
"type": "string",
|
384
|
+
"maxLength": 32767
|
385
|
+
},
|
386
|
+
"icon": {
|
387
|
+
"type": "string",
|
388
|
+
"maxLength": 1024
|
389
|
+
},
|
390
|
+
"color": {
|
391
|
+
"type": "string",
|
392
|
+
"maxLength": 1024
|
393
|
+
},
|
394
|
+
"inputCount": {
|
395
|
+
"type": "number"
|
396
|
+
},
|
397
|
+
"outputCount": {
|
398
|
+
"type": "number"
|
399
|
+
},
|
400
|
+
"triggerId": {
|
401
|
+
"type": "string",
|
402
|
+
"maxLength": 48
|
403
|
+
},
|
404
|
+
"id": {
|
405
|
+
"type": "string",
|
406
|
+
"maxLength": 48
|
407
|
+
}
|
408
|
+
},
|
409
|
+
"additionalProperties": false
|
410
|
+
},
|
411
|
+
"outputIds": {
|
412
|
+
"type": "array",
|
413
|
+
"items": {
|
414
|
+
"type": "array",
|
415
|
+
"items": {
|
416
|
+
"type": "string",
|
417
|
+
"maxLength": 48,
|
418
|
+
"minLength": 1
|
419
|
+
},
|
420
|
+
"maxItems": 100
|
421
|
+
},
|
422
|
+
"maxItems": 100
|
423
|
+
}
|
424
|
+
},
|
425
|
+
"required": [
|
426
|
+
"type"
|
427
|
+
],
|
428
|
+
"additionalProperties": false
|
429
|
+
},
|
323
430
|
{
|
324
431
|
"type": "object",
|
325
432
|
"properties": {
|
@@ -2786,7 +2893,6 @@
|
|
2786
2893
|
"deviceTagConnect",
|
2787
2894
|
"deviceIdDisconnect",
|
2788
2895
|
"deviceTagDisconnect",
|
2789
|
-
"integration",
|
2790
2896
|
"notebook",
|
2791
2897
|
"onBoot",
|
2792
2898
|
"onConnect",
|
@@ -2820,21 +2926,15 @@
|
|
2820
2926
|
"deviceIdsTagsDisconnect",
|
2821
2927
|
"eeaInit",
|
2822
2928
|
"flowError",
|
2823
|
-
"azureEventHub",
|
2824
|
-
"googlePubSub",
|
2825
|
-
"mqtt",
|
2826
2929
|
"notebook",
|
2827
2930
|
"onBoot",
|
2828
2931
|
"onConnect",
|
2829
2932
|
"onDisconnect",
|
2830
|
-
"particle",
|
2831
|
-
"sqs",
|
2832
2933
|
"udp",
|
2833
2934
|
"webhook",
|
2834
2935
|
"resourceJobIteration",
|
2835
2936
|
"resourceJobIterationTimeout",
|
2836
|
-
"resourceJobComplete"
|
2837
|
-
"websocket"
|
2937
|
+
"resourceJobComplete"
|
2838
2938
|
]
|
2839
2939
|
},
|
2840
2940
|
"label": {
|
@@ -3005,6 +3105,120 @@
|
|
3005
3105
|
],
|
3006
3106
|
"additionalProperties": false
|
3007
3107
|
},
|
3108
|
+
{
|
3109
|
+
"type": "object",
|
3110
|
+
"properties": {
|
3111
|
+
"key": {
|
3112
|
+
"type": "string",
|
3113
|
+
"maxLength": 1024
|
3114
|
+
},
|
3115
|
+
"type": {
|
3116
|
+
"type": "string",
|
3117
|
+
"enum": [
|
3118
|
+
"integration"
|
3119
|
+
]
|
3120
|
+
},
|
3121
|
+
"config": {
|
3122
|
+
"type": "object",
|
3123
|
+
"properties": {
|
3124
|
+
"connect": {
|
3125
|
+
"type": "boolean"
|
3126
|
+
},
|
3127
|
+
"message": {
|
3128
|
+
"type": "boolean"
|
3129
|
+
},
|
3130
|
+
"disconnect": {
|
3131
|
+
"type": "boolean"
|
3132
|
+
},
|
3133
|
+
"failure": {
|
3134
|
+
"type": "boolean"
|
3135
|
+
}
|
3136
|
+
},
|
3137
|
+
"additionalProperties": false
|
3138
|
+
},
|
3139
|
+
"meta": {
|
3140
|
+
"type": "object",
|
3141
|
+
"properties": {
|
3142
|
+
"category": {
|
3143
|
+
"type": "string",
|
3144
|
+
"enum": [
|
3145
|
+
"trigger"
|
3146
|
+
]
|
3147
|
+
},
|
3148
|
+
"name": {
|
3149
|
+
"type": "string",
|
3150
|
+
"enum": [
|
3151
|
+
"azureEventHub",
|
3152
|
+
"googlePubSub",
|
3153
|
+
"mqtt",
|
3154
|
+
"particle",
|
3155
|
+
"sqs",
|
3156
|
+
"websocket"
|
3157
|
+
]
|
3158
|
+
},
|
3159
|
+
"label": {
|
3160
|
+
"type": "string",
|
3161
|
+
"minLength": 1,
|
3162
|
+
"maxLength": 255
|
3163
|
+
},
|
3164
|
+
"x": {
|
3165
|
+
"type": "number"
|
3166
|
+
},
|
3167
|
+
"y": {
|
3168
|
+
"type": "number"
|
3169
|
+
},
|
3170
|
+
"uiId": {
|
3171
|
+
"type": "string",
|
3172
|
+
"maxLength": 48
|
3173
|
+
},
|
3174
|
+
"description": {
|
3175
|
+
"type": "string",
|
3176
|
+
"maxLength": 32767
|
3177
|
+
},
|
3178
|
+
"icon": {
|
3179
|
+
"type": "string",
|
3180
|
+
"maxLength": 1024
|
3181
|
+
},
|
3182
|
+
"color": {
|
3183
|
+
"type": "string",
|
3184
|
+
"maxLength": 1024
|
3185
|
+
},
|
3186
|
+
"inputCount": {
|
3187
|
+
"type": "number"
|
3188
|
+
},
|
3189
|
+
"outputCount": {
|
3190
|
+
"type": "number"
|
3191
|
+
},
|
3192
|
+
"triggerId": {
|
3193
|
+
"type": "string",
|
3194
|
+
"maxLength": 48
|
3195
|
+
},
|
3196
|
+
"id": {
|
3197
|
+
"type": "string",
|
3198
|
+
"maxLength": 48
|
3199
|
+
}
|
3200
|
+
},
|
3201
|
+
"additionalProperties": false
|
3202
|
+
},
|
3203
|
+
"outputIds": {
|
3204
|
+
"type": "array",
|
3205
|
+
"items": {
|
3206
|
+
"type": "array",
|
3207
|
+
"items": {
|
3208
|
+
"type": "string",
|
3209
|
+
"maxLength": 48,
|
3210
|
+
"minLength": 1
|
3211
|
+
},
|
3212
|
+
"maxItems": 100
|
3213
|
+
},
|
3214
|
+
"maxItems": 100
|
3215
|
+
}
|
3216
|
+
},
|
3217
|
+
"required": [
|
3218
|
+
"type"
|
3219
|
+
],
|
3220
|
+
"additionalProperties": false
|
3221
|
+
},
|
3008
3222
|
{
|
3009
3223
|
"type": "object",
|
3010
3224
|
"properties": {
|
data/schemas/flows.json
CHANGED
@@ -126,7 +126,6 @@
|
|
126
126
|
"deviceTagConnect",
|
127
127
|
"deviceIdDisconnect",
|
128
128
|
"deviceTagDisconnect",
|
129
|
-
"integration",
|
130
129
|
"notebook",
|
131
130
|
"onBoot",
|
132
131
|
"onConnect",
|
@@ -160,21 +159,15 @@
|
|
160
159
|
"deviceIdsTagsDisconnect",
|
161
160
|
"eeaInit",
|
162
161
|
"flowError",
|
163
|
-
"azureEventHub",
|
164
|
-
"googlePubSub",
|
165
|
-
"mqtt",
|
166
162
|
"notebook",
|
167
163
|
"onBoot",
|
168
164
|
"onConnect",
|
169
165
|
"onDisconnect",
|
170
|
-
"particle",
|
171
|
-
"sqs",
|
172
166
|
"udp",
|
173
167
|
"webhook",
|
174
168
|
"resourceJobIteration",
|
175
169
|
"resourceJobIterationTimeout",
|
176
|
-
"resourceJobComplete"
|
177
|
-
"websocket"
|
170
|
+
"resourceJobComplete"
|
178
171
|
]
|
179
172
|
},
|
180
173
|
"label": {
|
@@ -345,6 +338,120 @@
|
|
345
338
|
],
|
346
339
|
"additionalProperties": false
|
347
340
|
},
|
341
|
+
{
|
342
|
+
"type": "object",
|
343
|
+
"properties": {
|
344
|
+
"key": {
|
345
|
+
"type": "string",
|
346
|
+
"maxLength": 1024
|
347
|
+
},
|
348
|
+
"type": {
|
349
|
+
"type": "string",
|
350
|
+
"enum": [
|
351
|
+
"integration"
|
352
|
+
]
|
353
|
+
},
|
354
|
+
"config": {
|
355
|
+
"type": "object",
|
356
|
+
"properties": {
|
357
|
+
"connect": {
|
358
|
+
"type": "boolean"
|
359
|
+
},
|
360
|
+
"message": {
|
361
|
+
"type": "boolean"
|
362
|
+
},
|
363
|
+
"disconnect": {
|
364
|
+
"type": "boolean"
|
365
|
+
},
|
366
|
+
"failure": {
|
367
|
+
"type": "boolean"
|
368
|
+
}
|
369
|
+
},
|
370
|
+
"additionalProperties": false
|
371
|
+
},
|
372
|
+
"meta": {
|
373
|
+
"type": "object",
|
374
|
+
"properties": {
|
375
|
+
"category": {
|
376
|
+
"type": "string",
|
377
|
+
"enum": [
|
378
|
+
"trigger"
|
379
|
+
]
|
380
|
+
},
|
381
|
+
"name": {
|
382
|
+
"type": "string",
|
383
|
+
"enum": [
|
384
|
+
"azureEventHub",
|
385
|
+
"googlePubSub",
|
386
|
+
"mqtt",
|
387
|
+
"particle",
|
388
|
+
"sqs",
|
389
|
+
"websocket"
|
390
|
+
]
|
391
|
+
},
|
392
|
+
"label": {
|
393
|
+
"type": "string",
|
394
|
+
"minLength": 1,
|
395
|
+
"maxLength": 255
|
396
|
+
},
|
397
|
+
"x": {
|
398
|
+
"type": "number"
|
399
|
+
},
|
400
|
+
"y": {
|
401
|
+
"type": "number"
|
402
|
+
},
|
403
|
+
"uiId": {
|
404
|
+
"type": "string",
|
405
|
+
"maxLength": 48
|
406
|
+
},
|
407
|
+
"description": {
|
408
|
+
"type": "string",
|
409
|
+
"maxLength": 32767
|
410
|
+
},
|
411
|
+
"icon": {
|
412
|
+
"type": "string",
|
413
|
+
"maxLength": 1024
|
414
|
+
},
|
415
|
+
"color": {
|
416
|
+
"type": "string",
|
417
|
+
"maxLength": 1024
|
418
|
+
},
|
419
|
+
"inputCount": {
|
420
|
+
"type": "number"
|
421
|
+
},
|
422
|
+
"outputCount": {
|
423
|
+
"type": "number"
|
424
|
+
},
|
425
|
+
"triggerId": {
|
426
|
+
"type": "string",
|
427
|
+
"maxLength": 48
|
428
|
+
},
|
429
|
+
"id": {
|
430
|
+
"type": "string",
|
431
|
+
"maxLength": 48
|
432
|
+
}
|
433
|
+
},
|
434
|
+
"additionalProperties": false
|
435
|
+
},
|
436
|
+
"outputIds": {
|
437
|
+
"type": "array",
|
438
|
+
"items": {
|
439
|
+
"type": "array",
|
440
|
+
"items": {
|
441
|
+
"type": "string",
|
442
|
+
"maxLength": 48,
|
443
|
+
"minLength": 1
|
444
|
+
},
|
445
|
+
"maxItems": 100
|
446
|
+
},
|
447
|
+
"maxItems": 100
|
448
|
+
}
|
449
|
+
},
|
450
|
+
"required": [
|
451
|
+
"type"
|
452
|
+
],
|
453
|
+
"additionalProperties": false
|
454
|
+
},
|
348
455
|
{
|
349
456
|
"type": "object",
|
350
457
|
"properties": {
|