losant_rest 1.16.3 → 1.16.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +1131 -127
  3. data/docs/dashboard.md +2 -0
  4. data/docs/device.md +4 -0
  5. data/docs/devices.md +4 -0
  6. data/docs/me.md +36 -0
  7. data/lib/losant_rest/client.rb +2 -2
  8. data/lib/losant_rest/dashboard.rb +4 -0
  9. data/lib/losant_rest/device.rb +8 -0
  10. data/lib/losant_rest/devices.rb +8 -0
  11. data/lib/losant_rest/me.rb +41 -0
  12. data/lib/losant_rest/version.rb +1 -1
  13. data/schemas/apiTokenPost.json +1 -0
  14. data/schemas/applicationDashboardPost.json +152 -24
  15. data/schemas/dashboard.json +152 -24
  16. data/schemas/dashboardPatch.json +152 -24
  17. data/schemas/dashboardPost.json +152 -24
  18. data/schemas/dashboards.json +152 -24
  19. data/schemas/enableTwoFactorAuth.json +5 -1
  20. data/schemas/experienceLinkedResources.json +3 -0
  21. data/schemas/experienceVersion.json +27 -0
  22. data/schemas/experienceVersionPatch.json +27 -0
  23. data/schemas/experienceVersionPost.json +39 -0
  24. data/schemas/experienceVersions.json +27 -0
  25. data/schemas/flow.json +1 -0
  26. data/schemas/flowPatch.json +1 -0
  27. data/schemas/flowPost.json +1 -0
  28. data/schemas/flowVersion.json +2 -0
  29. data/schemas/flowVersionPost.json +1 -0
  30. data/schemas/flowVersions.json +2 -0
  31. data/schemas/flows.json +1 -0
  32. data/schemas/flowsImportPost.json +2 -0
  33. data/schemas/flowsImportResult.json +3 -0
  34. data/schemas/githubLogin.json +1 -0
  35. data/schemas/importIntoApplicationOptions.json +7 -1
  36. data/schemas/importNewApplicationOptions.json +1 -0
  37. data/schemas/instanceCustomNodePatch.json +1 -0
  38. data/schemas/instanceCustomNodePost.json +1 -0
  39. data/schemas/integration.json +34 -1
  40. data/schemas/integrationPatch.json +34 -1
  41. data/schemas/integrationPost.json +34 -1
  42. data/schemas/integrations.json +34 -1
  43. data/schemas/samlResponse.json +1 -0
  44. data/schemas/twoFactorAuthInfo.json +15 -0
  45. data/schemas/userCredentials.json +1 -0
  46. data/schemas/userPost.json +1 -0
  47. data/schemas/validateContextError.json +3 -0
  48. data/schemas/validateContextSuccess.json +27 -0
  49. metadata +3 -2
data/docs/_schemas.md CHANGED
@@ -255,6 +255,7 @@
255
255
  * [Template Keywords](#template-keywords)
256
256
  * [Time Series Data](#time-series-data)
257
257
  * [Time Series Query](#time-series-query)
258
+ * [Two Factor Auth Info](#two-factor-auth-info)
258
259
  * [User Credentials](#user-credentials)
259
260
  * [User Post](#user-post)
260
261
  * [Validate Context Error](#validate-context-error)
@@ -7891,6 +7892,7 @@ Schema for the body of an API Token creation request
7891
7892
  "me.delete",
7892
7893
  "me.verifyEmail",
7893
7894
  "me.changePassword",
7895
+ "me.generateTwoFactorAuth",
7894
7896
  "me.enableTwoFactorAuth",
7895
7897
  "me.disableTwoFactorAuth",
7896
7898
  "me.disconnectGithub",
@@ -10187,8 +10189,18 @@ Schema for the body of an Application scoped Dashboard creation request
10187
10189
  "type": "boolean"
10188
10190
  },
10189
10191
  "duration": {
10190
- "type": "integer",
10191
- "minimum": 0
10192
+ "oneOf": [
10193
+ {
10194
+ "type": "integer",
10195
+ "minimum": 0
10196
+ },
10197
+ {
10198
+ "type": "string",
10199
+ "enum": [
10200
+ "{{dashboard.duration}}"
10201
+ ]
10202
+ }
10203
+ ]
10192
10204
  },
10193
10205
  "xAxisFormat": {
10194
10206
  "type": "string",
@@ -10629,8 +10641,18 @@ Schema for the body of an Application scoped Dashboard creation request
10629
10641
  }
10630
10642
  },
10631
10643
  "duration": {
10632
- "type": "integer",
10633
- "minimum": 0
10644
+ "oneOf": [
10645
+ {
10646
+ "type": "integer",
10647
+ "minimum": 0
10648
+ },
10649
+ {
10650
+ "type": "string",
10651
+ "enum": [
10652
+ "{{dashboard.duration}}"
10653
+ ]
10654
+ }
10655
+ ]
10634
10656
  },
10635
10657
  "resolution": {
10636
10658
  "oneOf": [
@@ -10802,8 +10824,18 @@ Schema for the body of an Application scoped Dashboard creation request
10802
10824
  }
10803
10825
  },
10804
10826
  "duration": {
10805
- "type": "integer",
10806
- "minimum": 0
10827
+ "oneOf": [
10828
+ {
10829
+ "type": "integer",
10830
+ "minimum": 0
10831
+ },
10832
+ {
10833
+ "type": "string",
10834
+ "enum": [
10835
+ "{{dashboard.duration}}"
10836
+ ]
10837
+ }
10838
+ ]
10807
10839
  }
10808
10840
  },
10809
10841
  "additionalProperties": false
@@ -11538,8 +11570,18 @@ Schema for the body of an Application scoped Dashboard creation request
11538
11570
  }
11539
11571
  },
11540
11572
  "duration": {
11541
- "type": "integer",
11542
- "minimum": 0
11573
+ "oneOf": [
11574
+ {
11575
+ "type": "integer",
11576
+ "minimum": 0
11577
+ },
11578
+ {
11579
+ "type": "string",
11580
+ "enum": [
11581
+ "{{dashboard.duration}}"
11582
+ ]
11583
+ }
11584
+ ]
11543
11585
  },
11544
11586
  "sortDirection": {
11545
11587
  "type": "integer",
@@ -11788,8 +11830,18 @@ Schema for the body of an Application scoped Dashboard creation request
11788
11830
  "type": "boolean"
11789
11831
  },
11790
11832
  "duration": {
11791
- "type": "integer",
11792
- "minimum": 0
11833
+ "oneOf": [
11834
+ {
11835
+ "type": "integer",
11836
+ "minimum": 0
11837
+ },
11838
+ {
11839
+ "type": "string",
11840
+ "enum": [
11841
+ "{{dashboard.duration}}"
11842
+ ]
11843
+ }
11844
+ ]
11793
11845
  },
11794
11846
  "gaugeMax": {
11795
11847
  "oneOf": [
@@ -12110,8 +12162,18 @@ Schema for the body of an Application scoped Dashboard creation request
12110
12162
  "type": "boolean"
12111
12163
  },
12112
12164
  "duration": {
12113
- "type": "integer",
12114
- "minimum": 0
12165
+ "oneOf": [
12166
+ {
12167
+ "type": "integer",
12168
+ "minimum": 0
12169
+ },
12170
+ {
12171
+ "type": "string",
12172
+ "enum": [
12173
+ "{{dashboard.duration}}"
12174
+ ]
12175
+ }
12176
+ ]
12115
12177
  },
12116
12178
  "resolution": {
12117
12179
  "oneOf": [
@@ -12486,8 +12548,18 @@ Schema for the body of an Application scoped Dashboard creation request
12486
12548
  }
12487
12549
  },
12488
12550
  "duration": {
12489
- "type": "integer",
12490
- "minimum": 0
12551
+ "oneOf": [
12552
+ {
12553
+ "type": "integer",
12554
+ "minimum": 0
12555
+ },
12556
+ {
12557
+ "type": "string",
12558
+ "enum": [
12559
+ "{{dashboard.duration}}"
12560
+ ]
12561
+ }
12562
+ ]
12491
12563
  },
12492
12564
  "locationTagKey": {
12493
12565
  "oneOf": [
@@ -12875,8 +12947,18 @@ Schema for the body of an Application scoped Dashboard creation request
12875
12947
  }
12876
12948
  },
12877
12949
  "duration": {
12878
- "type": "integer",
12879
- "minimum": 0
12950
+ "oneOf": [
12951
+ {
12952
+ "type": "integer",
12953
+ "minimum": 0
12954
+ },
12955
+ {
12956
+ "type": "string",
12957
+ "enum": [
12958
+ "{{dashboard.duration}}"
12959
+ ]
12960
+ }
12961
+ ]
12880
12962
  }
12881
12963
  },
12882
12964
  "additionalProperties": false
@@ -13331,8 +13413,18 @@ Schema for the body of an Application scoped Dashboard creation request
13331
13413
  "type": "boolean"
13332
13414
  },
13333
13415
  "duration": {
13334
- "type": "integer",
13335
- "minimum": 0
13416
+ "oneOf": [
13417
+ {
13418
+ "type": "integer",
13419
+ "minimum": 0
13420
+ },
13421
+ {
13422
+ "type": "string",
13423
+ "enum": [
13424
+ "{{dashboard.duration}}"
13425
+ ]
13426
+ }
13427
+ ]
13336
13428
  },
13337
13429
  "segments": {
13338
13430
  "type": "array",
@@ -14760,8 +14852,18 @@ Schema for the body of an Application scoped Dashboard creation request
14760
14852
  }
14761
14853
  },
