losant_rest 1.13.0 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +2317 -650
  3. data/docs/application.md +5 -5
  4. data/docs/applicationApiTokens.md +1 -1
  5. data/docs/applications.md +1 -1
  6. data/docs/dataTable.md +1 -1
  7. data/docs/dataTableRows.md +1 -1
  8. data/docs/dataTables.md +1 -1
  9. data/docs/devices.md +2 -2
  10. data/docs/experience.md +1 -1
  11. data/docs/experienceDomains.md +1 -1
  12. data/docs/experienceGroup.md +2 -0
  13. data/docs/experienceSlugs.md +1 -1
  14. data/docs/experienceVersion.md +3 -3
  15. data/docs/experienceVersions.md +2 -2
  16. data/docs/experienceView.md +4 -4
  17. data/docs/experienceViews.md +2 -2
  18. data/docs/file.md +5 -5
  19. data/docs/files.md +2 -2
  20. data/docs/flowVersions.md +44 -0
  21. data/docs/instance.md +38 -0
  22. data/docs/instanceApiToken.md +133 -0
  23. data/docs/instanceApiTokens.md +91 -0
  24. data/docs/instanceMembers.md +1 -1
  25. data/docs/instanceOrgMembers.md +1 -1
  26. data/docs/userApiToken.md +125 -0
  27. data/docs/userApiTokens.md +87 -0
  28. data/lib/losant_rest.rb +4 -0
  29. data/lib/losant_rest/application.rb +5 -5
  30. data/lib/losant_rest/application_api_tokens.rb +1 -1
  31. data/lib/losant_rest/applications.rb +1 -1
  32. data/lib/losant_rest/client.rb +18 -2
  33. data/lib/losant_rest/data_table.rb +1 -1
  34. data/lib/losant_rest/data_table_rows.rb +1 -1
  35. data/lib/losant_rest/data_tables.rb +1 -1
  36. data/lib/losant_rest/devices.rb +2 -2
  37. data/lib/losant_rest/experience.rb +1 -1
  38. data/lib/losant_rest/experience_domains.rb +1 -1
  39. data/lib/losant_rest/experience_group.rb +4 -0
  40. data/lib/losant_rest/experience_slugs.rb +1 -1
  41. data/lib/losant_rest/experience_version.rb +3 -3
  42. data/lib/losant_rest/experience_versions.rb +2 -2
  43. data/lib/losant_rest/experience_view.rb +4 -4
  44. data/lib/losant_rest/experience_views.rb +2 -2
  45. data/lib/losant_rest/file.rb +4 -4
  46. data/lib/losant_rest/files.rb +2 -2
  47. data/lib/losant_rest/flow_versions.rb +50 -0
  48. data/lib/losant_rest/instance.rb +46 -1
  49. data/lib/losant_rest/instance_api_token.rb +176 -0
  50. data/lib/losant_rest/instance_api_tokens.rb +136 -0
  51. data/lib/losant_rest/instance_member.rb +1 -1
  52. data/lib/losant_rest/instance_members.rb +2 -2
  53. data/lib/losant_rest/instance_org.rb +1 -1
  54. data/lib/losant_rest/instance_org_member.rb +1 -1
  55. data/lib/losant_rest/instance_org_members.rb +2 -2
  56. data/lib/losant_rest/instance_orgs.rb +1 -1
  57. data/lib/losant_rest/instances.rb +1 -1
  58. data/lib/losant_rest/user_api_token.rb +170 -0
  59. data/lib/losant_rest/user_api_tokens.rb +132 -0
  60. data/lib/losant_rest/version.rb +1 -1
  61. data/schemas/apiToken.json +2 -1
  62. data/schemas/apiTokenPost.json +420 -0
  63. data/schemas/apiTokens.json +4 -2
  64. data/schemas/applicationDashboardPost.json +20 -16
  65. data/schemas/auditLog.json +4 -0
  66. data/schemas/auditLogFilter.json +4 -0
  67. data/schemas/auditLogs.json +4 -0
  68. data/schemas/bulkDeleteResponse.json +12 -0
  69. data/schemas/dashboard.json +20 -16
  70. data/schemas/dashboardPatch.json +20 -16
  71. data/schemas/dashboardPost.json +20 -16
  72. data/schemas/dashboardSendReport.json +4 -0
  73. data/schemas/dashboards.json +20 -16
  74. data/schemas/experienceGroup.json +6 -0
  75. data/schemas/experienceGroups.json +6 -0
  76. data/schemas/flowVersionsDeletePost.json +941 -0
  77. data/schemas/githubLogin.json +19 -1
  78. data/schemas/historicalSummary.json +3 -0
  79. data/schemas/instance.json +60 -0
  80. data/schemas/instanceOrgPost.json +166 -0
  81. data/schemas/instancePatch.json +67 -0
  82. data/schemas/instanceReportOptionsPost.json +1 -0
  83. data/schemas/notebook.json +15 -0
  84. data/schemas/notebooks.json +15 -0
  85. data/schemas/userCredentials.json +19 -1
  86. data/schemas/userPost.json +19 -1
  87. data/schemas/validateContextError.json +34 -0
  88. data/schemas/validateContextSuccess.json +34 -0
  89. metadata +15 -3
