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.
@@ -57,6 +57,70 @@
57
57
  ]
58
58
  }
59
59
  },
60
+ "notFoundReply": {
61
+ "oneOf": [
62
+ {
63
+ "type": "object",
64
+ "properties": {
65
+ "value": {
66
+ "type": "string"
67
+ },
68
+ "statusCode": {
69
+ "type": "integer",
70
+ "minimum": 100,
71
+ "maximum": 599
72
+ },
73
+ "type": {
74
+ "type": "string",
75
+ "enum": [
76
+ "page",
77
+ "redirect"
78
+ ]
79
+ }
80
+ },
81
+ "required": [
82
+ "value",
83
+ "type"
84
+ ],
85
+ "additionalProperties": false
86
+ },
87
+ {
88
+ "type": "null"
89
+ }
90
+ ]
91
+ },
92
+ "unauthorizedReply": {
93
+ "oneOf": [
94
+ {
95
+ "type": "object",
96
+ "properties": {
97
+ "value": {
98
+ "type": "string"
99
+ },
100
+ "statusCode": {
101
+ "type": "integer",
102
+ "minimum": 100,
103
+ "maximum": 599
104
+ },
105
+ "type": {
106
+ "type": "string",
107
+ "enum": [
108
+ "page",
109
+ "redirect"
110
+ ]
111
+ }
112
+ },
113
+ "required": [
114
+ "value",
115
+ "type"
116
+ ],
117
+ "additionalProperties": false
118
+ },
119
+ {
120
+ "type": "null"
121
+ }
122
+ ]
123
+ },
60
124
  "allowedCorsOrigins": {
61
125
  "type": "array",
62
126
  "items": {
@@ -101,6 +101,70 @@
101
101
  ]
102
102
  }
103
103
  },
104
+ "notFoundReply": {
105
+ "oneOf": [
106
+ {
107
+ "type": "object",
108
+ "properties": {
109
+ "value": {
110
+ "type": "string"
111
+ },
112
+ "statusCode": {
113
+ "type": "integer",
114
+ "minimum": 100,
115
+ "maximum": 599
116
+ },
117
+ "type": {
118
+ "type": "string",
119
+ "enum": [
120
+ "page",
121
+ "redirect"
122
+ ]
123
+ }
124
+ },
125
+ "required": [
126
+ "value",
127
+ "type"
128
+ ],
129
+ "additionalProperties": false
130
+ },
131
+ {
132
+ "type": "null"
133
+ }
134
+ ]
135
+ },
136
+ "unauthorizedReply": {
137
+ "oneOf": [
138
+ {
139
+ "type": "object",
140
+ "properties": {
141
+ "value": {
142
+ "type": "string"
143
+ },
144
+ "statusCode": {
145
+ "type": "integer",
146
+ "minimum": 100,
147
+ "maximum": 599
148
+ },
149
+ "type": {
150
+ "type": "string",
151
+ "enum": [
152
+ "page",
153
+ "redirect"
154
+ ]
155
+ }
156
+ },
157
+ "required": [
158
+ "value",
159
+ "type"
160
+ ],
161
+ "additionalProperties": false
162
+ },
163
+ {
164
+ "type": "null"
165
+ }
166
+ ]
167
+ },
104
168
  "attachedDomains": {
105
169
  "type": "array",
106
170
  "items": {
data/schemas/flow.json CHANGED
@@ -119,7 +119,6 @@
119
119
  "deviceTagConnect",
120
120
  "deviceIdDisconnect",
121
121
  "deviceTagDisconnect",
122
- "integration",
123
122
  "notebook",
124
123
  "onBoot",
125
124
  "onConnect",
@@ -153,21 +152,15 @@
153
152
  "deviceIdsTagsDisconnect",
154
153
  "eeaInit",
155
154
  "flowError",
156
- "azureEventHub",
157
- "googlePubSub",
158
- "mqtt",
159
155
  "notebook",
160
156
  "onBoot",
161
157
  "onConnect",
162
158
  "onDisconnect",
163
- "particle",
164
- "sqs",
165
159
  "udp",
166
160
  "webhook",
167
161
  "resourceJobIteration",
168
162
  "resourceJobIterationTimeout",
169
- "resourceJobComplete",
170
- "websocket"
163
+ "resourceJobComplete"
171
164
  ]
172
165
  },
173
166
  "label": {
@@ -338,6 +331,120 @@
338
331
  ],
339
332
  "additionalProperties": false
340
333
  },