14762
14854
  "duration": {
14763
- "type": "integer",
14764
- "minimum": 0
14855
+ "oneOf": [
14856
+ {
14857
+ "type": "integer",
14858
+ "minimum": 0
14859
+ },
14860
+ {
14861
+ "type": "string",
14862
+ "enum": [
14863
+ "{{dashboard.duration}}"
14864
+ ]
14865
+ }
14866
+ ]
14765
14867
  },
14766
14868
  "endColor": {
14767
14869
  "type": "string",
@@ -14956,8 +15058,18 @@ Schema for the body of an Application scoped Dashboard creation request
14956
15058
  "type": "boolean"
14957
15059
  },
14958
15060
  "duration": {
14959
- "type": "integer",
14960
- "minimum": 0
15061
+ "oneOf": [
15062
+ {
15063
+ "type": "integer",
15064
+ "minimum": 0
15065
+ },
15066
+ {
15067
+ "type": "string",
15068
+ "enum": [
15069
+ "{{dashboard.duration}}"
15070
+ ]
15071
+ }
15072
+ ]
14961
15073
  },
14962
15074
  "percentFormat": {
14963
15075
  "type": "string",
@@ -15271,8 +15383,18 @@ Schema for the body of an Application scoped Dashboard creation request
15271
15383
  }
15272
15384
  },
15273
15385
  "duration": {
15274
- "type": "integer",
15275
- "minimum": 0
15386
+ "oneOf": [
15387
+ {
15388
+ "type": "integer",
15389
+ "minimum": 0
15390
+ },
15391
+ {
15392
+ "type": "string",
15393
+ "enum": [
15394
+ "{{dashboard.duration}}"
15395
+ ]
15396
+ }
15397
+ ]
15276
15398
  },
15277
15399
  "endColor": {
15278
15400
  "type": "string",
@@ -15503,6 +15625,14 @@ Schema for the body of an Application scoped Dashboard creation request
15503
15625
  "minimum": 5,
15504
15626
  "maximum": 600
15505
15627
  },
15628
+ "duration": {
15629
+ "type": "integer",
15630
+ "minimum": 1
15631
+ },
15632
+ "resolution": {
15633
+ "type": "integer",
15634
+ "minimum": 1
15635
+ },
15506
15636
  "defaultTheme": {
15507
15637
  "type": "string",
15508
15638
  "enum": [
@@ -19266,6 +19396,14 @@ Schema for a single Dashboard
19266
19396
  "minimum": 5,
19267
19397
  "maximum": 600
19268
19398
  },
19399
+ "duration": {
19400
+ "type": "integer",
19401
+ "minimum": 1
19402
+ },
19403
+ "resolution": {
19404
+ "type": "integer",
19405
+ "minimum": 1
19406
+ },
19269
19407
  "defaultTheme": {
19270
19408
  "type": "string",
19271
19409
  "enum": [
@@ -19460,8 +19598,18 @@ Schema for a single Dashboard
19460
19598
  "type": "boolean"
19461
19599
  },
19462
19600
  "duration": {
19463
- "type": "integer",
19464
- "minimum": 0
19601
+ "oneOf": [
19602
+ {
19603
+ "type": "integer",
19604
+ "minimum": 0
19605
+ },
19606
+ {
19607
+ "type": "string",
19608
+ "enum": [
19609
+ "{{dashboard.duration}}"
19610
+ ]
19611
+ }
19612
+ ]
19465
19613
  },
19466
19614
  "xAxisFormat": {
19467
19615
  "type": "string",
@@ -19902,8 +20050,18 @@ Schema for a single Dashboard
19902
20050
  }
19903
20051
  },
19904
20052
  "duration": {
19905
- "type": "integer",
19906
- "minimum": 0
20053
+ "oneOf": [
20054
+ {
20055
+ "type": "integer",
20056
+ "minimum": 0
20057
+ },
20058
+ {
20059
+ "type": "string",
20060
+ "enum": [
20061
+ "{{dashboard.duration}}"
20062
+ ]
20063
+ }
20064
+ ]
19907
20065
  },
19908
20066
  "resolution": {
19909
20067
  "oneOf": [
@@ -20075,8 +20233,18 @@ Schema for a single Dashboard
20075
20233
  }
20076
20234
  },
20077
20235
  "duration": {
20078
- "type": "integer",
20079
- "minimum": 0
20236
+ "oneOf": [
20237
+ {
20238
+ "type": "integer",
20239
+ "minimum": 0
20240
+ },
20241
+ {
20242
+ "type": "string",
20243
+ "enum": [
20244
+ "{{dashboard.duration}}"
20245
+ ]
20246
+ }
20247
+ ]
20080
20248
  }
20081
20249
  },
20082
20250
  "additionalProperties": false
@@ -20811,8 +20979,18 @@ Schema for a single Dashboard
20811
20979
  }
20812
20980
  },
20813
20981
  "duration": {
20814
- "type": "integer",
20815
- "minimum": 0
20982
+ "oneOf": [
20983
+ {
20984
+ "type": "integer",
20985
+ "minimum": 0
20986
+ },
20987
+ {
20988
+ "type": "string",
20989
+ "enum": [
20990
+ "{{dashboard.duration}}"
20991
+ ]
20992
+ }
20993
+ ]
20816
20994
  },
20817
20995
  "sortDirection": {
20818
20996
  "type": "integer",
@@ -21061,8 +21239,18 @@ Schema for a single Dashboard
21061
21239
  "type": "boolean"
21062
21240
  },
21063
21241
  "duration": {
21064
- "type": "integer",
21065
- "minimum": 0
21242
+ "oneOf": [
21243
+ {
21244
+ "type": "integer",
21245
+ "minimum": 0
21246
+ },
21247
+ {
21248
+ "type": "string",
21249
+ "enum": [
21250
+ "{{dashboard.duration}}"
21251
+ ]
21252
+ }
21253
+ ]
21066
21254
  },
21067
21255
  "gaugeMax": {
21068
21256
  "oneOf": [
@@ -21383,8 +21571,18 @@ Schema for a single Dashboard
21383
21571
  "type": "boolean"
21384
21572
  },
21385
21573
  "duration": {
21386
- "type": "integer",
21387
- "minimum": 0
21574
+ "oneOf": [
21575
+ {
21576
+ "type": "integer",
21577
+ "minimum": 0
21578
+ },
21579
+ {
21580
+ "type": "string",
21581
+ "enum": [
21582
+ "{{dashboard.duration}}"
21583
+ ]
21584
+ }
21585
+ ]
21388
21586
  },
21389
21587
  "resolution": {
21390
21588
  "oneOf": [
@@ -21759,8 +21957,18 @@ Schema for a single Dashboard
21759
21957
  }
21760
21958
  },
21761
21959
  "duration": {
21762
- "type": "integer",
21763
- "minimum": 0
21960
+ "oneOf": [
21961
+ {
21962
+ "type": "integer",
21963
+ "minimum": 0
21964
+ },
21965
+ {
21966
+ "type": "string",
21967
+ "enum": [
21968
+ "{{dashboard.duration}}"
21969
+ ]
21970
+ }
21971
+ ]
21764
21972
  },
21765
21973
  "locationTagKey": {
21766
21974
  "oneOf": [
@@ -22148,8 +22356,18 @@ Schema for a single Dashboard
22148
22356
  }
22149
22357
  },
22150
22358
  "duration": {
22151
- "type": "integer",
22152
- "minimum": 0
22359
+ "oneOf": [
22360
+ {
22361
+ "type": "integer",
22362
+ "minimum": 0
22363
+ },
22364
+ {
22365
+ "type": "string",
22366
+ "enum": [
22367
+ "{{dashboard.duration}}"
22368
+ ]
22369
+ }
22370
+ ]
22153
22371
  }
22154
22372
  },