@@ -130,7 +130,7 @@
130
130
  },
131
131
  {
132
132
  "type": "string",
133
- "maxLength": 64
133
+ "maxLength": 128
134
134
  }
135
135
  ]
136
136
  },
@@ -141,7 +141,7 @@
141
141
  },
142
142
  {
143
143
  "type": "string",
144
- "maxLength": 64
144
+ "maxLength": 128
145
145
  }
146
146
  ]
147
147
  },
@@ -1582,7 +1582,7 @@
1582
1582
  },
1583
1583
  {
1584
1584
  "type": "string",
1585
- "maxLength": 64
1585
+ "maxLength": 128
1586
1586
  }
1587
1587
  ]
1588
1588
  },
@@ -1593,7 +1593,7 @@
1593
1593
  },
1594
1594
  {
1595
1595
  "type": "string",
1596
- "maxLength": 64
1596
+ "maxLength": 128
1597
1597
  }
1598
1598
  ]
1599
1599
  },
@@ -1614,7 +1614,7 @@
1614
1614
  },
1615
1615
  {
1616
1616
  "type": "string",
1617
- "maxLength": 64
1617
+ "maxLength": 128
1618
1618
  }
1619
1619
  ]
1620
1620
  },
@@ -2077,7 +2077,7 @@
2077
2077
  },
2078
2078
  {
2079
2079
  "type": "string",
2080
- "maxLength": 64
2080
+ "maxLength": 128
2081
2081
  }
2082
2082
  ]
2083
2083
  },
@@ -2088,7 +2088,7 @@
2088
2088
  },
2089
2089
  {
2090
2090
  "type": "string",
2091
- "maxLength": 64
2091
+ "maxLength": 128
2092
2092
  }
2093
2093
  ]
2094
2094
  },
@@ -2235,7 +2235,7 @@
2235
2235
  },
2236
2236
  {
2237
2237
  "type": "string",
2238
- "maxLength": 64
2238
+ "maxLength": 128
2239
2239
  }
2240
2240
  ]
2241
2241
  },
@@ -3010,7 +3010,7 @@
3010
3010
  },
3011
3011
  {
3012
3012
  "type": "string",
3013
- "maxLength": 64
3013
+ "maxLength": 128
3014
3014
  }
3015
3015
  ]
3016
3016
  },
@@ -3021,7 +3021,7 @@
3021
3021
  },
3022
3022
  {
3023
3023
  "type": "string",
3024
- "maxLength": 64
3024
+ "maxLength": 128
3025
3025
  }
3026
3026
  ]
3027
3027
  },
@@ -3629,7 +3629,7 @@
3629
3629
  },
3630
3630
  {
3631
3631
  "type": "string",
3632
- "maxLength": 64
3632
+ "maxLength": 128
3633
3633
  }
3634
3634
  ]
3635
3635
  },
@@ -3640,7 +3640,7 @@
3640
3640
  },
3641
3641
  {
3642
3642
  "type": "string",
3643
- "maxLength": 64
3643
+ "maxLength": 128
3644
3644
  }
