losant_rest 1.12.0 → 1.13.0
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 +1 -1
- data/docs/_schemas.md +4164 -701
- data/docs/events.md +3 -3
- data/docs/flow.md +41 -0
- data/docs/instance.md +128 -0
- data/docs/instanceMember.md +133 -0
- data/docs/instanceMembers.md +91 -0
- data/docs/instanceOrg.md +133 -0
- data/docs/instanceOrgMember.md +139 -0
- data/docs/instanceOrgMembers.md +96 -0
- data/docs/instanceOrgs.md +91 -0
- data/docs/instances.md +50 -0
- data/lib/losant_rest.rb +9 -1
- data/lib/losant_rest/application.rb +2 -2
- data/lib/losant_rest/application_api_token.rb +1 -1
- data/lib/losant_rest/application_api_tokens.rb +1 -1
- data/lib/losant_rest/application_certificate.rb +1 -1
- data/lib/losant_rest/application_certificate_authorities.rb +1 -1
- data/lib/losant_rest/application_certificate_authority.rb +1 -1
- data/lib/losant_rest/application_certificates.rb +1 -1
- data/lib/losant_rest/application_dashboard.rb +1 -1
- data/lib/losant_rest/application_dashboards.rb +1 -1
- data/lib/losant_rest/application_key.rb +1 -1
- data/lib/losant_rest/application_keys.rb +1 -1
- data/lib/losant_rest/application_template.rb +1 -1
- data/lib/losant_rest/application_templates.rb +1 -1
- data/lib/losant_rest/applications.rb +1 -1
- data/lib/losant_rest/audit_log.rb +1 -1
- data/lib/losant_rest/audit_logs.rb +1 -1
- data/lib/losant_rest/auth.rb +1 -1
- data/lib/losant_rest/client.rb +35 -3
- data/lib/losant_rest/dashboard.rb +1 -1
- data/lib/losant_rest/dashboards.rb +1 -1
- data/lib/losant_rest/data.rb +1 -1
- data/lib/losant_rest/data_table.rb +1 -1
- data/lib/losant_rest/data_table_row.rb +1 -1
- data/lib/losant_rest/data_table_rows.rb +1 -1
- data/lib/losant_rest/data_tables.rb +1 -1
- data/lib/losant_rest/device.rb +1 -1
- data/lib/losant_rest/device_recipe.rb +1 -1
- data/lib/losant_rest/device_recipes.rb +1 -1
- data/lib/losant_rest/devices.rb +1 -1
- data/lib/losant_rest/edge_deployments.rb +1 -1
- data/lib/losant_rest/error.rb +1 -1
- data/lib/losant_rest/event.rb +1 -1
- data/lib/losant_rest/events.rb +4 -4
- data/lib/losant_rest/experience.rb +1 -1
- data/lib/losant_rest/experience_domain.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +1 -1
- data/lib/losant_rest/experience_endpoint.rb +1 -1
- data/lib/losant_rest/experience_endpoints.rb +1 -1
- data/lib/losant_rest/experience_group.rb +1 -1
- data/lib/losant_rest/experience_groups.rb +1 -1
- data/lib/losant_rest/experience_slug.rb +1 -1
- data/lib/losant_rest/experience_slugs.rb +1 -1
- data/lib/losant_rest/experience_user.rb +1 -1
- data/lib/losant_rest/experience_users.rb +1 -1
- data/lib/losant_rest/experience_version.rb +1 -1
- data/lib/losant_rest/experience_versions.rb +1 -1
- data/lib/losant_rest/experience_view.rb +1 -1
- data/lib/losant_rest/experience_views.rb +1 -1
- data/lib/losant_rest/file.rb +1 -1
- data/lib/losant_rest/files.rb +1 -1
- data/lib/losant_rest/flow.rb +47 -1
- data/lib/losant_rest/flow_version.rb +1 -1
- data/lib/losant_rest/flow_versions.rb +1 -1
- data/lib/losant_rest/flows.rb +1 -1
- data/lib/losant_rest/instance.rb +181 -0
- data/lib/losant_rest/instance_member.rb +176 -0
- data/lib/losant_rest/instance_members.rb +134 -0
- data/lib/losant_rest/instance_org.rb +176 -0
- data/lib/losant_rest/instance_org_member.rb +182 -0
- data/lib/losant_rest/instance_org_members.rb +138 -0
- data/lib/losant_rest/instance_orgs.rb +139 -0
- data/lib/losant_rest/instances.rb +88 -0
- data/lib/losant_rest/integration.rb +1 -1
- data/lib/losant_rest/integrations.rb +1 -1
- data/lib/losant_rest/me.rb +2 -2
- data/lib/losant_rest/notebook.rb +1 -1
- data/lib/losant_rest/notebooks.rb +1 -1
- data/lib/losant_rest/org.rb +2 -2
- data/lib/losant_rest/org_invites.rb +1 -1
- data/lib/losant_rest/orgs.rb +1 -1
- data/lib/losant_rest/utils.rb +1 -1
- data/lib/losant_rest/version.rb +2 -2
- data/lib/losant_rest/webhook.rb +1 -1
- data/lib/losant_rest/webhooks.rb +1 -1
- data/schemas/advancedDeviceQuery.json +309 -0
- data/schemas/applicationApiTokenPost.json +1 -0
- data/schemas/applicationDashboardPost.json +19 -1
- data/schemas/dashboard.json +19 -1
- data/schemas/dashboardPatch.json +19 -1
- data/schemas/dashboardPost.json +19 -1
- data/schemas/dashboards.json +19 -1
- data/schemas/devicesDeletePost.json +309 -0
- data/schemas/devicesExportPost.json +309 -0
- data/schemas/devicesPatch.json +309 -0
- data/schemas/devicesRemoveDataPost.json +309 -0
- data/schemas/filePost.json +8 -2
- data/schemas/flowStorageMetadata.json +13 -0
- data/schemas/githubLogin.json +35 -11
- data/schemas/historicalSummaries.json +43 -0
- data/schemas/historicalSummary.json +455 -0
- data/schemas/instanceMember.json +37 -0
- data/schemas/instanceMemberPatch.json +17 -0
- data/schemas/instanceMemberPost.json +22 -0
- data/schemas/instanceMembers.json +69 -0
- data/schemas/instanceOrg.json +14 -0
- data/schemas/instanceOrgMember.json +37 -0
- data/schemas/instanceOrgMemberPatch.json +69 -0
- data/schemas/instanceOrgMemberPost.json +161 -0
- data/schemas/instanceOrgMembers.json +34 -0
- data/schemas/instanceOrgPatch.json +19 -0
- data/schemas/instanceOrgPost.json +11 -0
- data/schemas/instanceOrgs.json +14 -0
- data/schemas/instanceReportOptionsPost.json +40 -0
- data/schemas/multiDeviceCommand.json +309 -0
- data/schemas/orgPatch.json +0 -9
- data/schemas/payloadStats.json +110 -0
- data/schemas/userCredentials.json +35 -11
- data/schemas/userPost.json +35 -11
- metadata +31 -2
@@ -247,6 +247,7 @@
|
|
247
247
|
"flow.patch",
|
248
248
|
"flow.pressVirtualButton",
|
249
249
|
"flow.setStorageEntry",
|
250
|
+
"flow.getStorageEntriesMetadata",
|
250
251
|
"flow.stats",
|
251
252
|
"flows.get",
|
252
253
|
"flows.getByVersion",
|
@@ -320,6 +321,38 @@
|
|
320
321
|
}
|
321
322
|
]
|
322
323
|
},
|
324
|
+
{
|
325
|
+
"type": "string",
|
326
|
+
"enum": [
|
327
|
+
"all.Instance",
|
328
|
+
"all.Instance.read",
|
329
|
+
"instance.*",
|
330
|
+
"instance.get",
|
331
|
+
"instance.historicalSummaries",
|
332
|
+
"instance.generateReport",
|
333
|
+
"instanceOrg.*",
|
334
|
+
"instanceOrg.get",
|
335
|
+
"instanceOrg.patch",
|
336
|
+
"instanceOrg.delete",
|
337
|
+
"instanceOrgs.*",
|
338
|
+
"instanceOrgs.get",
|
339
|
+
"instanceOrgs.post",
|
340
|
+
"instanceMember.*",
|
341
|
+
"instanceMember.get",
|
342
|
+
"instanceMember.patch",
|
343
|
+
"instanceMember.delete",
|
344
|
+
"instanceMembers.*",
|
345
|
+
"instanceMembers.get",
|
346
|
+
"instanceMembers.post",
|
347
|
+
"instanceOrgMember.*",
|
348
|
+
"instanceOrgMember.get",
|
349
|
+
"instanceOrgMember.patch",
|
350
|
+
"instanceOrgMember.delete",
|
351
|
+
"instanceOrgMembers.*",
|
352
|
+
"instanceOrgMembers.get",
|
353
|
+
"instanceOrgMembers.post"
|
354
|
+
]
|
355
|
+
},
|
323
356
|
{
|
324
357
|
"type": "string",
|
325
358
|
"enum": [
|
@@ -331,19 +364,9 @@
|
|
331
364
|
"applicationTemplates.get",
|
332
365
|
"applicationTemplates.getCategories",
|
333
366
|
"applicationTemplates.getUniqueKeywords",
|
334
|
-
"me.*",
|
335
|
-
"orgs.*",
|
336
|
-
"instance.*",
|
337
|
-
"instance.get",
|
338
367
|
"instances.*",
|
339
368
|
"instances.get",
|
340
|
-
"
|
341
|
-
"instanceOrg.get",
|
342
|
-
"instanceOrg.patch",
|
343
|
-
"instanceOrg.delete",
|
344
|
-
"instanceOrgs.*",
|
345
|
-
"instanceOrgs.get",
|
346
|
-
"instanceOrgs.post",
|
369
|
+
"me.*",
|
347
370
|
"me.get",
|
348
371
|
"me.patch",
|
349
372
|
"me.delete",
|
@@ -357,6 +380,7 @@
|
|
357
380
|
"me.fetchRecentItems",
|
358
381
|
"me.payloadCounts",
|
359
382
|
"me.transferResources",
|
383
|
+
"orgs.*",
|
360
384
|
"orgs.get",
|
361
385
|
"orgs.post"
|
362
386
|
]
|
data/schemas/userPost.json
CHANGED
@@ -306,6 +306,7 @@
|
|
306
306
|
"flow.patch",
|
307
307
|
"flow.pressVirtualButton",
|
308
308
|
"flow.setStorageEntry",
|
309
|
+
"flow.getStorageEntriesMetadata",
|
309
310
|
"flow.stats",
|
310
311
|
"flows.get",
|
311
312
|
"flows.getByVersion",
|
@@ -379,6 +380,38 @@
|
|
379
380
|
}
|
380
381
|
]
|
381
382
|
},
|
383
|
+
{
|
384
|
+
"type": "string",
|
385
|
+
"enum": [
|
386
|
+
"all.Instance",
|
387
|
+
"all.Instance.read",
|
388
|
+
"instance.*",
|
389
|
+
"instance.get",
|
390
|
+
"instance.historicalSummaries",
|
391
|
+
"instance.generateReport",
|
392
|
+
"instanceOrg.*",
|
393
|
+
"instanceOrg.get",
|
394
|
+
"instanceOrg.patch",
|
395
|
+
"instanceOrg.delete",
|
396
|
+
"instanceOrgs.*",
|
397
|
+
"instanceOrgs.get",
|
398
|
+
"instanceOrgs.post",
|
399
|
+
"instanceMember.*",
|
400
|
+
"instanceMember.get",
|
401
|
+
"instanceMember.patch",
|
402
|
+
"instanceMember.delete",
|
403
|
+
"instanceMembers.*",
|
404
|
+
"instanceMembers.get",
|
405
|
+
"instanceMembers.post",
|
406
|
+
"instanceOrgMember.*",
|
407
|
+
"instanceOrgMember.get",
|
408
|
+
"instanceOrgMember.patch",
|
409
|
+
"instanceOrgMember.delete",
|
410
|
+
"instanceOrgMembers.*",
|
411
|
+
"instanceOrgMembers.get",
|
412
|
+
"instanceOrgMembers.post"
|
413
|
+
]
|
414
|
+
},
|
382
415
|
{
|
383
416
|
"type": "string",
|
384
417
|
"enum": [
|
@@ -390,19 +423,9 @@
|
|
390
423
|
"applicationTemplates.get",
|
391
424
|
"applicationTemplates.getCategories",
|
392
425
|
"applicationTemplates.getUniqueKeywords",
|
393
|
-
"me.*",
|
394
|
-
"orgs.*",
|
395
|
-
"instance.*",
|
396
|
-
"instance.get",
|
397
426
|
"instances.*",
|
398
427
|
"instances.get",
|
399
|
-
"
|
400
|
-
"instanceOrg.get",
|
401
|
-
"instanceOrg.patch",
|
402
|
-
"instanceOrg.delete",
|
403
|
-
"instanceOrgs.*",
|
404
|
-
"instanceOrgs.get",
|
405
|
-
"instanceOrgs.post",
|
428
|
+
"me.*",
|
406
429
|
"me.get",
|
407
430
|
"me.patch",
|
408
431
|
"me.delete",
|
@@ -416,6 +439,7 @@
|
|
416
439
|
"me.fetchRecentItems",
|
417
440
|
"me.payloadCounts",
|
418
441
|
"me.transferResources",
|
442
|
+
"orgs.*",
|
419
443
|
"orgs.get",
|
420
444
|
"orgs.post"
|
421
445
|
]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: losant_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kuehl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -134,6 +134,14 @@ files:
|
|
134
134
|
- docs/flowVersion.md
|
135
135
|
- docs/flowVersions.md
|
136
136
|
- docs/flows.md
|
137
|
+
- docs/instance.md
|
138
|
+
- docs/instanceMember.md
|
139
|
+
- docs/instanceMembers.md
|
140
|
+
- docs/instanceOrg.md
|
141
|
+
- docs/instanceOrgMember.md
|
142
|
+
- docs/instanceOrgMembers.md
|
143
|
+
- docs/instanceOrgs.md
|
144
|
+
- docs/instances.md
|
137
145
|
- docs/integration.md
|
138
146
|
- docs/integrations.md
|
139
147
|
- docs/me.md
|
@@ -201,6 +209,14 @@ files:
|
|
201
209
|
- lib/losant_rest/flow_version.rb
|
202
210
|
- lib/losant_rest/flow_versions.rb
|
203
211
|
- lib/losant_rest/flows.rb
|
212
|
+
- lib/losant_rest/instance.rb
|
213
|
+
- lib/losant_rest/instance_member.rb
|
214
|
+
- lib/losant_rest/instance_members.rb
|
215
|
+
- lib/losant_rest/instance_org.rb
|
216
|
+
- lib/losant_rest/instance_org_member.rb
|
217
|
+
- lib/losant_rest/instance_org_members.rb
|
218
|
+
- lib/losant_rest/instance_orgs.rb
|
219
|
+
- lib/losant_rest/instances.rb
|
204
220
|
- lib/losant_rest/integration.rb
|
205
221
|
- lib/losant_rest/integrations.rb
|
206
222
|
- lib/losant_rest/me.rb
|
@@ -376,6 +392,7 @@ files:
|
|
376
392
|
- schemas/flowStats.json
|
377
393
|
- schemas/flowStorageEntries.json
|
378
394
|
- schemas/flowStorageEntry.json
|
395
|
+
- schemas/flowStorageMetadata.json
|
379
396
|
- schemas/flowTriggerFilter.json
|
380
397
|
- schemas/flowVersion.json
|
381
398
|
- schemas/flowVersionPatch.json
|
@@ -385,11 +402,22 @@ files:
|
|
385
402
|
- schemas/flowsImportPost.json
|
386
403
|
- schemas/flowsImportResult.json
|
387
404
|
- schemas/githubLogin.json
|
405
|
+
- schemas/historicalSummaries.json
|
406
|
+
- schemas/historicalSummary.json
|
388
407
|
- schemas/instance.json
|
408
|
+
- schemas/instanceMember.json
|
409
|
+
- schemas/instanceMemberPatch.json
|
410
|
+
- schemas/instanceMemberPost.json
|
411
|
+
- schemas/instanceMembers.json
|
389
412
|
- schemas/instanceOrg.json
|
413
|
+
- schemas/instanceOrgMember.json
|
414
|
+
- schemas/instanceOrgMemberPatch.json
|
415
|
+
- schemas/instanceOrgMemberPost.json
|
416
|
+
- schemas/instanceOrgMembers.json
|
390
417
|
- schemas/instanceOrgPatch.json
|
391
418
|
- schemas/instanceOrgPost.json
|
392
419
|
- schemas/instanceOrgs.json
|
420
|
+
- schemas/instanceReportOptionsPost.json
|
393
421
|
- schemas/instances.json
|
394
422
|
- schemas/integration.json
|
395
423
|
- schemas/integrationPatch.json
|
@@ -423,6 +451,7 @@ files:
|
|
423
451
|
- schemas/passwordResetInput.json
|
424
452
|
- schemas/passwordResetResponse.json
|
425
453
|
- schemas/payloadCounts.json
|
454
|
+
- schemas/payloadStats.json
|
426
455
|
- schemas/recentItem.json
|
427
456
|
- schemas/recentItemList.json
|
428
457
|
- schemas/resourceTransfer.json
|