22155
22373
  "additionalProperties": false
@@ -22604,8 +22822,18 @@ Schema for a single Dashboard
22604
22822
  "type": "boolean"
22605
22823
  },
22606
22824
  "duration": {
22607
- "type": "integer",
22608
- "minimum": 0
22825
+ "oneOf": [
22826
+ {
22827
+ "type": "integer",
22828
+ "minimum": 0
22829
+ },
22830
+ {
22831
+ "type": "string",
22832
+ "enum": [
22833
+ "{{dashboard.duration}}"
22834
+ ]
22835
+ }
22836
+ ]
22609
22837
  },
22610
22838
  "segments": {
22611
22839
  "type": "array",
@@ -24033,8 +24261,18 @@ Schema for a single Dashboard
24033
24261
  }
24034
24262
  },
24035
24263
  "duration": {
24036
- "type": "integer",
24037
- "minimum": 0
24264
+ "oneOf": [
24265
+ {
24266
+ "type": "integer",
24267
+ "minimum": 0
24268
+ },
24269
+ {
24270
+ "type": "string",
24271
+ "enum": [
24272
+ "{{dashboard.duration}}"
24273
+ ]
24274
+ }
24275
+ ]
24038
24276
  },
24039
24277
  "endColor": {
24040
24278
  "type": "string",
@@ -24229,8 +24467,18 @@ Schema for a single Dashboard
24229
24467
  "type": "boolean"
24230
24468
  },
24231
24469
  "duration": {
24232
- "type": "integer",
24233
- "minimum": 0
24470
+ "oneOf": [
24471
+ {
24472
+ "type": "integer",
24473
+ "minimum": 0
24474
+ },
24475
+ {
24476
+ "type": "string",
24477
+ "enum": [
24478
+ "{{dashboard.duration}}"
24479
+ ]
24480
+ }
24481
+ ]
24234
24482
  },
24235
24483
  "percentFormat": {
24236
24484
  "type": "string",
@@ -24544,8 +24792,18 @@ Schema for a single Dashboard
24544
24792
  }
24545
24793
  },
24546
24794
  "duration": {
24547
- "type": "integer",
24548
- "minimum": 0
24795
+ "oneOf": [
24796
+ {
24797
+ "type": "integer",
24798
+ "minimum": 0
24799
+ },
24800
+ {
24801
+ "type": "string",
24802
+ "enum": [
24803
+ "{{dashboard.duration}}"
24804
+ ]
24805
+ }
24806
+ ]
24549
24807
  },
24550
24808
  "endColor": {
24551
24809
  "type": "string",
@@ -25113,6 +25371,8 @@ Schema for a single Dashboard
25113
25371
  "isPasswordProtected": false,
25114
25372
  "defaultTheme": "light",
25115
25373
  "blocks": [],
25374
+ "duration": 600000,
25375
+ "resolution": 6000,
25116
25376
  "_currentRole": "admin",
25117
25377
  "reportConfigs": [
25118
25378
  {
@@ -25384,8 +25644,18 @@ Schema for the body of a Dashboard modification request
25384
25644
  "type": "boolean"
25385
25645
  },
25386
25646
  "duration": {
25387
- "type": "integer",
25388
- "minimum": 0
25647
+ "oneOf": [
25648
+ {
25649
+ "type": "integer",
25650
+ "minimum": 0
25651
+ },
25652
+ {
25653
+ "type": "string",
25654
+ "enum": [
25655
+ "{{dashboard.duration}}"
25656
+ ]
25657
+ }
25658
+ ]
25389
25659
  },
25390
25660
  "xAxisFormat": {
25391
25661
  "type": "string",
@@ -25826,8 +26096,18 @@ Schema for the body of a Dashboard modification request
25826
26096
  }
25827
26097
  },
25828
26098
  "duration": {
25829
- "type": "integer",
25830
- "minimum": 0
26099
+ "oneOf": [
26100
+ {
26101
+ "type": "integer",
26102
+ "minimum": 0
26103
+ },
26104
+ {
26105
+ "type": "string",
26106
+ "enum": [
26107
+ "{{dashboard.duration}}"
26108
+ ]
26109
+ }
26110
+ ]
25831
26111
  },
25832
26112
  "resolution": {
25833
26113
  "oneOf": [
@@ -25999,8 +26279,18 @@ Schema for the body of a Dashboard modification request
25999
26279
  }
26000
26280
  },
26001
26281
  "duration": {
26002
- "type": "integer",
26003
- "minimum": 0
26282
+ "oneOf": [
26283
+ {
26284
+ "type": "integer",
26285
+ "minimum": 0
26286
+ },
26287
+ {
26288
+ "type": "string",
26289
+ "enum": [
26290
+ "{{dashboard.duration}}"
26291
+ ]
26292
+ }
26293
+ ]
26004
26294
  }
26005
26295
  },
26006
26296
  "additionalProperties": false
@@ -26735,8 +27025,18 @@ Schema for the body of a Dashboard modification request
26735
27025
  }
26736
27026
  },
26737
27027
  "duration": {
26738
- "type": "integer",
26739
- "minimum": 0
27028
+ "oneOf": [
27029
+ {
27030
+ "type": "integer",
27031
+ "minimum": 0
27032
+ },
27033
+ {
27034
+ "type": "string",
27035
+ "enum": [
27036
+ "{{dashboard.duration}}"
27037
+ ]
27038
+ }
27039
+ ]
26740
27040
  },
26741
27041
  "sortDirection": {
26742
27042
  "type": "integer",
@@ -26985,8 +27285,18 @@ Schema for the body of a Dashboard modification request
26985
27285
  "type": "boolean"
26986
27286
  },
26987
27287
  "duration": {
26988
- "type": "integer",
26989
- "minimum": 0
27288
+ "oneOf": [
27289
+ {
27290
+ "type": "integer",
27291
+ "minimum": 0
27292
+ },
27293
+ {
27294
+ "type": "string",
27295
+ "enum": [
27296
+ "{{dashboard.duration}}"
27297
+ ]
27298
+ }
27299
+ ]
26990
27300
  },
26991
27301
  "gaugeMax": {
26992
27302
  "oneOf": [
@@ -27307,8 +27617,18 @@ Schema for the body of a Dashboard modification request
27307
27617
  "type": "boolean"
27308
27618
  },
27309
27619
  "duration": {
27310
- "type": "integer",
27311
- "minimum": 0
27620
+ "oneOf": [
27621
+ {
27622
+ "type": "integer",
27623
+ "minimum": 0
27624
+ },
27625
+ {
27626
+ "type": "string",
27627
+ "enum": [
27628
+ "{{dashboard.duration}}"
27629
+ ]
27630
+ }
27631
+ ]
27312
27632
  },
27313
27633
  "resolution": {
27314
27634
  "oneOf": [
@@ -27683,8 +28003,18 @@ Schema for the body of a Dashboard modification request
27683
28003
  }
27684
28004
  },
27685
28005
  "duration": {
27686
- "type": "integer",
27687
- "minimum": 0
28006
+ "oneOf": [
28007
+ {
28008
+ "type": "integer",
28009
+ "minimum": 0
28010
+ },
28011
+ {
28012
+ "type": "string",
28013
+ "enum": [
28014
+ "{{dashboard.duration}}"
28015
+ ]
28016
+ }
28017
+ ]
27688
28018
  },
27689
28019
  "locationTagKey": {
27690
28020
  "oneOf": [
@@ -28072,8 +28402,18 @@ Schema for the body of a Dashboard modification request
28072
28402
  }
28073
28403
  },
28074
28404
  "duration": {
28075
- "type": "integer",
28076
- "minimum": 0
28405
+ "oneOf": [
28406
+ {
28407
+ "type": "integer",
28408
+ "minimum": 0
28409
+ },
28410
+ {
28411
+ "type": "string",
28412
+ "enum": [
28413
+ "{{dashboard.duration}}"
28414
+ ]
28415
+ }
28416
+ ]
28077
28417
  }
28078
28418
  },
28079
28419
  "additionalProperties": false
@@ -28528,8 +28868,18 @@ Schema for the body of a Dashboard modification request
28528
28868
  "type": "boolean"
28529
28869
  },