3645
3645
  ]
3646
3646
  },
@@ -3651,7 +3651,7 @@
3651
3651
  },
3652
3652
  {
3653
3653
  "type": "string",
3654
- "maxLength": 64
3654
+ "maxLength": 128
3655
3655
  }
3656
3656
  ]
3657
3657
  },
@@ -3662,7 +3662,7 @@
3662
3662
  },
3663
3663
  {
3664
3664
  "type": "string",
3665
- "maxLength": 64
3665
+ "maxLength": 128
3666
3666
  }
3667
3667
  ]
3668
3668
  }
@@ -4509,7 +4509,7 @@
4509
4509
  },
4510
4510
  {
4511
4511
  "type": "string",
4512
- "maxLength": 64
4512
+ "maxLength": 128
4513
4513
  }
4514
4514
  ]
4515
4515
  },
@@ -5020,7 +5020,7 @@
5020
5020
  },
5021
5021
  {
5022
5022
  "type": "string",
5023
- "maxLength": 64
5023
+ "maxLength": 128
5024
5024
  }
5025
5025
  ]
5026
5026
  },
@@ -5333,6 +5333,10 @@
5333
5333
  "timezone": {
5334
5334
  "type": "string",
5335
5335
  "maxLength": 255
5336
+ },
5337
+ "locale": {
5338
+ "type": "string",
5339
+ "maxLength": 5
5336
5340
  }
5337
5341
  },
5338
5342
  "additionalProperties": false,
@@ -42,7 +42,10 @@
42
42
  "type": "string",
43
43
  "enum": [
44
44
  "ApiToken",
45
+ "ApplicationCertificateAuthority",
46
+ "ApplicationCertificate",
45
47
  "ApplicationKey",
48
+ "Dashboard",
46
49
  "DataTable",
47
50
  "Device",
48
51
  "DeviceRecipe",
@@ -57,6 +60,7 @@
57
60
  "File",
58
61
  "Flow",
59
62
  "Integration",
63
+ "Notebook",
60
64
  "Webhook"
61
65
  ]
62
66
  },
@@ -40,7 +40,10 @@
40
40
  "type": "string",
41
41
  "enum": [
42
42
  "ApiToken",
43
+ "ApplicationCertificateAuthority",
44
+ "ApplicationCertificate",
43
45
  "ApplicationKey",
46
+ "Dashboard",
44
47
  "DataTable",
45
48
  "Device",
46
49
  "DeviceRecipe",
@@ -55,6 +58,7 @@
55
58
  "File",
56
59
  "Flow",
57
60
  "Integration",
61
+ "Notebook",
58
62
  "Webhook"
59
63
  ]
60
64
  },
@@ -49,7 +49,10 @@
49
49
  "type": "string",
50
50
  "enum": [
51
51
  "ApiToken",
52
+ "ApplicationCertificateAuthority",
53
+ "ApplicationCertificate",
52
54
  "ApplicationKey",
55
+ "Dashboard",
53
56
  "DataTable",
54
57
  "Device",
55
58
  "DeviceRecipe",
@@ -64,6 +67,7 @@
64
67
  "File",
65
68
  "Flow",
66
69
  "Integration",
70
+ "Notebook",
67
71
  "Webhook"
68
72
  ]
69
73
  },
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "removed": {
6
+ "type": "number"
7
+ },
8
+ "failed": {
9
+ "type": "number"
10
+ }
11
+ }
12
+ }
@@ -116,6 +116,10 @@
116
116
  "timezone": {
117
117
  "type": "string",
118
118
  "maxLength": 255
119
+ },
120
+ "locale": {
121
+ "type": "string",
122
+ "maxLength": 5
119
123
  }
120
124
  },
121
125
  "additionalProperties": false,
@@ -248,7 +252,7 @@
248
252
  },
249
253
  {
250
254
  "type": "string",
251
- "maxLength": 64
255
+ "maxLength": 128
252
256
  }
253
257
  ]
254
258
  },
@@ -259,7 +263,7 @@
259
263
  },
260
264
  {
261
265
  "type": "string",
262
- "maxLength": 64
266
+ "maxLength": 128
263
267
  }