334
+ {
335
+ "type": "object",
336
+ "properties": {
337
+ "key": {
338
+ "type": "string",
339
+ "maxLength": 1024
340
+ },
341
+ "type": {
342
+ "type": "string",
343
+ "enum": [
344
+ "integration"
345
+ ]
346
+ },
347
+ "config": {
348
+ "type": "object",
349
+ "properties": {
350
+ "connect": {
351
+ "type": "boolean"
352
+ },
353
+ "message": {
354
+ "type": "boolean"
355
+ },
356
+ "disconnect": {
357
+ "type": "boolean"
358
+ },
359
+ "failure": {
360
+ "type": "boolean"
361
+ }
362
+ },
363
+ "additionalProperties": false
364
+ },
365
+ "meta": {
366
+ "type": "object",
367
+ "properties": {
368
+ "category": {
369
+ "type": "string",
370
+ "enum": [
371
+ "trigger"
372
+ ]
373
+ },
374
+ "name": {
375
+ "type": "string",
376
+ "enum": [
377
+ "azureEventHub",
378
+ "googlePubSub",
379
+ "mqtt",
380
+ "particle",
381
+ "sqs",
382
+ "websocket"
383
+ ]
384
+ },
385
+ "label": {
386
+ "type": "string",
387
+ "minLength": 1,
388
+ "maxLength": 255
389
+ },
390
+ "x": {
391
+ "type": "number"
392
+ },
393
+ "y": {
394
+ "type": "number"
395
+ },
396
+ "uiId": {
397
+ "type": "string",
398
+ "maxLength": 48
399
+ },
400
+ "description": {
401
+ "type": "string",
402
+ "maxLength": 32767
403
+ },
404
+ "icon": {
405
+ "type": "string",
406
+ "maxLength": 1024
407
+ },
408
+ "color": {
409
+ "type": "string",
410
+ "maxLength": 1024
411
+ },
412
+ "inputCount": {
413
+ "type": "number"
414
+ },
415
+ "outputCount": {
416
+ "type": "number"
417
+ },
418
+ "triggerId": {
419
+ "type": "string",
420
+ "maxLength": 48
421
+ },
422
+ "id": {
423
+ "type": "string",
424
+ "maxLength": 48
425
+ }
426
+ },
427
+ "additionalProperties": false
428
+ },
429
+ "outputIds": {
430
+ "type": "array",
431
+ "items": {
432
+ "type": "array",
433
+ "items": {
434
+ "type": "string",
435
+ "maxLength": 48,
436
+ "minLength": 1
437
+ },
438
+ "maxItems": 100
439
+ },
440
+ "maxItems": 100
441
+ }
442
+ },
443
+ "required": [
444
+ "type"
445
+ ],
446
+ "additionalProperties": false
447
+ },
341
448
  {
342
449
  "type": "object",
343
450
  "properties": {
@@ -76,7 +76,6 @@
76
76
  "deviceTagConnect",
77
77
  "deviceIdDisconnect",
78
78
  "deviceTagDisconnect",
79
- "integration",
80
79
  "notebook",
81
80
  "onBoot",
82
81
  "onConnect",
@@ -110,21 +109,15 @@
110
109
  "deviceIdsTagsDisconnect",
111
110
  "eeaInit",
112
111
  "flowError",
113
- "azureEventHub",
114
- "googlePubSub",
115
- "mqtt",
116
112
  "notebook",
117
113
  "onBoot",
118
114
  "onConnect",
119
115
  "onDisconnect",
120
- "particle",
121
- "sqs",
122
116
  "udp",
123
117
  "webhook",
124
118
  "resourceJobIteration",
125
119
  "resourceJobIterationTimeout",
126
- "resourceJobComplete",
127
- "websocket"
120
+ "resourceJobComplete"
128
121
  ]
129
122
  },
130
123
  "label": {
@@ -295,6 +288,120 @@
295
288
  ],
296
289
  "additionalProperties": false
297
290
  },