28530
28870
  "duration": {
28531
- "type": "integer",
28532
- "minimum": 0
28871
+ "oneOf": [
28872
+ {
28873
+ "type": "integer",
28874
+ "minimum": 0
28875
+ },
28876
+ {
28877
+ "type": "string",
28878
+ "enum": [
28879
+ "{{dashboard.duration}}"
28880
+ ]
28881
+ }
28882
+ ]
28533
28883
  },
28534
28884
  "segments": {
28535
28885
  "type": "array",
@@ -29957,8 +30307,18 @@ Schema for the body of a Dashboard modification request
29957
30307
  }
29958
30308
  },
29959
30309
  "duration": {
29960
- "type": "integer",
29961
- "minimum": 0
30310
+ "oneOf": [
30311
+ {
30312
+ "type": "integer",
30313
+ "minimum": 0
30314
+ },
30315
+ {
30316
+ "type": "string",
30317
+ "enum": [
30318
+ "{{dashboard.duration}}"
30319
+ ]
30320
+ }
30321
+ ]
29962
30322
  },
29963
30323
  "endColor": {
29964
30324
  "type": "string",
@@ -30153,8 +30513,18 @@ Schema for the body of a Dashboard modification request
30153
30513
  "type": "boolean"
30154
30514
  },
30155
30515
  "duration": {
30156
- "type": "integer",
30157
- "minimum": 0
30516
+ "oneOf": [
30517
+ {
30518
+ "type": "integer",
30519
+ "minimum": 0
30520
+ },
30521
+ {
30522
+ "type": "string",
30523
+ "enum": [
30524
+ "{{dashboard.duration}}"
30525
+ ]
30526
+ }
30527
+ ]
30158
30528
  },
30159
30529
  "percentFormat": {
30160
30530
  "type": "string",
@@ -30468,8 +30838,18 @@ Schema for the body of a Dashboard modification request
30468
30838
  }
30469
30839
  },
30470
30840
  "duration": {
30471
- "type": "integer",
30472
- "minimum": 0
30841
+ "oneOf": [
30842
+ {
30843
+ "type": "integer",
30844
+ "minimum": 0
30845
+ },
30846
+ {
30847
+ "type": "string",
30848
+ "enum": [
30849
+ "{{dashboard.duration}}"
30850
+ ]
30851
+ }
30852
+ ]
30473
30853
  },
30474
30854
  "endColor": {
30475
30855
  "type": "string",
@@ -30776,6 +31156,14 @@ Schema for the body of a Dashboard modification request
30776
31156
  "minimum": 5,
30777
31157
  "maximum": 600
30778
31158
  },
31159
+ "duration": {
31160
+ "type": "integer",
31161
+ "minimum": 1
31162
+ },
31163
+ "resolution": {
31164
+ "type": "integer",
31165
+ "minimum": 1
31166
+ },
30779
31167
  "defaultTheme": {
30780
31168
  "type": "string",
30781
31169
  "enum": [
@@ -31262,8 +31650,18 @@ Schema for the body of a Dashboard creation request
31262
31650
  "type": "boolean"
31263
31651
  },
31264
31652
  "duration": {
31265
- "type": "integer",
31266
- "minimum": 0
31653
+ "oneOf": [
31654
+ {
31655
+ "type": "integer",
31656
+ "minimum": 0
31657
+ },
31658
+ {
31659
+ "type": "string",
31660
+ "enum": [
31661
+ "{{dashboard.duration}}"
31662
+ ]
31663
+ }
31664
+ ]
31267
31665
  },
31268
31666
  "xAxisFormat": {
31269
31667
  "type": "string",
@@ -31704,8 +32102,18 @@ Schema for the body of a Dashboard creation request
31704
32102
  }
31705
32103
  },
31706
32104
  "duration": {
31707
- "type": "integer",
31708
- "minimum": 0
32105
+ "oneOf": [
32106
+ {
32107
+ "type": "integer",
32108
+ "minimum": 0
32109
+ },
32110
+ {
32111
+ "type": "string",
32112
+ "enum": [
32113
+ "{{dashboard.duration}}"
32114
+ ]
32115
+ }
32116
+ ]
31709
32117
  },
31710
32118
  "resolution": {
31711
32119
  "oneOf": [
@@ -31877,8 +32285,18 @@ Schema for the body of a Dashboard creation request
31877
32285
  }
31878
32286
  },
31879
32287
  "duration": {
31880
- "type": "integer",
31881
- "minimum": 0
32288
+ "oneOf": [
32289
+ {
32290
+ "type": "integer",
32291
+ "minimum": 0
32292
+ },
32293
+ {
32294
+ "type": "string",
32295
+ "enum": [
32296
+ "{{dashboard.duration}}"
32297
+ ]
32298
+ }
32299
+ ]
31882
32300
  }
31883
32301
  },
31884
32302
  "additionalProperties": false
@@ -32613,8 +33031,18 @@ Schema for the body of a Dashboard creation request
32613
33031
  }
32614
33032
  },
32615
33033
  "duration": {
32616
- "type": "integer",
32617
- "minimum": 0
33034
+ "oneOf": [
33035
+ {
33036
+ "type": "integer",
33037
+ "minimum": 0
33038
+ },
33039
+ {
33040
+ "type": "string",
33041
+ "enum": [
33042
+ "{{dashboard.duration}}"
33043
+ ]
33044
+ }
33045
+ ]
32618
33046
  },
32619
33047
  "sortDirection": {
32620
33048
  "type": "integer",
@@ -32863,8 +33291,18 @@ Schema for the body of a Dashboard creation request
32863
33291
  "type": "boolean"
32864
33292
  },
32865
33293
  "duration": {
32866
- "type": "integer",
32867
- "minimum": 0
33294
+ "oneOf": [
33295
+ {
33296
+ "type": "integer",
33297
+ "minimum": 0
33298
+ },
33299
+ {
33300
+ "type": "string",
33301
+ "enum": [
33302
+ "{{dashboard.duration}}"
33303
+ ]
33304
+ }
33305
+ ]
32868
33306
  },
32869
33307
  "gaugeMax": {
32870
33308
  "oneOf": [
@@ -33185,8 +33623,18 @@ Schema for the body of a Dashboard creation request
33185
33623
  "type": "boolean"
33186
33624
  },
33187
33625
  "duration": {
33188
- "type": "integer",
33189
- "minimum": 0
33626
+ "oneOf": [
33627
+ {
33628
+ "type": "integer",
33629
+ "minimum": 0
33630
+ },
33631
+ {
33632
+ "type": "string",
33633
+ "enum": [
33634
+ "{{dashboard.duration}}"
33635
+ ]
33636
+ }
33637
+ ]
33190
33638
  },
33191
33639
  "resolution": {
33192
33640
  "oneOf": [
@@ -33561,8 +34009,18 @@ Schema for the body of a Dashboard creation request
33561
34009
  }
33562
34010
  },
33563
34011
  "duration": {
33564
- "type": "integer",
33565
- "minimum": 0
34012
+ "oneOf": [
34013
+ {
34014
+ "type": "integer",
34015
+ "minimum": 0
34016
+ },
34017
+ {
34018
+ "type": "string",
34019
+ "enum": [
34020
+ "{{dashboard.duration}}"
34021
+ ]
34022
+ }
34023
+ ]
33566
34024
  },
33567
34025
  "locationTagKey": {
33568
34026
  "oneOf": [
@@ -33950,8 +34408,18 @@ Schema for the body of a Dashboard creation request
33950
34408
  }
33951
34409
  },
33952
34410
  "duration": {
33953
- "type": "integer",
33954
- "minimum": 0
34411
+ "oneOf": [
34412
+ {
34413
+ "type": "integer",
34414
+ "minimum": 0
34415
+ },
34416
+ {
34417
+ "type": "string",
34418
+ "enum": [
34419
+ "{{dashboard.duration}}"
34420
+ ]
34421
+ }
34422
+ ]
33955
34423
  }
33956
34424
  },
33957
34425
  "additionalProperties": false
@@ -34406,8 +34874,18 @@ Schema for the body of a Dashboard creation request
34406
34874
  "type": "boolean"
34407
34875
  },
34408
34876
  "duration": {
34409
- "type": "integer",
34410
- "minimum": 0
34877
+ "oneOf": [
34878
+ {
34879
+ "type": "integer",
34880
+ "minimum": 0
34881
+ },
34882
+ {
34883
+ "type": "string",
34884
+ "enum": [
34885
+ "{{dashboard.duration}}"
34886
+ ]
34887
+ }
34888
+ ]
34411
34889
  },
34412
34890
  "segments": {
34413
34891
  "type": "array",
@@ -35835,8 +36313,18 @@ Schema for the body of a Dashboard creation request
35835
36313
  }