264
268
  ]
265
269
  },
@@ -1700,7 +1704,7 @@
1700
1704
  },
1701
1705
  {
1702
1706
  "type": "string",
1703
- "maxLength": 64
1707
+ "maxLength": 128
1704
1708
  }
1705
1709
  ]
1706
1710
  },
@@ -1711,7 +1715,7 @@
1711
1715
  },
1712
1716
  {
1713
1717
  "type": "string",
1714
- "maxLength": 64
1718
+ "maxLength": 128
1715
1719
  }
1716
1720
  ]
1717
1721
  },
@@ -1732,7 +1736,7 @@
1732
1736
  },
1733
1737
  {
1734
1738
  "type": "string",
1735
- "maxLength": 64
1739
+ "maxLength": 128
1736
1740
  }
1737
1741
  ]
1738
1742
  },
@@ -2195,7 +2199,7 @@
2195
2199
  },
2196
2200
  {
2197
2201
  "type": "string",
2198
- "maxLength": 64
2202
+ "maxLength": 128
2199
2203
  }
2200
2204
  ]
2201
2205
  },
@@ -2206,7 +2210,7 @@
2206
2210
  },
2207
2211
  {
2208
2212
  "type": "string",
2209
- "maxLength": 64
2213
+ "maxLength": 128
2210
2214
  }
2211
2215
  ]
2212
2216
  },
@@ -2353,7 +2357,7 @@
2353
2357
  },
2354
2358
  {
2355
2359
  "type": "string",
2356
- "maxLength": 64
2360
+ "maxLength": 128
2357
2361
  }
2358
2362
  ]
2359
2363
  },
@@ -3128,7 +3132,7 @@
3128
3132
  },
3129
3133
  {
3130
3134
  "type": "string",
3131
- "maxLength": 64
3135
+ "maxLength": 128
3132
3136
  }
3133
3137
  ]
3134
3138
  },
@@ -3139,7 +3143,7 @@
3139
3143
  },
3140
3144
  {
3141
3145
  "type": "string",
3142
- "maxLength": 64
3146
+ "maxLength": 128
3143
3147
  }
3144
3148
  ]
3145
3149
  },
@@ -3747,7 +3751,7 @@
3747
3751
  },
3748
3752
  {
3749
3753
  "type": "string",
3750
- "maxLength": 64
3754
+ "maxLength": 128
3751
3755
  }
3752
3756
  ]
3753
3757
  },
@@ -3758,7 +3762,7 @@
3758
3762
  },
3759
3763
  {
3760
3764
  "type": "string",
3761
- "maxLength": 64
3765
+ "maxLength": 128
3762
3766
  }
3763
3767
  ]
3764
3768
  },
@@ -3769,7 +3773,7 @@
3769
3773
  },
3770
3774
  {
3771
3775
  "type": "string",
3772
- "maxLength": 64
3776
+ "maxLength": 128
3773
3777
  }
3774
3778
  ]
3775
3779
  },
@@ -3780,7 +3784,7 @@
3780
3784
  },
3781
3785
  {
3782
3786
  "type": "string",
3783
- "maxLength": 64
3787
+ "maxLength": 128
3784
3788
  }
3785
3789
  ]
3786
3790
  }
@@ -4627,7 +4631,7 @@
4627
4631
  },
4628
4632
  {
4629
4633
  "type": "string",
4630
- "maxLength": 64
4634
+ "maxLength": 128
4631
4635
  }
4632
4636
  ]
4633
4637
  },
@@ -5138,7 +5142,7 @@
5138
5142
  },
5139
5143
  {
5140
5144
  "type": "string",
5141
- "maxLength": 64
5145
+ "maxLength": 128
5142
5146
  }
5143
5147
  ]
5144
5148
  },
@@ -130,7 +130,7 @@
130
130
  },
131
131
  {
132
132
  "type": "string",
133
- "maxLength": 64
133
+ "maxLength": 128
134
134
  }
135
135
  ]
136
136
  },
@@ -141,7 +141,7 @@
141
141
  },
142
142
  {
143
143
  "type": "string",
144
- "maxLength": 64
144
+ "maxLength": 128
145
145
  }
