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.
- checksums.yaml +4 -4
- data/docs/_schemas.md +2317 -650
- data/docs/application.md +5 -5
- data/docs/applicationApiTokens.md +1 -1
- data/docs/applications.md +1 -1
- data/docs/dataTable.md +1 -1
- data/docs/dataTableRows.md +1 -1
- data/docs/dataTables.md +1 -1
- data/docs/devices.md +2 -2
- data/docs/experience.md +1 -1
- data/docs/experienceDomains.md +1 -1
- data/docs/experienceGroup.md +2 -0
- data/docs/experienceSlugs.md +1 -1
- data/docs/experienceVersion.md +3 -3
- data/docs/experienceVersions.md +2 -2
- data/docs/experienceView.md +4 -4
- data/docs/experienceViews.md +2 -2
- data/docs/file.md +5 -5
- data/docs/files.md +2 -2
- data/docs/flowVersions.md +44 -0
- data/docs/instance.md +38 -0
- data/docs/instanceApiToken.md +133 -0
- data/docs/instanceApiTokens.md +91 -0
- data/docs/instanceMembers.md +1 -1
- data/docs/instanceOrgMembers.md +1 -1
- data/docs/userApiToken.md +125 -0
- data/docs/userApiTokens.md +87 -0
- data/lib/losant_rest.rb +4 -0
- data/lib/losant_rest/application.rb +5 -5
- data/lib/losant_rest/application_api_tokens.rb +1 -1
- data/lib/losant_rest/applications.rb +1 -1
- data/lib/losant_rest/client.rb +18 -2
- data/lib/losant_rest/data_table.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/devices.rb +2 -2
- data/lib/losant_rest/experience.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +1 -1
- data/lib/losant_rest/experience_group.rb +4 -0
- data/lib/losant_rest/experience_slugs.rb +1 -1
- data/lib/losant_rest/experience_version.rb +3 -3
- data/lib/losant_rest/experience_versions.rb +2 -2
- data/lib/losant_rest/experience_view.rb +4 -4
- data/lib/losant_rest/experience_views.rb +2 -2
- data/lib/losant_rest/file.rb +4 -4
- data/lib/losant_rest/files.rb +2 -2
- data/lib/losant_rest/flow_versions.rb +50 -0
- data/lib/losant_rest/instance.rb +46 -1
- data/lib/losant_rest/instance_api_token.rb +176 -0
- data/lib/losant_rest/instance_api_tokens.rb +136 -0
- data/lib/losant_rest/instance_member.rb +1 -1
- data/lib/losant_rest/instance_members.rb +2 -2
- data/lib/losant_rest/instance_org.rb +1 -1
- data/lib/losant_rest/instance_org_member.rb +1 -1
- data/lib/losant_rest/instance_org_members.rb +2 -2
- data/lib/losant_rest/instance_orgs.rb +1 -1
- data/lib/losant_rest/instances.rb +1 -1
- data/lib/losant_rest/user_api_token.rb +170 -0
- data/lib/losant_rest/user_api_tokens.rb +132 -0
- data/lib/losant_rest/version.rb +1 -1
- data/schemas/apiToken.json +2 -1
- data/schemas/apiTokenPost.json +420 -0
- data/schemas/apiTokens.json +4 -2
- data/schemas/applicationDashboardPost.json +20 -16
- data/schemas/auditLog.json +4 -0
- data/schemas/auditLogFilter.json +4 -0
- data/schemas/auditLogs.json +4 -0
- data/schemas/bulkDeleteResponse.json +12 -0
- data/schemas/dashboard.json +20 -16
- data/schemas/dashboardPatch.json +20 -16
- data/schemas/dashboardPost.json +20 -16
- data/schemas/dashboardSendReport.json +4 -0
- data/schemas/dashboards.json +20 -16
- data/schemas/experienceGroup.json +6 -0
- data/schemas/experienceGroups.json +6 -0
- data/schemas/flowVersionsDeletePost.json +941 -0
- data/schemas/githubLogin.json +19 -1
- data/schemas/historicalSummary.json +3 -0
- data/schemas/instance.json +60 -0
- data/schemas/instanceOrgPost.json +166 -0
- data/schemas/instancePatch.json +67 -0
- data/schemas/instanceReportOptionsPost.json +1 -0
- data/schemas/notebook.json +15 -0
- data/schemas/notebooks.json +15 -0
- data/schemas/userCredentials.json +19 -1
- data/schemas/userPost.json +19 -1
- data/schemas/validateContextError.json +34 -0
- data/schemas/validateContextSuccess.json +34 -0
- metadata +15 -3
@@ -130,7 +130,7 @@
|
|
130
130
|
},
|
131
131
|
{
|
132
132
|
"type": "string",
|
133
|
-
"maxLength":
|
133
|
+
"maxLength": 128
|
134
134
|
}
|
135
135
|
]
|
136
136
|
},
|
@@ -141,7 +141,7 @@
|
|
141
141
|
},
|
142
142
|
{
|
143
143
|
"type": "string",
|
144
|
-
"maxLength":
|
144
|
+
"maxLength": 128
|
145
145
|
}
|
146
146
|
]
|
147
147
|
},
|
@@ -1582,7 +1582,7 @@
|
|
1582
1582
|
},
|
1583
1583
|
{
|
1584
1584
|
"type": "string",
|
1585
|
-
"maxLength":
|
1585
|
+
"maxLength": 128
|
1586
1586
|
}
|
1587
1587
|
]
|
1588
1588
|
},
|
@@ -1593,7 +1593,7 @@
|
|
1593
1593
|
},
|
1594
1594
|
{
|
1595
1595
|
"type": "string",
|
1596
|
-
"maxLength":
|
1596
|
+
"maxLength": 128
|
1597
1597
|
}
|
1598
1598
|
]
|
1599
1599
|
},
|
@@ -1614,7 +1614,7 @@
|
|
1614
1614
|
},
|
1615
1615
|
{
|
1616
1616
|
"type": "string",
|
1617
|
-
"maxLength":
|
1617
|
+
"maxLength": 128
|
1618
1618
|
}
|
1619
1619
|
]
|
1620
1620
|
},
|
@@ -2077,7 +2077,7 @@
|
|
2077
2077
|
},
|
2078
2078
|
{
|
2079
2079
|
"type": "string",
|
2080
|
-
"maxLength":
|
2080
|
+
"maxLength": 128
|
2081
2081
|
}
|
2082
2082
|
]
|
2083
2083
|
},
|
@@ -2088,7 +2088,7 @@
|
|
2088
2088
|
},
|
2089
2089
|
{
|
2090
2090
|
"type": "string",
|
2091
|
-
"maxLength":
|
2091
|
+
"maxLength": 128
|
2092
2092
|
}
|
2093
2093
|
]
|
2094
2094
|
},
|
@@ -2235,7 +2235,7 @@
|
|
2235
2235
|
},
|
2236
2236
|
{
|
2237
2237
|
"type": "string",
|
2238
|
-
"maxLength":
|
2238
|
+
"maxLength": 128
|
2239
2239
|
}
|
2240
2240
|
]
|
2241
2241
|
},
|
@@ -3010,7 +3010,7 @@
|
|
3010
3010
|
},
|
3011
3011
|
{
|
3012
3012
|
"type": "string",
|
3013
|
-
"maxLength":
|
3013
|
+
"maxLength": 128
|
3014
3014
|
}
|
3015
3015
|
]
|
3016
3016
|
},
|
@@ -3021,7 +3021,7 @@
|
|
3021
3021
|
},
|
3022
3022
|
{
|
3023
3023
|
"type": "string",
|
3024
|
-
"maxLength":
|
3024
|
+
"maxLength": 128
|
3025
3025
|
}
|
3026
3026
|
]
|
3027
3027
|
},
|
@@ -3629,7 +3629,7 @@
|
|
3629
3629
|
},
|
3630
3630
|
{
|
3631
3631
|
"type": "string",
|
3632
|
-
"maxLength":
|
3632
|
+
"maxLength": 128
|
3633
3633
|
}
|
3634
3634
|
]
|
3635
3635
|
},
|
@@ -3640,7 +3640,7 @@
|
|
3640
3640
|
},
|
3641
3641
|
{
|
3642
3642
|
"type": "string",
|
3643
|
-
"maxLength":
|
3643
|
+
"maxLength": 128
|
3644
3644
|
}
|
3645
3645
|
]
|
3646
3646
|
},
|
@@ -3651,7 +3651,7 @@
|
|
3651
3651
|
},
|
3652
3652
|
{
|
3653
3653
|
"type": "string",
|
3654
|
-
"maxLength":
|
3654
|
+
"maxLength": 128
|
3655
3655
|
}
|
3656
3656
|
]
|
3657
3657
|
},
|
@@ -3662,7 +3662,7 @@
|
|
3662
3662
|
},
|
3663
3663
|
{
|
3664
3664
|
"type": "string",
|
3665
|
-
"maxLength":
|
3665
|
+
"maxLength": 128
|
3666
3666
|
}
|
3667
3667
|
]
|
3668
3668
|
}
|
@@ -4509,7 +4509,7 @@
|
|
4509
4509
|
},
|
4510
4510
|
{
|
4511
4511
|
"type": "string",
|
4512
|
-
"maxLength":
|
4512
|
+
"maxLength": 128
|
4513
4513
|
}
|
4514
4514
|
]
|
4515
4515
|
},
|
@@ -5020,7 +5020,7 @@
|
|
5020
5020
|
},
|
5021
5021
|
{
|
5022
5022
|
"type": "string",
|
5023
|
-
"maxLength":
|
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,
|
data/schemas/auditLog.json
CHANGED
@@ -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
|
},
|
data/schemas/auditLogFilter.json
CHANGED
@@ -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
|
},
|
data/schemas/auditLogs.json
CHANGED
@@ -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
|
},
|
data/schemas/dashboard.json
CHANGED
@@ -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":
|
255
|
+
"maxLength": 128
|
252
256
|
}
|
253
257
|
]
|
254
258
|
},
|
@@ -259,7 +263,7 @@
|
|
259
263
|
},
|
260
264
|
{
|
261
265
|
"type": "string",
|
262
|
-
"maxLength":
|
266
|
+
"maxLength": 128
|
263
267
|
}
|
264
268
|
]
|
265
269
|
},
|
@@ -1700,7 +1704,7 @@
|
|
1700
1704
|
},
|
1701
1705
|
{
|
1702
1706
|
"type": "string",
|
1703
|
-
"maxLength":
|
1707
|
+
"maxLength": 128
|
1704
1708
|
}
|
1705
1709
|
]
|
1706
1710
|
},
|
@@ -1711,7 +1715,7 @@
|
|
1711
1715
|
},
|
1712
1716
|
{
|
1713
1717
|
"type": "string",
|
1714
|
-
"maxLength":
|
1718
|
+
"maxLength": 128
|
1715
1719
|
}
|
1716
1720
|
]
|
1717
1721
|
},
|
@@ -1732,7 +1736,7 @@
|
|
1732
1736
|
},
|
1733
1737
|
{
|
1734
1738
|
"type": "string",
|
1735
|
-
"maxLength":
|
1739
|
+
"maxLength": 128
|
1736
1740
|
}
|
1737
1741
|
]
|
1738
1742
|
},
|
@@ -2195,7 +2199,7 @@
|
|
2195
2199
|
},
|
2196
2200
|
{
|
2197
2201
|
"type": "string",
|
2198
|
-
"maxLength":
|
2202
|
+
"maxLength": 128
|
2199
2203
|
}
|
2200
2204
|
]
|
2201
2205
|
},
|
@@ -2206,7 +2210,7 @@
|
|
2206
2210
|
},
|
2207
2211
|
{
|
2208
2212
|
"type": "string",
|
2209
|
-
"maxLength":
|
2213
|
+
"maxLength": 128
|
2210
2214
|
}
|
2211
2215
|
]
|
2212
2216
|
},
|
@@ -2353,7 +2357,7 @@
|
|
2353
2357
|
},
|
2354
2358
|
{
|
2355
2359
|
"type": "string",
|
2356
|
-
"maxLength":
|
2360
|
+
"maxLength": 128
|
2357
2361
|
}
|
2358
2362
|
]
|
2359
2363
|
},
|
@@ -3128,7 +3132,7 @@
|
|
3128
3132
|
},
|
3129
3133
|
{
|
3130
3134
|
"type": "string",
|
3131
|
-
"maxLength":
|
3135
|
+
"maxLength": 128
|
3132
3136
|
}
|
3133
3137
|
]
|
3134
3138
|
},
|
@@ -3139,7 +3143,7 @@
|
|
3139
3143
|
},
|
3140
3144
|
{
|
3141
3145
|
"type": "string",
|
3142
|
-
"maxLength":
|
3146
|
+
"maxLength": 128
|
3143
3147
|
}
|
3144
3148
|
]
|
3145
3149
|
},
|
@@ -3747,7 +3751,7 @@
|
|
3747
3751
|
},
|
3748
3752
|
{
|
3749
3753
|
"type": "string",
|
3750
|
-
"maxLength":
|
3754
|
+
"maxLength": 128
|
3751
3755
|
}
|
3752
3756
|
]
|
3753
3757
|
},
|
@@ -3758,7 +3762,7 @@
|
|
3758
3762
|
},
|
3759
3763
|
{
|
3760
3764
|
"type": "string",
|
3761
|
-
"maxLength":
|
3765
|
+
"maxLength": 128
|
3762
3766
|
}
|
3763
3767
|
]
|
3764
3768
|
},
|
@@ -3769,7 +3773,7 @@
|
|
3769
3773
|
},
|
3770
3774
|
{
|
3771
3775
|
"type": "string",
|
3772
|
-
"maxLength":
|
3776
|
+
"maxLength": 128
|
3773
3777
|
}
|
3774
3778
|
]
|
3775
3779
|
},
|
@@ -3780,7 +3784,7 @@
|
|
3780
3784
|
},
|
3781
3785
|
{
|
3782
3786
|
"type": "string",
|
3783
|
-
"maxLength":
|
3787
|
+
"maxLength": 128
|
3784
3788
|
}
|
3785
3789
|
]
|
3786
3790
|
}
|
@@ -4627,7 +4631,7 @@
|
|
4627
4631
|
},
|
4628
4632
|
{
|
4629
4633
|
"type": "string",
|
4630
|
-
"maxLength":
|
4634
|
+
"maxLength": 128
|
4631
4635
|
}
|
4632
4636
|
]
|
4633
4637
|
},
|
@@ -5138,7 +5142,7 @@
|
|
5138
5142
|
},
|
5139
5143
|
{
|
5140
5144
|
"type": "string",
|
5141
|
-
"maxLength":
|
5145
|
+
"maxLength": 128
|
5142
5146
|
}
|
5143
5147
|
]
|
5144
5148
|
},
|
data/schemas/dashboardPatch.json
CHANGED
@@ -130,7 +130,7 @@
|
|
130
130
|
},
|
131
131
|
{
|
132
132
|
"type": "string",
|
133
|
-
"maxLength":
|
133
|
+
"maxLength": 128
|
134
134
|
}
|
135
135
|
]
|
136
136
|
},
|
@@ -141,7 +141,7 @@
|
|
141
141
|
},
|
142
142
|
{
|
143
143
|
"type": "string",
|
144
|
-
"maxLength":
|
144
|
+
"maxLength": 128
|
145
145
|
}
|
146
146
|
]
|
147
147
|
},
|
@@ -1582,7 +1582,7 @@
|
|
1582
1582
|
},
|
1583
1583
|
{
|
1584
1584
|
"type": "string",
|
1585
|
-
"maxLength":
|
1585
|
+
"maxLength": 128
|
1586
1586
|
}
|
1587
1587
|
]
|
1588
1588
|
},
|
@@ -1593,7 +1593,7 @@
|
|
1593
1593
|
},
|
1594
1594
|
{
|
1595
1595
|
"type": "string",
|
1596
|
-
"maxLength":
|
1596
|
+
"maxLength": 128
|
1597
1597
|
}
|
1598
1598
|
]
|
1599
1599
|
},
|
@@ -1614,7 +1614,7 @@
|
|
1614
1614
|
},
|
1615
1615
|
{
|
1616
1616
|
"type": "string",
|
1617
|
-
"maxLength":
|
1617
|
+
"maxLength": 128
|
1618
1618
|
}
|
1619
1619
|
]
|
1620
1620
|
},
|
@@ -2077,7 +2077,7 @@
|
|
2077
2077
|
},
|
2078
2078
|
{
|
2079
2079
|
"type": "string",
|
2080
|
-
"maxLength":
|
2080
|
+
"maxLength": 128
|
2081
2081
|
}
|
2082
2082
|
]
|
2083
2083
|
},
|
@@ -2088,7 +2088,7 @@
|
|
2088
2088
|
},
|
2089
2089
|
{
|
2090
2090
|
"type": "string",
|
2091
|
-
"maxLength":
|
2091
|
+
"maxLength": 128
|
2092
2092
|
}
|
2093
2093
|
]
|
2094
2094
|
},
|
@@ -2235,7 +2235,7 @@
|
|
2235
2235
|
},
|
2236
2236
|
{
|
2237
2237
|
"type": "string",
|
2238
|
-
"maxLength":
|
2238
|
+
"maxLength": 128
|
2239
2239
|
}
|
2240
2240
|
]
|
2241
2241
|
},
|
@@ -3010,7 +3010,7 @@
|
|
3010
3010
|
},
|
3011
3011
|
{
|
3012
3012
|
"type": "string",
|
3013
|
-
"maxLength":
|
3013
|
+
"maxLength": 128
|
3014
3014
|
}
|
3015
3015
|
]
|
3016
3016
|
},
|
@@ -3021,7 +3021,7 @@
|
|
3021
3021
|
},
|
3022
3022
|
{
|
3023
3023
|
"type": "string",
|
3024
|
-
"maxLength":
|
3024
|
+
"maxLength": 128
|
3025
3025
|
}
|
3026
3026
|
]
|
3027
3027
|
},
|
@@ -3629,7 +3629,7 @@
|
|
3629
3629
|
},
|
3630
3630
|
{
|
3631
3631
|
"type": "string",
|
3632
|
-
"maxLength":
|
3632
|
+
"maxLength": 128
|
3633
3633
|
}
|
3634
3634
|
]
|
3635
3635
|
},
|
@@ -3640,7 +3640,7 @@
|
|
3640
3640
|
},
|
3641
3641
|
{
|
3642
3642
|
"type": "string",
|
3643
|
-
"maxLength":
|
3643
|
+
"maxLength": 128
|
3644
3644
|
}
|
3645
3645
|
]
|
3646
3646
|
},
|
@@ -3651,7 +3651,7 @@
|
|
3651
3651
|
},
|
3652
3652
|
{
|
3653
3653
|
"type": "string",
|
3654
|
-
"maxLength":
|
3654
|
+
"maxLength": 128
|
3655
3655
|
}
|
3656
3656
|
]
|
3657
3657
|
},
|
@@ -3662,7 +3662,7 @@
|
|
3662
3662
|
},
|
3663
3663
|
{
|
3664
3664
|
"type": "string",
|
3665
|
-
"maxLength":
|
3665
|
+
"maxLength": 128
|
3666
3666
|
}
|
3667
3667
|
]
|
3668
3668
|
}
|
@@ -4509,7 +4509,7 @@
|
|
4509
4509
|
},
|
4510
4510
|
{
|
4511
4511
|
"type": "string",
|
4512
|
-
"maxLength":
|
4512
|
+
"maxLength": 128
|
4513
4513
|
}
|
4514
4514
|
]
|
4515
4515
|
},
|
@@ -5020,7 +5020,7 @@
|
|
5020
5020
|
},
|
5021
5021
|
{
|
5022
5022
|
"type": "string",
|
5023
|
-
"maxLength":
|
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,
|