35836
36314
  },
35837
36315
  "duration": {
35838
- "type": "integer",
35839
- "minimum": 0
36316
+ "oneOf": [
36317
+ {
36318
+ "type": "integer",
36319
+ "minimum": 0
36320
+ },
36321
+ {
36322
+ "type": "string",
36323
+ "enum": [
36324
+ "{{dashboard.duration}}"
36325
+ ]
36326
+ }
36327
+ ]
35840
36328
  },
35841
36329
  "endColor": {
35842
36330
  "type": "string",
@@ -36031,8 +36519,18 @@ Schema for the body of a Dashboard creation request
36031
36519
  "type": "boolean"
36032
36520
  },
36033
36521
  "duration": {
36034
- "type": "integer",
36035
- "minimum": 0
36522
+ "oneOf": [
36523
+ {
36524
+ "type": "integer",
36525
+ "minimum": 0
36526
+ },
36527
+ {
36528
+ "type": "string",
36529
+ "enum": [
36530
+ "{{dashboard.duration}}"
36531
+ ]
36532
+ }
36533
+ ]
36036
36534
  },
36037
36535
  "percentFormat": {
36038
36536
  "type": "string",
@@ -36346,8 +36844,18 @@ Schema for the body of a Dashboard creation request
36346
36844
  }
36347
36845
  },
36348
36846
  "duration": {
36349
- "type": "integer",
36350
- "minimum": 0
36847
+ "oneOf": [
36848
+ {
36849
+ "type": "integer",
36850
+ "minimum": 0
36851
+ },
36852
+ {
36853
+ "type": "string",
36854
+ "enum": [
36855
+ "{{dashboard.duration}}"
36856
+ ]
36857
+ }
36858
+ ]
36351
36859
  },
36352
36860
  "endColor": {
36353
36861
  "type": "string",
@@ -36578,6 +37086,14 @@ Schema for the body of a Dashboard creation request
36578
37086
  "minimum": 5,
36579
37087
  "maximum": 600
36580
37088
  },
37089
+ "duration": {
37090
+ "type": "integer",
37091
+ "minimum": 1
37092
+ },
37093
+ "resolution": {
37094
+ "type": "integer",
37095
+ "minimum": 1
37096
+ },
36581
37097
  "defaultTheme": {
36582
37098
  "type": "string",
36583
37099
  "enum": [
@@ -37251,6 +37767,14 @@ Schema for a collection of Dashboards
37251
37767
  "minimum": 5,
37252
37768
  "maximum": 600
37253
37769
  },
37770
+ "duration": {
37771
+ "type": "integer",
37772
+ "minimum": 1
37773
+ },
37774
+ "resolution": {
37775
+ "type": "integer",
37776
+ "minimum": 1
37777
+ },
37254
37778
  "defaultTheme": {
37255
37779
  "type": "string",
37256
37780
  "enum": [
@@ -37445,8 +37969,18 @@ Schema for a collection of Dashboards
37445
37969
  "type": "boolean"
37446
37970
  },
37447
37971
  "duration": {
37448
- "type": "integer",
37449
- "minimum": 0
37972
+ "oneOf": [
37973
+ {
37974
+ "type": "integer",
37975
+ "minimum": 0
37976
+ },
37977
+ {
37978
+ "type": "string",
37979
+ "enum": [
37980
+ "{{dashboard.duration}}"
37981
+ ]
37982
+ }
37983
+ ]
37450
37984
  },
37451
37985
  "xAxisFormat": {
37452
37986
  "type": "string",
@@ -37887,8 +38421,18 @@ Schema for a collection of Dashboards
37887
38421
  }
37888
38422
  },
37889
38423
  "duration": {
37890
- "type": "integer",
37891
- "minimum": 0
38424
+ "oneOf": [
38425
+ {
38426
+ "type": "integer",
38427
+ "minimum": 0
38428
+ },
38429
+ {
38430
+ "type": "string",
38431
+ "enum": [
38432
+ "{{dashboard.duration}}"
38433
+ ]
38434
+ }
38435
+ ]
37892
38436
  },
37893
38437
  "resolution": {
37894
38438
  "oneOf": [
@@ -38060,8 +38604,18 @@ Schema for a collection of Dashboards
38060
38604
  }
38061
38605
  },
38062
38606
  "duration": {
38063
- "type": "integer",
38064
- "minimum": 0
38607
+ "oneOf": [
38608
+ {
38609
+ "type": "integer",
38610
+ "minimum": 0
38611
+ },
38612
+ {
38613
+ "type": "string",
38614
+ "enum": [
38615
+ "{{dashboard.duration}}"
38616
+ ]
38617
+ }
38618
+ ]
38065
38619
  }
38066
38620
  },
38067
38621
  "additionalProperties": false
@@ -38796,8 +39350,18 @@ Schema for a collection of Dashboards
38796
39350
  }
38797
39351
  },
38798
39352
  "duration": {
38799
- "type": "integer",
38800
- "minimum": 0
39353
+ "oneOf": [
39354
+ {
39355
+ "type": "integer",
39356
+ "minimum": 0
39357
+ },
39358
+ {
39359
+ "type": "string",
39360
+ "enum": [
39361
+ "{{dashboard.duration}}"
39362
+ ]
39363
+ }
39364
+ ]
38801
39365
  },
38802
39366
  "sortDirection": {
38803
39367
  "type": "integer",
@@ -39046,8 +39610,18 @@ Schema for a collection of Dashboards
39046
39610
  "type": "boolean"
39047
39611
  },
39048
39612
  "duration": {
39049
- "type": "integer",
39050
- "minimum": 0
39613
+ "oneOf": [
39614
+ {
39615
+ "type": "integer",
39616
+ "minimum": 0
39617
+ },
39618
+ {
39619
+ "type": "string",
39620
+ "enum": [
39621
+ "{{dashboard.duration}}"
39622
+ ]
39623
+ }
39624
+ ]
39051
39625
  },
39052
39626
  "gaugeMax": {
39053
39627
  "oneOf": [
@@ -39368,8 +39942,18 @@ Schema for a collection of Dashboards
39368
39942
  "type": "boolean"
39369
39943
  },
39370
39944
  "duration": {
39371
- "type": "integer",
39372
- "minimum": 0
39945
+ "oneOf": [
39946
+ {
39947
+ "type": "integer",
39948
+ "minimum": 0
39949
+ },
39950
+ {
39951
+ "type": "string",
39952
+ "enum": [
39953
+ "{{dashboard.duration}}"
39954
+ ]
39955
+ }
39956
+ ]
39373
39957
  },
39374
39958
  "resolution": {
39375
39959
  "oneOf": [
@@ -39744,8 +40328,18 @@ Schema for a collection of Dashboards
39744
40328
  }
39745
40329
  },
39746
40330
  "duration": {
39747
- "type": "integer",
39748
- "minimum": 0
40331
+ "oneOf": [
40332
+ {
40333
+ "type": "integer",
40334
+ "minimum": 0
40335
+ },
40336
+ {
40337
+ "type": "string",
40338
+ "enum": [
40339
+ "{{dashboard.duration}}"
40340
+ ]
40341
+ }
40342
+ ]
39749
40343
  },
39750
40344
  "locationTagKey": {
39751
40345
  "oneOf": [
@@ -40133,8 +40727,18 @@ Schema for a collection of Dashboards
40133
40727
  }
40134
40728
  },
40135
40729
  "duration": {
40136
- "type": "integer",
40137
- "minimum": 0
40730
+ "oneOf": [
40731
+ {
40732
+ "type": "integer",
40733
+ "minimum": 0
40734
+ },
40735
+ {
40736
+ "type": "string",
40737
+ "enum": [
40738
+ "{{dashboard.duration}}"
40739
+ ]
40740
+ }
40741
+ ]
40138
40742
  }
40139
40743
  },
40140
40744
  "additionalProperties": false
@@ -40589,8 +41193,18 @@ Schema for a collection of Dashboards
40589
41193
  "type": "boolean"
40590
41194
  },
40591
41195
  "duration": {
40592
- "type": "integer",
40593
- "minimum": 0
41196
+ "oneOf": [
41197
+ {
41198
+ "type": "integer",
41199
+ "minimum": 0
41200
+ },
41201
+ {
41202
+ "type": "string",
41203
+ "enum": [
41204
+ "{{dashboard.duration}}"
41205
+ ]
41206
+ }
41207
+ ]
40594
41208
  },
40595
41209
  "segments": {
40596
41210
  "type": "array",
@@ -42018,8 +42632,18 @@ Schema for a collection of Dashboards
42018
42632
  }