291
+ {
292
+ "type": "object",
293
+ "properties": {
294
+ "key": {
295
+ "type": "string",
296
+ "maxLength": 1024
297
+ },
298
+ "type": {
299
+ "type": "string",
300
+ "enum": [
301
+ "integration"
302
+ ]
303
+ },
304
+ "config": {
305
+ "type": "object",
306
+ "properties": {
307
+ "connect": {
308
+ "type": "boolean"
309
+ },
310
+ "message": {
311
+ "type": "boolean"
312
+ },
313
+ "disconnect": {
314
+ "type": "boolean"
315
+ },
316
+ "failure": {
317
+ "type": "boolean"
318
+ }
319
+ },
320
+ "additionalProperties": false
321
+ },
322
+ "meta": {
323
+ "type": "object",
324
+ "properties": {
325
+ "category": {
326
+ "type": "string",
327
+ "enum": [
328
+ "trigger"
329
+ ]
330
+ },
331
+ "name": {
332
+ "type": "string",
333
+ "enum": [
334
+ "azureEventHub",
335
+ "googlePubSub",
336
+ "mqtt",
337
+ "particle",
338
+ "sqs",
339
+ "websocket"
340
+ ]
341
+ },
342
+ "label": {
343
+ "type": "string",
344
+ "minLength": 1,
345
+ "maxLength": 255
346
+ },
347
+ "x": {
348
+ "type": "number"
349
+ },
350
+ "y": {
351
+ "type": "number"
352
+ },
353
+ "uiId": {
354
+ "type": "string",
355
+ "maxLength": 48
356
+ },
357
+ "description": {
358
+ "type": "string",
359
+ "maxLength": 32767
360
+ },
361
+ "icon": {
362
+ "type": "string",
363
+ "maxLength": 1024
364
+ },
365
+ "color": {
366
+ "type": "string",
367
+ "maxLength": 1024
368
+ },
369
+ "inputCount": {
370
+ "type": "number"
371
+ },
372
+ "outputCount": {
373
+ "type": "number"
374
+ },
375
+ "triggerId": {
376
+ "type": "string",
377
+ "maxLength": 48
378
+ },
379
+ "id": {
380
+ "type": "string",
381
+ "maxLength": 48
382
+ }
383
+ },
384
+ "additionalProperties": false
385
+ },
386
+ "outputIds": {
387
+ "type": "array",
388
+ "items": {
389
+ "type": "array",
390
+ "items": {
391
+ "type": "string",
392
+ "maxLength": 48,
393
+ "minLength": 1
394
+ },
395
+ "maxItems": 100
396
+ },
397
+ "maxItems": 100
398
+ }
399
+ },
400
+ "required": [
401
+ "type"
402
+ ],
403
+ "additionalProperties": false
404
+ },
298
405
  {
299
406
  "type": "object",
300
407
  "properties": {
@@ -65,7 +65,6 @@
65
65
  "deviceTagConnect",
66
66
  "deviceIdDisconnect",
67
67
  "deviceTagDisconnect",
68
- "integration",
69
68
  "notebook",
70
69
  "onBoot",
71
70
  "onConnect",
@@ -99,21 +98,15 @@
99
98
  "deviceIdsTagsDisconnect",
100
99
  "eeaInit",
101
100
  "flowError",
102
- "azureEventHub",
103
- "googlePubSub",
104
- "mqtt",
105
101
  "notebook",
106
102
  "onBoot",
107
103
  "onConnect",
108
104
  "onDisconnect",
109
- "particle",
110
- "sqs",
111
105
  "udp",
112
106
  "webhook",
113
107
  "resourceJobIteration",
114
108
  "resourceJobIterationTimeout",
115
- "resourceJobComplete",
116
- "websocket"
109
+ "resourceJobComplete"
117
110
  ]
118
111
  },
119
112
  "label": {
@@ -284,6 +277,120 @@
284
277
  ],
285
278
  "additionalProperties": false
286
279
  },
280
+ {
281
+ "type": "object",
282
+ "properties": {
283
+ "key": {
284
+ "type": "string",
285
+ "maxLength": 1024
286
+ },
287
+ "type": {
288
+ "type": "string",
289
+ "enum": [
290
+ "integration"
291
+ ]
292
+ },
293
+ "config": {
294
+ "type": "object",
295
+ "properties": {
296
+ "connect": {
297
+ "type": "boolean"
298
+ },
299
+ "message": {
300
+ "type": "boolean"
301
+ },
302
+ "disconnect": {
303
+ "type": "boolean"
304
+ },
305
+ "failure": {
306
+ "type": "boolean"
307
+ }
308
+ },
309
+ "additionalProperties": false
310
+ },
311
+ "meta": {
312
+ "type": "object",
313
+ "properties": {
314
+ "category": {
315
+ "type": "string",
316
+ "enum": [
317
+ "trigger"
318
+ ]
319
+ },
320
+ "name": {
321
+ "type": "string",
322
+ "enum": [
323
+ "azureEventHub",
324
+ "googlePubSub",
325
+ "mqtt",
326
+ "particle",
327
+ "sqs",
328
+ "websocket"
329
+ ]
330
+ },
331
+ "label": {
332
+ "type": "string",
333
+ "minLength": 1,
334
+ "maxLength": 255
335
+ },
336
+ "x": {
337
+ "type": "number"
338
+ },
339
+ "y": {
340
+ "type": "number"
341
+ },
342
+ "uiId": {
343
+ "type": "string",
344
+ "maxLength": 48
345
+ },
346
+ "description": {
347
+ "type": "string",
348
+ "maxLength": 32767
349
+ },
350
+ "icon": {
351
+ "type": "string",
352
+ "maxLength": 1024
353
+ },
354
+ "color": {
355
+ "type": "string",
356
+ "maxLength": 1024
357
+ },
358
+ "inputCount": {
359
+ "type": "number"
360
+ },
361
+ "outputCount": {
362
+ "type": "number"
363
+ },
364
+ "triggerId": {
365
+ "type": "string",
366
+ "maxLength": 48
367
+ },
368
+ "id": {
369
+ "type": "string",
370
+ "maxLength": 48
371
+ }
372
+ },
373
+ "additionalProperties": false
374
+ },
375
+ "outputIds": {
376
+ "type": "array",
377
+ "items": {
378
+ "type": "array",
379
+ "items": {
380
+ "type": "string",
381
+ "maxLength": 48,
382
+ "minLength": 1
383
+ },
384
+ "maxItems": 100
385
+ },
386
+ "maxItems": 100
387
+ }
388
+ },
389
+ "required": [
390
+ "type"
391
+ ],
392
+ "additionalProperties": false
393
+ },
287
394
  {
288
395
  "type": "object",
289
396
  "properties": {