146
146
  ]
147
147
  },
@@ -1582,7 +1582,7 @@
1582
1582
  },
1583
1583
  {
1584
1584
  "type": "string",
1585
- "maxLength": 64
1585
+ "maxLength": 128
1586
1586
  }
1587
1587
  ]
1588
1588
  },
@@ -1593,7 +1593,7 @@
1593
1593
  },
1594
1594
  {
1595
1595
  "type": "string",
1596
- "maxLength": 64
1596
+ "maxLength": 128
1597
1597
  }
1598
1598
  ]
1599
1599
  },
@@ -1614,7 +1614,7 @@
1614
1614
  },
1615
1615
  {
1616
1616
  "type": "string",
1617
- "maxLength": 64
1617
+ "maxLength": 128
1618
1618
  }
1619
1619
  ]
1620
1620
  },
@@ -2077,7 +2077,7 @@
2077
2077
  },
2078
2078
  {
2079
2079
  "type": "string",
2080
- "maxLength": 64
2080
+ "maxLength": 128
2081
2081
  }
2082
2082
  ]
2083
2083
  },
@@ -2088,7 +2088,7 @@
2088
2088
  },
2089
2089
  {
2090
2090
  "type": "string",
2091
- "maxLength": 64
2091
+ "maxLength": 128
2092
2092
  }
2093
2093
  ]
2094
2094
  },
@@ -2235,7 +2235,7 @@
2235
2235
  },
2236
2236
  {
2237
2237
  "type": "string",
2238
- "maxLength": 64
2238
+ "maxLength": 128
2239
2239
  }
2240
2240
  ]
2241
2241
  },
@@ -3010,7 +3010,7 @@
3010
3010
  },
3011
3011
  {
3012
3012
  "type": "string",
3013
- "maxLength": 64
3013
+ "maxLength": 128
3014
3014
  }
3015
3015
  ]
3016
3016
  },
@@ -3021,7 +3021,7 @@
3021
3021
  },
3022
3022
  {
3023
3023
  "type": "string",
3024
- "maxLength": 64
3024
+ "maxLength": 128
3025
3025
  }
3026
3026
  ]
3027
3027
  },
@@ -3629,7 +3629,7 @@
3629
3629
  },
3630
3630
  {
3631
3631
  "type": "string",
3632
- "maxLength": 64
3632
+ "maxLength": 128
3633
3633
  }
3634
3634
  ]
3635
3635
  },
@@ -3640,7 +3640,7 @@
3640
3640
  },
3641
3641
  {
3642
3642
  "type": "string",
3643
- "maxLength": 64
3643
+ "maxLength": 128
3644
3644
  }
3645
3645
  ]
3646
3646
  },
@@ -3651,7 +3651,7 @@
3651
3651
  },
3652
3652
  {
3653
3653
  "type": "string",
3654
- "maxLength": 64
3654
+ "maxLength": 128
3655
3655
  }
3656
3656
  ]
3657
3657
  },
@@ -3662,7 +3662,7 @@
3662
3662
  },
3663
3663
  {
3664
3664
  "type": "string",
3665
- "maxLength": 64
3665
+ "maxLength": 128
3666
3666
  }
3667
3667
  ]
3668
3668
  }
@@ -4509,7 +4509,7 @@
4509
4509
  },
4510
4510
  {
4511
4511
  "type": "string",
4512
- "maxLength": 64
4512
+ "maxLength": 128
4513
4513
  }
4514
4514
  ]
4515
4515
  },
@@ -5020,7 +5020,7 @@
5020
5020
  },
5021
5021
  {
5022
5022
  "type": "string",
5023
- "maxLength": 64
5023
+ "maxLength": 128
5024
5024
  }
5025
5025
  ]
5026
5026
  },
@@ -5317,6 +5317,10 @@
5317
5317
  "timezone": {
5318
5318
  "type": "string",
5319
5319
  "maxLength": 255
5320
+ },
5321
+ "locale": {
5322
+ "type": "string",
5323
+ "maxLength": 5
5320
5324
  }
5321
5325
  },
5322
5326
  "additionalProperties": false,