42019
42633
  },
42020
42634
  "duration": {
42021
- "type": "integer",
42022
- "minimum": 0
42635
+ "oneOf": [
42636
+ {
42637
+ "type": "integer",
42638
+ "minimum": 0
42639
+ },
42640
+ {
42641
+ "type": "string",
42642
+ "enum": [
42643
+ "{{dashboard.duration}}"
42644
+ ]
42645
+ }
42646
+ ]
42023
42647
  },
42024
42648
  "endColor": {
42025
42649
  "type": "string",
@@ -42214,8 +42838,18 @@ Schema for a collection of Dashboards
42214
42838
  "type": "boolean"
42215
42839
  },
42216
42840
  "duration": {
42217
- "type": "integer",
42218
- "minimum": 0
42841
+ "oneOf": [
42842
+ {
42843
+ "type": "integer",
42844
+ "minimum": 0
42845
+ },
42846
+ {
42847
+ "type": "string",
42848
+ "enum": [
42849
+ "{{dashboard.duration}}"
42850
+ ]
42851
+ }
42852
+ ]
42219
42853
  },
42220
42854
  "percentFormat": {
42221
42855
  "type": "string",
@@ -42529,8 +43163,18 @@ Schema for a collection of Dashboards
42529
43163
  }
42530
43164
  },
42531
43165
  "duration": {
42532
- "type": "integer",
42533
- "minimum": 0
43166
+ "oneOf": [
43167
+ {
43168
+ "type": "integer",
43169
+ "minimum": 0
43170
+ },
43171
+ {
43172
+ "type": "string",
43173
+ "enum": [
43174
+ "{{dashboard.duration}}"
43175
+ ]
43176
+ }
43177
+ ]
42534
43178
  },
42535
43179
  "endColor": {
42536
43180
  "type": "string",
@@ -43142,6 +43786,8 @@ Schema for a collection of Dashboards
43142
43786
  "isPasswordProtected": false,
43143
43787
  "defaultTheme": "light",
43144
43788
  "blocks": [],
43789
+ "duration": 600000,
43790
+ "resolution": 6000,
43145
43791
  "_currentRole": "admin",
43146
43792
  "reportConfigs": [
43147
43793
  {
@@ -58496,11 +59142,15 @@ Schema for the body of a request to enable two factor auth
58496
59142
  "type": "string",
58497
59143
  "minLength": 8,
58498
59144
  "maxLength": 2048
59145
+ },
59146
+ "twoFactorCode": {
59147
+ "type": "string",
59148
+ "maxLength": 2048
58499
59149
  }
58500
59150
  },
58501
59151
  "required": [
58502
59152
  "password",
58503
- "twoFactorAuthKey"
59153
+ "twoFactorCode"
58504
59154
  ],
58505
59155
  "additionalProperties": false
58506
59156
  }
@@ -58510,7 +59160,8 @@ Schema for the body of a request to enable two factor auth
58510
59160
  ```json
58511
59161
  {
58512
59162
  "twoFactorAuthKey": "HBBGWJJVOVLXS4ZGNRTDOUKTMESFUR3BMRWVQND2HJYT44TOMVJA",
58513
- "password": "this would be your password"
59163
+ "password": "this would be your password",
59164
+ "twoFactorCode": "012345"
58514
59165
  }
58515
59166
  ```
58516
59167
 
@@ -62859,6 +63510,7 @@ The body of an experience linked resources response
62859
63510
  "onConnect",
62860
63511
  "onDisconnect",
62861
63512
  "particle",
63513
+ "sqs",
62862
63514
  "udp",
62863
63515
  "webhook"
62864
63516
  ]
@@ -65499,6 +66151,7 @@ The body of an experience linked resources response
65499
66151
  "onConnect",
65500
66152
  "onDisconnect",
65501
66153
  "particle",
66154
+ "sqs",
65502
66155
  "udp",
65503
66156
  "webhook"
65504
66157
  ]
@@ -68083,6 +68736,7 @@ The body of an experience linked resources response
68083
68736
  "onConnect",
68084
68737
  "onDisconnect",
68085
68738
  "particle",
68739
+ "sqs",
68086
68740
  "udp",
68087
68741
  "webhook"
68088
68742
  ]
@@ -71160,6 +71814,33 @@ Schema for a single Experience Version
71160
71814
  "type": "string",
71161
71815
  "maxLength": 32767
71162
71816
  },
71817
+ "globals": {
71818
+ "type": "array",
71819
+ "maxItems": 100,
71820
+ "items": {
71821
+ "type": "object",
71822
+ "properties": {
71823
+ "key": {
71824
+ "type": "string",
71825
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
71826
+ },
71827
+ "json": {
71828
+ "type": "string",
71829
+ "minLength": 1,
71830
+ "maxLength": 32767
71831
+ },
71832
+ "description": {
71833
+ "type": "string",
71834
+ "maxLength": 1024
71835
+ }
71836
+ },
71837
+ "additionalProperties": false,
71838
+ "required": [
71839
+ "key",
71840
+ "json"
71841
+ ]
71842
+ }
71843
+ },
71163
71844
  "attachedDomains": {
71164
71845
  "type": "array",
71165
71846
  "items": {
@@ -71246,6 +71927,33 @@ Schema for the body of an Experience Version modification request
71246
71927
  },
71247
71928
  "maxItems": 100
71248
71929
  },
71930
+ "globals": {
71931
+ "type": "array",
71932
+ "maxItems": 100,
71933
+ "items": {
71934
+ "type": "object",
71935
+ "properties": {
71936
+ "key": {
71937
+ "type": "string",
71938
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
71939
+ },
71940
+ "json": {
71941
+ "type": "string",
71942
+ "minLength": 1,
71943
+ "maxLength": 32767
71944
+ },
71945
+ "description": {
71946
+ "type": "string",
71947
+ "maxLength": 1024
71948
+ }
71949
+ },
71950
+ "additionalProperties": false,
71951
+ "required": [
71952
+ "key",
71953
+ "json"
71954
+ ]
71955
+ }
71956
+ },
71249
71957
  "description": {
71250
71958
  "type": "string",
71251
71959
  "maxLength": 32767
@@ -71304,6 +72012,45 @@ Schema for the body of an Experience Version creation request
71304
72012
  "pattern": "^[A-Fa-f\\d]{24}$"
71305
72013
  },
71306
72014
  "maxItems": 1000
72015
+ },
72016
+ "endpointDefaultCors": {
72017
+ "type": "boolean"
72018
+ },
72019
+ "globals": {
72020
+ "type": "array",
72021
+ "maxItems": 100,
72022
+ "items": {
72023
+ "type": "object",
72024
+ "properties": {
72025
+ "key": {
72026
+ "type": "string",
72027
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
72028
+ },
72029
+ "json": {
72030
+ "type": "string",
72031
+ "minLength": 1,
72032
+ "maxLength": 32767
72033
+ },
72034
+ "description": {
72035
+ "type": "string",
72036
+ "maxLength": 1024
72037
+ }
72038
+ },
72039
+ "additionalProperties": false,
72040
+ "required": [
72041
+ "key",
72042
+ "json"
72043
+ ]
72044
+ }
72045
+ },
72046
+ "allowedCorsOrigins": {
72047
+ "type": "array",
72048
+ "items": {
72049
+ "type": "string",
72050
+ "minLength": 8,
72051
+ "maxLength": 270
72052
+ },
72053
+ "maxItems": 100
71307
72054
  }
71308
72055
  },
71309
72056
  "additionalProperties": false,
@@ -71400,6 +72147,33 @@ Schema for a collection of Experience Versions
71400
72147
  "type": "string",
71401
72148
  "maxLength": 32767
71402
72149
  },
72150
+ "globals": {
72151
+ "type": "array",
72152
+ "maxItems": 100,
72153
+ "items": {
72154
+ "type": "object",
72155
+ "properties": {
72156
+ "key": {
72157
+ "type": "string",
72158
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
72159
+ },
72160
+ "json": {
72161
+ "type": "string",
72162
+ "minLength": 1,
72163
+ "maxLength": 32767
72164
+ },
72165
+ "description": {
72166
+ "type": "string",
72167
+ "maxLength": 1024
72168
+ }
72169
+ },
72170
+ "additionalProperties": false,
72171
+ "required": [
72172
+ "key",
72173
+ "json"
72174
+ ]
72175
+ }
72176
+ },
71403
72177
  "attachedDomains": {
71404
72178
  "type": "array",
71405
72179
  "items": {
@@ -72632,6 +73406,7 @@ Schema for a single Workflow
72632
73406
  "onConnect",
72633
73407
  "onDisconnect",
72634
73408
  "particle",
73409
+ "sqs",
72635
73410
  "udp",
72636
73411
  "webhook"
72637
73412
  ]
@@ -75447,6 +76222,7 @@ Schema for the body of a Workflow modification request
75447
76222
  "onConnect",
75448
76223
  "onDisconnect",
75449
76224
  "particle",
76225
+ "sqs",
75450
76226
  "udp",
75451
76227
  "webhook"
75452
76228
  ]
