losant_rest 1.19.4 → 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/LICENSE +1 -1
- data/README.md +9 -9
- data/docs/_schemas.md +7090 -2334
- data/docs/experienceUsers.md +1 -0
- data/docs/instanceAuditLog.md +49 -0
- data/docs/instanceAuditLogs.md +53 -0
- data/examples/auth.rb +1 -1
- data/examples/list_devices.rb +1 -1
- data/lib/platform_rest/application.rb +1 -1
- data/lib/platform_rest/application_api_token.rb +1 -1
- data/lib/platform_rest/application_api_tokens.rb +1 -1
- data/lib/platform_rest/application_certificate.rb +1 -1
- data/lib/platform_rest/application_certificate_authorities.rb +1 -1
- data/lib/platform_rest/application_certificate_authority.rb +1 -1
- data/lib/platform_rest/application_certificates.rb +1 -1
- data/lib/platform_rest/application_dashboard.rb +1 -1
- data/lib/platform_rest/application_dashboards.rb +1 -1
- data/lib/platform_rest/application_key.rb +1 -1
- data/lib/platform_rest/application_keys.rb +1 -1
- data/lib/platform_rest/application_template.rb +1 -1
- data/lib/platform_rest/application_templates.rb +1 -1
- data/lib/platform_rest/applications.rb +1 -1
- data/lib/platform_rest/audit_log.rb +1 -1
- data/lib/platform_rest/audit_logs.rb +1 -1
- data/lib/platform_rest/auth.rb +1 -1
- data/lib/platform_rest/client.rb +11 -3
- data/lib/platform_rest/credential.rb +1 -1
- data/lib/platform_rest/credentials.rb +1 -1
- data/lib/platform_rest/dashboard.rb +1 -1
- data/lib/platform_rest/dashboards.rb +1 -1
- data/lib/platform_rest/data.rb +1 -1
- data/lib/platform_rest/data_table.rb +1 -1
- data/lib/platform_rest/data_table_row.rb +1 -1
- data/lib/platform_rest/data_table_rows.rb +1 -1
- data/lib/platform_rest/data_tables.rb +1 -1
- data/lib/platform_rest/device.rb +1 -1
- data/lib/platform_rest/device_recipe.rb +1 -1
- data/lib/platform_rest/device_recipes.rb +1 -1
- data/lib/platform_rest/devices.rb +1 -1
- data/lib/platform_rest/edge_deployment.rb +1 -1
- data/lib/platform_rest/edge_deployments.rb +1 -1
- data/lib/platform_rest/embedded_deployment.rb +1 -1
- data/lib/platform_rest/embedded_deployments.rb +1 -1
- data/lib/platform_rest/error.rb +1 -1
- data/lib/platform_rest/event.rb +1 -1
- data/lib/platform_rest/events.rb +1 -1
- data/lib/platform_rest/experience.rb +1 -1
- data/lib/platform_rest/experience_domain.rb +1 -1
- data/lib/platform_rest/experience_domains.rb +1 -1
- data/lib/platform_rest/experience_endpoint.rb +1 -1
- data/lib/platform_rest/experience_endpoints.rb +1 -1
- data/lib/platform_rest/experience_group.rb +1 -1
- data/lib/platform_rest/experience_groups.rb +1 -1
- data/lib/platform_rest/experience_slug.rb +1 -1
- data/lib/platform_rest/experience_slugs.rb +1 -1
- data/lib/platform_rest/experience_user.rb +1 -1
- data/lib/platform_rest/experience_users.rb +4 -1
- data/lib/platform_rest/experience_version.rb +1 -1
- data/lib/platform_rest/experience_versions.rb +1 -1
- data/lib/platform_rest/experience_view.rb +1 -1
- data/lib/platform_rest/experience_views.rb +1 -1
- data/lib/platform_rest/file.rb +1 -1
- data/lib/platform_rest/files.rb +1 -1
- data/lib/platform_rest/flow.rb +1 -1
- data/lib/platform_rest/flow_version.rb +1 -1
- data/lib/platform_rest/flow_versions.rb +1 -1
- data/lib/platform_rest/flows.rb +1 -1
- data/lib/platform_rest/instance.rb +1 -1
- data/lib/platform_rest/instance_api_token.rb +1 -1
- data/lib/platform_rest/instance_api_tokens.rb +1 -1
- data/lib/{losant_rest/application_template.rb → platform_rest/instance_audit_log.rb} +13 -11
- data/lib/{losant_rest/audit_logs.rb → platform_rest/instance_audit_logs.rb} +12 -12
- data/lib/platform_rest/instance_custom_node.rb +1 -1
- data/lib/platform_rest/instance_custom_nodes.rb +1 -1
- data/lib/platform_rest/instance_member.rb +1 -1
- data/lib/platform_rest/instance_members.rb +1 -1
- data/lib/platform_rest/instance_org.rb +1 -1
- data/lib/platform_rest/instance_org_invite.rb +1 -1
- data/lib/platform_rest/instance_org_invites.rb +1 -1
- data/lib/platform_rest/instance_org_member.rb +1 -1
- data/lib/platform_rest/instance_org_members.rb +1 -1
- data/lib/platform_rest/instance_orgs.rb +1 -1
- data/lib/platform_rest/instance_sandbox.rb +1 -1
- data/lib/platform_rest/instance_sandboxes.rb +1 -1
- data/lib/platform_rest/instances.rb +1 -1
- data/lib/platform_rest/integration.rb +1 -1
- data/lib/platform_rest/integrations.rb +1 -1
- data/lib/platform_rest/me.rb +1 -1
- data/lib/platform_rest/notebook.rb +1 -1
- data/lib/platform_rest/notebooks.rb +1 -1
- data/lib/platform_rest/org.rb +1 -1
- data/lib/platform_rest/org_invites.rb +1 -1
- data/lib/platform_rest/orgs.rb +1 -1
- data/lib/platform_rest/resource_job.rb +1 -1
- data/lib/platform_rest/resource_jobs.rb +1 -1
- data/lib/platform_rest/user_api_token.rb +1 -1
- data/lib/platform_rest/user_api_tokens.rb +1 -1
- data/lib/platform_rest/utils.rb +1 -1
- data/lib/{losant_rest → platform_rest}/version.rb +3 -3
- data/lib/platform_rest/webhook.rb +1 -1
- data/lib/platform_rest/webhooks.rb +1 -1
- data/lib/platform_rest.rb +3 -1
- data/losant_rest.gemspec +2 -2
- data/schemas/advancedExperienceUserQuery.json +1068 -0
- data/schemas/apiTokenPost.json +9 -1
- data/schemas/auditLog.json +3 -2
- data/schemas/auditLogFilter.json +3 -2
- data/schemas/auditLogs.json +3 -2
- data/schemas/credential.json +95 -1
- data/schemas/credentialLinkedResources.json +417 -19
- data/schemas/credentialPatch.json +107 -0
- data/schemas/credentialPost.json +129 -1
- data/schemas/credentials.json +95 -1
- data/schemas/deviceConnectionStatus.json +6 -2
- data/schemas/devicesHistoricalImportPost.json +25 -0
- data/schemas/experienceLinkedResources.json +343 -20
- 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/experienceView.json +1 -2
- data/schemas/experienceViewPatch.json +1 -2
- data/schemas/experienceViewPost.json +2 -4
- data/schemas/experienceViews.json +1 -2
- data/schemas/flow.json +114 -6
- data/schemas/flowPatch.json +114 -6
- data/schemas/flowPost.json +114 -6
- data/schemas/flowVersion.json +228 -12
- data/schemas/flowVersionPost.json +114 -6
- data/schemas/flowVersions.json +228 -12
- data/schemas/flows.json +114 -6
- data/schemas/flowsImportPost.json +228 -12
- data/schemas/flowsImportResult.json +342 -18
- data/schemas/githubLogin.json +9 -1
- data/schemas/instance.json +1 -4
- data/schemas/instanceAuditLog.json +94 -0
- data/schemas/instanceAuditLogFilter.json +106 -0
- data/schemas/instanceAuditLogs.json +41 -0
- data/schemas/instanceCustomNode.json +2 -1
- data/schemas/instanceCustomNodePatch.json +2 -7
- data/schemas/instanceCustomNodePost.json +2 -7
- data/schemas/instanceCustomNodes.json +2 -1
- data/schemas/instanceOrgMember.json +4 -1
- data/schemas/instances.json +1 -4
- data/schemas/integration.json +75 -1
- data/schemas/integrationPatch.json +73 -0
- data/schemas/integrationPost.json +75 -1
- data/schemas/integrations.json +75 -1
- data/schemas/mePatch.json +18 -0
- data/schemas/resourceJob.json +2 -1
- data/schemas/resourceJobExecutionLogs.json +2 -1
- data/schemas/resourceJobPost.json +2 -1
- data/schemas/resourceJobs.json +2 -1
- data/schemas/samlResponse.json +9 -1
- data/schemas/userCredentials.json +9 -1
- data/schemas/userPost.json +9 -1
- data/test/basic_test.rb +6 -6
- data/test/test_helper.rb +1 -1
- metadata +12 -94
- data/lib/losant_rest/application.rb +0 -932
- data/lib/losant_rest/application_api_token.rb +0 -176
- data/lib/losant_rest/application_api_tokens.rb +0 -136
- data/lib/losant_rest/application_certificate.rb +0 -176
- data/lib/losant_rest/application_certificate_authorities.rb +0 -138
- data/lib/losant_rest/application_certificate_authority.rb +0 -176
- data/lib/losant_rest/application_certificates.rb +0 -138
- data/lib/losant_rest/application_dashboard.rb +0 -225
- data/lib/losant_rest/application_dashboards.rb +0 -138
- data/lib/losant_rest/application_key.rb +0 -176
- data/lib/losant_rest/application_keys.rb +0 -141
- data/lib/losant_rest/application_templates.rb +0 -176
- data/lib/losant_rest/applications.rb +0 -142
- data/lib/losant_rest/audit_log.rb +0 -81
- data/lib/losant_rest/auth.rb +0 -245
- data/lib/losant_rest/client.rb +0 -410
- data/lib/losant_rest/credential.rb +0 -224
- data/lib/losant_rest/credentials.rb +0 -138
- data/lib/losant_rest/dashboard.rb +0 -268
- data/lib/losant_rest/dashboards.rb +0 -136
- data/lib/losant_rest/data.rb +0 -176
- data/lib/losant_rest/data_table.rb +0 -274
- data/lib/losant_rest/data_table_row.rb +0 -182
- data/lib/losant_rest/data_table_rows.rb +0 -343
- data/lib/losant_rest/data_tables.rb +0 -138
- data/lib/losant_rest/device.rb +0 -749
- data/lib/losant_rest/device_recipe.rb +0 -234
- data/lib/losant_rest/device_recipes.rb +0 -146
- data/lib/losant_rest/devices.rb +0 -707
- data/lib/losant_rest/edge_deployment.rb +0 -81
- data/lib/losant_rest/edge_deployments.rb +0 -236
- data/lib/losant_rest/embedded_deployment.rb +0 -81
- data/lib/losant_rest/embedded_deployments.rb +0 -280
- data/lib/losant_rest/error.rb +0 -34
- data/lib/losant_rest/event.rb +0 -176
- data/lib/losant_rest/events.rb +0 -341
- data/lib/losant_rest/experience.rb +0 -142
- data/lib/losant_rest/experience_domain.rb +0 -176
- data/lib/losant_rest/experience_domains.rb +0 -126
- data/lib/losant_rest/experience_endpoint.rb +0 -230
- data/lib/losant_rest/experience_endpoints.rb +0 -200
- data/lib/losant_rest/experience_group.rb +0 -180
- data/lib/losant_rest/experience_groups.rb +0 -141
- data/lib/losant_rest/experience_slug.rb +0 -176
- data/lib/losant_rest/experience_slugs.rb +0 -126
- data/lib/losant_rest/experience_user.rb +0 -176
- data/lib/losant_rest/experience_users.rb +0 -142
- data/lib/losant_rest/experience_version.rb +0 -176
- data/lib/losant_rest/experience_versions.rb +0 -138
- data/lib/losant_rest/experience_view.rb +0 -228
- data/lib/losant_rest/experience_views.rb +0 -142
- data/lib/losant_rest/file.rb +0 -226
- data/lib/losant_rest/files.rb +0 -144
- data/lib/losant_rest/flow.rb +0 -580
- data/lib/losant_rest/flow_version.rb +0 -352
- data/lib/losant_rest/flow_versions.rb +0 -201
- data/lib/losant_rest/flows.rb +0 -310
- data/lib/losant_rest/instance.rb +0 -377
- data/lib/losant_rest/instance_api_token.rb +0 -176
- data/lib/losant_rest/instance_api_tokens.rb +0 -136
- data/lib/losant_rest/instance_custom_node.rb +0 -282
- data/lib/losant_rest/instance_custom_nodes.rb +0 -136
- data/lib/losant_rest/instance_member.rb +0 -176
- data/lib/losant_rest/instance_members.rb +0 -134
- data/lib/losant_rest/instance_org.rb +0 -336
- data/lib/losant_rest/instance_org_invite.rb +0 -182
- data/lib/losant_rest/instance_org_invites.rb +0 -138
- data/lib/losant_rest/instance_org_member.rb +0 -182
- data/lib/losant_rest/instance_org_members.rb +0 -138
- data/lib/losant_rest/instance_orgs.rb +0 -139
- data/lib/losant_rest/instance_sandbox.rb +0 -181
- data/lib/losant_rest/instance_sandboxes.rb +0 -98
- data/lib/losant_rest/instances.rb +0 -88
- data/lib/losant_rest/integration.rb +0 -178
- data/lib/losant_rest/integrations.rb +0 -138
- data/lib/losant_rest/me.rb +0 -790
- data/lib/losant_rest/notebook.rb +0 -423
- data/lib/losant_rest/notebooks.rb +0 -138
- data/lib/losant_rest/org.rb +0 -663
- data/lib/losant_rest/org_invites.rb +0 -124
- data/lib/losant_rest/orgs.rb +0 -140
- data/lib/losant_rest/resource_job.rb +0 -326
- data/lib/losant_rest/resource_jobs.rb +0 -138
- data/lib/losant_rest/user_api_token.rb +0 -170
- data/lib/losant_rest/user_api_tokens.rb +0 -132
- data/lib/losant_rest/utils.rb +0 -44
- data/lib/losant_rest/webhook.rb +0 -178
- data/lib/losant_rest/webhooks.rb +0 -138
- data/lib/losant_rest.rb +0 -129
@@ -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/experienceView.json
CHANGED
@@ -28,8 +28,7 @@
|
|
28
28
|
},
|
29
29
|
"body": {
|
30
30
|
"type": "string",
|
31
|
-
"maxLength": 131072
|
32
|
-
"minLength": 1
|
31
|
+
"maxLength": 131072
|
33
32
|
},
|
34
33
|
"viewTags": {
|
35
34
|
"type": "object",
|
@@ -46,7 +45,6 @@
|
|
46
45
|
"additionalProperties": false,
|
47
46
|
"required": [
|
48
47
|
"name",
|
49
|
-
"viewType"
|
50
|
-
"body"
|
48
|
+
"viewType"
|
51
49
|
]
|
52
50
|
}
|
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,15 +152,10 @@
|
|
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",
|
@@ -337,6 +331,120 @@
|
|
337
331
|
],
|
338
332
|
"additionalProperties": false
|
339
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
|
+
},
|
340
448
|
{
|
341
449
|
"type": "object",
|
342
450
|
"properties": {
|
data/schemas/flowPatch.json
CHANGED
@@ -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,15 +109,10 @@
|
|
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",
|
@@ -294,6 +288,120 @@
|
|
294
288
|
],
|
295
289
|
"additionalProperties": false
|
296
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
|
+
},
|
297
405
|
{
|
298
406
|
"type": "object",
|
299
407
|
"properties": {
|
data/schemas/flowPost.json
CHANGED
@@ -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,15 +98,10 @@
|
|
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",
|
@@ -283,6 +277,120 @@
|
|
283
277
|
],
|
284
278
|
"additionalProperties": false
|
285
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
|
+
},
|
286
394
|
{
|
287
395
|
"type": "object",
|
288
396
|
"properties": {
|