@@ -78017,6 +78793,7 @@ Schema for the body of a Workflow creation request
78017
78793
  "onConnect",
78018
78794
  "onDisconnect",
78019
78795
  "particle",
78796
+ "sqs",
78020
78797
  "udp",
78021
78798
  "webhook"
78022
78799
  ]
@@ -80825,6 +81602,7 @@ Schema for a single Workflow Version
80825
81602
  "onConnect",
80826
81603
  "onDisconnect",
80827
81604
  "particle",
81605
+ "sqs",
80828
81606
  "udp",
80829
81607
  "webhook"
80830
81608
  ]
@@ -83409,6 +84187,7 @@ Schema for a single Workflow Version
83409
84187
  "onConnect",
83410
84188
  "onDisconnect",
83411
84189
  "particle",
84190
+ "sqs",
83412
84191
  "udp",
83413
84192
  "webhook"
83414
84193
  ]
@@ -85701,6 +86480,7 @@ Schema for the body of a Workflow Version creation request
85701
86480
  "onConnect",
85702
86481
  "onDisconnect",
85703
86482
  "particle",
86483
+ "sqs",
85704
86484
  "udp",
85705
86485
  "webhook"
85706
86486
  ]
@@ -88278,6 +89058,7 @@ Schema for a collection of Workflow Versions
88278
89058
  "onConnect",
88279
89059
  "onDisconnect",
88280
89060
  "particle",
89061
+ "sqs",
88281
89062
  "udp",
88282
89063
  "webhook"
88283
89064
  ]
@@ -90862,6 +91643,7 @@ Schema for a collection of Workflow Versions
90862
91643
  "onConnect",
90863
91644
  "onDisconnect",
90864
91645
  "particle",
91646
+ "sqs",
90865
91647
  "udp",
90866
91648
  "webhook"
90867
91649
  ]
@@ -94255,6 +95037,7 @@ Schema for a collection of Workflows
94255
95037
  "onConnect",
94256
95038
  "onDisconnect",
94257
95039
  "particle",
95040
+ "sqs",
94258
95041
  "udp",
94259
95042
  "webhook"
94260
95043
  ]
@@ -96947,6 +97730,7 @@ Schema for the body of a workflow import request
96947
97730
  "onConnect",
96948
97731
  "onDisconnect",
96949
97732
  "particle",
97733
+ "sqs",
96950
97734
  "udp",
96951
97735
  "webhook"
96952
97736
  ]
@@ -99518,6 +100302,7 @@ Schema for the body of a workflow import request
99518
100302
  "onConnect",
99519
100303
  "onDisconnect",
99520
100304
  "particle",
100305
+ "sqs",
99521
100306
  "udp",
99522
100307
  "webhook"
99523
100308
  ]
@@ -102153,6 +102938,7 @@ Schema for the result of a workflow import request
102153
102938
  "onConnect",
102154
102939
  "onDisconnect",
102155
102940
  "particle",
102941
+ "sqs",
102156
102942
  "udp",
102157
102943
  "webhook"
102158
102944
  ]
@@ -104742,6 +105528,7 @@ Schema for the result of a workflow import request
104742
105528
  "onConnect",
104743
105529
  "onDisconnect",
104744
105530
  "particle",
105531
+ "sqs",
104745
105532
  "udp",
104746
105533
  "webhook"
104747
105534
  ]
@@ -107326,6 +108113,7 @@ Schema for the result of a workflow import request
107326
108113
  "onConnect",
107327
108114
  "onDisconnect",
107328
108115
  "particle",
108116
+ "sqs",
107329
108117
  "udp",
107330
108118
  "webhook"
107331
108119
  ]
@@ -109962,6 +110750,7 @@ Schema for the body of a Github login request
109962
110750
  "me.delete",
109963
110751
  "me.verifyEmail",
109964
110752
  "me.changePassword",
110753
+ "me.generateTwoFactorAuth",
109965
110754
  "me.enableTwoFactorAuth",
109966
110755
  "me.disableTwoFactorAuth",
109967
110756
  "me.disconnectGithub",
@@ -110726,10 +111515,15 @@ Schema for additional application import options
110726
111515
  "type": "string",
110727
111516
  "enum": [
110728
111517
  "create",
110729
- "error"
111518
+ "error",
111519
+ "retain"
110730
111520
  ],
110731
111521
  "default": "create"
110732
111522
  },
111523
+ "dryRun": {
111524
+ "type": "boolean",
111525
+ "default": false
111526
+ },
110733
111527
  "include": {
110734
111528
  "type": "array",
110735
111529
  "items": {
@@ -110750,6 +111544,7 @@ Schema for additional application import options
110750
111544
  "File",
110751
111545
  "FlowVersion",
110752
111546
  "Flow",
111547
+ "Global",
110753
111548
  "Integration",
110754
111549
  "Notebook",
110755
111550
  "Webhook"
@@ -110816,6 +111611,7 @@ Schema for additional application import options (new application)
110816
111611
  "File",
110817
111612
  "FlowVersion",
110818
111613
  "Flow",
111614
+ "Global",
110819
111615
  "Integration",
110820
111616
  "Notebook",
110821
111617
  "Webhook"
@@ -111863,6 +112659,7 @@ Schema for the body of a Instance Custom Node modification request
111863
112659
  "onConnect",
111864
112660
  "onDisconnect",
111865
112661
  "particle",
112662
+ "sqs",
111866
112663
  "udp",
111867
112664
  "webhook"
111868
112665
  ]
@@ -112556,6 +113353,7 @@ Schema for the body of a Instance Custom Node creation request
112556
113353
  "onConnect",
112557
113354
  "onDisconnect",
112558
113355
  "particle",
113356
+ "sqs",
112559
113357
  "udp",
112560
113358
  "webhook"
112561
113359
  ]
@@ -116545,7 +117343,8 @@ Schema for a single Integration
116545
117343
  "googlePubSub",
116546
117344
  "meridian",
116547
117345
  "mqtt",
116548
- "particle"
117346
+ "particle",
117347
+ "sqs"
116549
117348
  ]
116550
117349
  },
116551
117350
  "enabled": {
@@ -116701,6 +117500,38 @@ Schema for a single Integration
116701
117500
  "accessToken"
116702
117501
  ]
116703
117502
  },
117503
+ "sqsConfig": {
117504
+ "type": "object",
117505
+ "properties": {
117506
+ "accessKeyId": {
117507
+ "type": "string",
117508
+ "minLength": 1,
117509
+ "maxLength": 1024
117510
+ },
117511
+ "secretAccessKey": {
117512
+ "type": "string",
117513
+ "minLength": 1,
117514
+ "maxLength": 1024
117515
+ },
117516
+ "region": {
117517
+ "type": "string",
117518
+ "minLength": 1,
117519
+ "maxLength": 1024
117520
+ },
117521
+ "queueUrl": {
117522
+ "type": "string",
117523
+ "minLength": 1,
117524
+ "maxLength": 1024
117525
+ }
117526
+ },
117527
+ "additionalProperties": false,
117528
+ "required": [
117529
+ "accessKeyId",
117530
+ "secretAccessKey",
117531
+ "region",
117532
+ "queueUrl"
117533
+ ]
117534
+ },
116704
117535
  "meridianConfig": {
116705
117536
  "type": "object",
116706
117537
  "properties": {
@@ -116828,7 +117659,8 @@ Schema for the body of an Integration modification request
116828
117659
  "googlePubSub",
116829
117660
  "meridian",
116830
117661
  "mqtt",
116831
- "particle"
117662
+ "particle",
117663
+ "sqs"
116832
117664
  ]
116833
117665
  },
116834
117666
  "enabled": {
@@ -116984,6 +117816,38 @@ Schema for the body of an Integration modification request
116984
117816
  "accessToken"
116985
117817
  ]
116986
117818
  },
117819
+ "sqsConfig": {
117820
+ "type": "object",
117821
+ "properties": {
117822
+ "accessKeyId": {
117823
+ "type": "string",
117824
+ "minLength": 1,
117825
+ "maxLength": 1024
117826
+ },
117827
+ "secretAccessKey": {
117828
+ "type": "string",
117829
+ "minLength": 1,
117830
+ "maxLength": 1024
117831
+ },
117832
+ "region": {
117833
+ "type": "string",
117834
+ "minLength": 1,
117835
+ "maxLength": 1024
117836
+ },
117837
+ "queueUrl": {
117838
+ "type": "string",
117839
+ "minLength": 1,
117840
+ "maxLength": 1024
117841
+ }
117842
+ },
117843
+ "additionalProperties": false,
117844
+ "required": [
117845
+ "accessKeyId",
117846
+ "secretAccessKey",
117847
+ "region",
117848
+ "queueUrl"
117849
+ ]
117850
+ },
116987
117851
  "meridianConfig": {
116988
117852
  "type": "object",
116989
117853
  "properties": {
@@ -117049,7 +117913,8 @@ Schema for the body of an Integration creation request
117049
117913
  "googlePubSub",
117050
117914
  "meridian",
117051
117915
  "mqtt",
117052
- "particle"
117916
+ "particle",
117917
+ "sqs"
117053
117918
  ]
117054
117919
  },
117055
117920
  "enabled": {
@@ -117205,6 +118070,38 @@ Schema for the body of an Integration creation request
117205
118070
  "accessToken"
117206
118071
  ]
117207
118072
  },
118073
+ "sqsConfig": {
118074
+ "type": "object",
118075
+ "properties": {
118076
+ "accessKeyId": {
118077
+ "type": "string",
118078
+ "minLength": 1,
118079
+ "maxLength": 1024
118080
+ },
118081
+ "secretAccessKey": {
118082
+ "type": "string",
118083
+ "minLength": 1,
118084
+ "maxLength": 1024
118085
+ },
118086
+ "region": {
118087
+ "type": "string",
118088
+ "minLength": 1,
118089
+ "maxLength": 1024
118090
+ },
118091
+ "queueUrl": {
118092
+ "type": "string",
118093
+ "minLength": 1,
118094
+ "maxLength": 1024
118095
+ }
118096
+ },
118097
+ "additionalProperties": false,
118098
+ "required": [
118099
+ "accessKeyId",
118100
+ "secretAccessKey",
118101
+ "region",
118102
+ "queueUrl"
118103
+ ]
118104
+ },
117208
118105
  "meridianConfig": {
117209
118106
  "type": "object",
117210
118107
  "properties": {
@@ -117311,7 +118208,8 @@ Schema for a collection of Integrations
117311
118208
  "googlePubSub",
117312
118209
  "meridian",
117313
118210
  "mqtt",
117314
- "particle"
118211
+ "particle",
118212
+ "sqs"
117315
118213
  ]
117316
118214
  },
117317
118215
  "enabled": {
@@ -117467,6 +118365,38 @@ Schema for a collection of Integrations
117467
118365
  "accessToken"
117468
118366
  ]
117469
118367
  },
118368
+ "sqsConfig": {
118369
+ "type": "object",
118370
+ "properties": {
118371
+ "accessKeyId": {
118372
+ "type": "string",
118373
+ "minLength": 1,
118374
+ "maxLength": 1024
118375
+ },
118376
+ "secretAccessKey": {
118377
+ "type": "string",
118378
+ "minLength": 1,
118379
+ "maxLength": 1024
118380
+ },
118381
+ "region": {
118382
+ "type": "string",
118383
+ "minLength": 1,
118384
+ "maxLength": 1024
118385
+ },
118386
+ "queueUrl": {
118387
+ "type": "string",
118388
+ "minLength": 1,
118389
+ "maxLength": 1024
118390
+ }
118391
+ },
118392
+ "additionalProperties": false,
118393
+ "required": [
118394
+ "accessKeyId",
118395
+ "secretAccessKey",
118396
+ "region",
118397
+ "queueUrl"
118398
+ ]
118399
+ },
117470
118400
  "meridianConfig": {
117471
118401
  "type": "object",
117472
118402
  "properties": {
@@ -127117,6 +128047,7 @@ SAML Response body for login
127117
128047
  "me.delete",
127118
128048
  "me.verifyEmail",
127119
128049
  "me.changePassword",
128050
+ "me.generateTwoFactorAuth",
127120
128051
  "me.enableTwoFactorAuth",
127121
128052
  "me.disableTwoFactorAuth",
127122
128053
  "me.disconnectGithub",
@@ -127773,6 +128704,40 @@ Schema for the body of a time series query request
127773
128704
 
127774
128705
  <br/>
127775
128706
 
128707
+ ## Two Factor Auth Info
128708
+
128709
+ Schema for information about the two factor auth for currently authenticated use
128710
+
128711
+ ### <a name="two-factor-auth-info-schema"></a> Schema
128712
+
128713
+ ```json
128714
+ {
128715
+ "$schema": "http://json-schema.org/draft-04/schema#",
128716
+ "type": "object",
128717
+ "properties": {
128718
+ "key": {
128719
+ "type": "string",
128720
+ "maxLength": 1024
128721
+ },
128722
+ "keyUri": {
128723
+ "type": "string",
128724
+ "maxLength": 1024
128725
+ }
128726
+ },
128727
+ "additionalProperties": false
128728
+ }
128729
+ ```
128730
+ ### <a name="two-factor-auth-info-example"></a> Example
128731
+
128732
+ ```json
128733
+ {
128734
+ "key": "HBBGWJJVOVLXS4ZGNRTDOUKTMESFUR3BMRWVQND2HJYT44TOMVJA",
128735
+ "keyUri": "string"
128736
+ }
128737
+ ```
128738
+
128739
+ <br/>
128740
+
127776
128741
  ## User Credentials
127777
128742
 
127778
128743
  Schema for the body of a User authentication request
@@ -128209,6 +129174,7 @@ Schema for the body of a User authentication request
128209
129174
  "me.delete",
128210
129175
  "me.verifyEmail",
128211
129176
  "me.changePassword",
129177
+ "me.generateTwoFactorAuth",
128212
129178
  "me.enableTwoFactorAuth",
128213
129179
  "me.disableTwoFactorAuth",
128214
129180
  "me.disconnectGithub",
@@ -128742,6 +129708,7 @@ Schema for the body of a User creation request
128742
129708
  "me.delete",
128743
129709
  "me.verifyEmail",
128744
129710
  "me.changePassword",
129711
+ "me.generateTwoFactorAuth",
128745
129712
  "me.enableTwoFactorAuth",
128746
129713
  "me.disableTwoFactorAuth",
128747
129714
  "me.disconnectGithub",
@@ -128917,6 +129884,9 @@ Schema for the result of a validateContext call when invalid context is passed
128917
129884
  }
128918
129885
  },
128919
129886
  "additionalProperties": false
129887
+ },
129888
+ "dashboard": {
129889
+ "ref": "#/definitions/validateContextSuccess/properties/dashboard"
128920
129890
  }
128921
129891
  }
128922
129892
  }
@@ -129087,6 +130057,33 @@ Schema for the result of a successful validateContext call
129087
130057
  }
129088
130058
  },
129089
130059
  "additionalProperties": false
130060
+ },
130061
+ "dashboard": {
130062
+ "type": "object",
130063
+ "properties": {
130064
+ "name": {
130065
+ "type": "string",
130066
+ "minLength": 1,
130067
+ "maxLength": 255
130068
+ },
130069
+ "id": {
130070
+ "type": "string",
130071
+ "pattern": "^[A-Fa-f\\d]{24}$"
130072
+ },
130073
+ "duration": {
130074
+ "type": "integer",
130075
+ "minimum": 1
130076
+ },
130077
+ "resolution": {
130078
+ "type": "integer",
130079
+ "minimum": 1
130080
+ },
130081
+ "refreshRate": {
130082
+ "type": "number",
130083
+ "minimum": 5,
130084
+ "maximum": 600
130085
+ }
130086
+ }
129090
130087
  }
129091
130088
  }
129092
130089
  }
@@ -129096,6 +130093,13 @@ Schema for the result of a successful validateContext call
129096
130093
  ```json
129097
130094
  {
129098
130095
  "success": true,
130096
+ "dashboard": {
130097
+ "id": "589de9bca1975a00017b2287",
130098
+ "name": "My Dash",
130099
+ "duration": 980,
130100
+ "resolution": 98,
130101
+ "refreshRate": 60
130102
+ },
129099
130103
  "ctx": {
129100
130104
  "deviceId-withIdAndTagValidationAndIncludeFullDevice": {
129101
130105
  "id": "589de9bca1975a00017b2295",