losant_rest 1.9.3 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/_schemas.md +145 -33
- data/lib/losant_rest/client.rb +2 -2
- data/lib/losant_rest/version.rb +1 -1
- data/schemas/advancedDeviceQuery.json +7 -0
- data/schemas/advancedEventQuery.json +7 -0
- data/schemas/advancedQuery.json +12 -3
- data/schemas/applicationTemplate.json +12 -0
- data/schemas/applicationTemplates.json +12 -0
- data/schemas/dataTableRowsExport.json +12 -3
- data/schemas/eventsExport.json +7 -0
- data/schemas/experienceGroup.json +7 -0
- data/schemas/experienceGroupPatch.json +7 -0
- data/schemas/experienceGroupPost.json +7 -0
- data/schemas/experienceGroups.json +7 -0
- data/schemas/notebook.json +10 -2
- data/schemas/notebookPatch.json +10 -2
- data/schemas/notebookPost.json +10 -2
- data/schemas/notebooks.json +10 -2
- data/schemas/orgPost.json +0 -9
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76b05454e305fcf72eb7ce8be18cc8b675c79ec47440c25c0afd5ff3bf727d9a
|
|
4
|
+
data.tar.gz: b1a02d97ed6ddf7abaf92a703509eb53c482a5aa70e17d1c4063f4f99199eed8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 378742e6f557c2f3c6b6ea9f69b2ba8c2a93645866b0a64df326f7f4cf7525a600d7d634027e6752a7f59d5605f927be42781b2a8d44359a6a7a2ff647bd77f3
|
|
7
|
+
data.tar.gz: 8a66850aa801fe408eca791c7aaea44c3cc50183198f02a2e2dc71cfe73771c253f0160315fa090ad15007d6814d5befa5da02580eda3986133f26b47e9c2b3c
|
data/docs/_schemas.md
CHANGED
|
@@ -228,6 +228,13 @@ Schema for advanced device queries
|
|
|
228
228
|
},
|
|
229
229
|
"maxItems": 100
|
|
230
230
|
},
|
|
231
|
+
"$nor": {
|
|
232
|
+
"type": "array",
|
|
233
|
+
"items": {
|
|
234
|
+
"$ref": "#/definitions/advancedDeviceQuery"
|
|
235
|
+
},
|
|
236
|
+
"maxItems": 100
|
|
237
|
+
},
|
|
231
238
|
"id": {
|
|
232
239
|
"oneOf": [
|
|
233
240
|
{
|
|
@@ -1156,6 +1163,13 @@ Schema for advanced event queries
|
|
|
1156
1163
|
},
|
|
1157
1164
|
"maxItems": 100
|
|
1158
1165
|
},
|
|
1166
|
+
"$nor": {
|
|
1167
|
+
"type": "array",
|
|
1168
|
+
"items": {
|
|
1169
|
+
"$ref": "#/definitions/advancedEventQuery"
|
|
1170
|
+
},
|
|
1171
|
+
"maxItems": 100
|
|
1172
|
+
},
|
|
1159
1173
|
"id": {
|
|
1160
1174
|
"oneOf": [
|
|
1161
1175
|
{
|
|
@@ -2154,17 +2168,26 @@ Schema for advanced filters and queries
|
|
|
2154
2168
|
"type": "array",
|
|
2155
2169
|
"items": {
|
|
2156
2170
|
"$ref": "#/definitions/advancedQuery"
|
|
2157
|
-
}
|
|
2171
|
+
},
|
|
2172
|
+
"maxItems": 100
|
|
2158
2173
|
},
|
|
2159
2174
|
"$or": {
|
|
2160
2175
|
"type": "array",
|
|
2161
2176
|
"items": {
|
|
2162
2177
|
"$ref": "#/definitions/advancedQuery"
|
|
2163
|
-
}
|
|
2178
|
+
},
|
|
2179
|
+
"maxItems": 100
|
|
2180
|
+
},
|
|
2181
|
+
"$nor": {
|
|
2182
|
+
"type": "array",
|
|
2183
|
+
"items": {
|
|
2184
|
+
"$ref": "#/definitions/advancedQuery"
|
|
2185
|
+
},
|
|
2186
|
+
"maxItems": 100
|
|
2164
2187
|
}
|
|
2165
2188
|
},
|
|
2166
2189
|
"patternProperties": {
|
|
2167
|
-
"^[0-9a-zA-Z_-]{1,255}": {
|
|
2190
|
+
"^[0-9a-zA-Z_-]{1,255}$": {
|
|
2168
2191
|
"oneOf": [
|
|
2169
2192
|
{
|
|
2170
2193
|
"type": [
|
|
@@ -6153,10 +6176,22 @@ Schema for a single Application Template
|
|
|
6153
6176
|
"public": {
|
|
6154
6177
|
"type": "boolean"
|
|
6155
6178
|
},
|
|
6179
|
+
"authorName": {
|
|
6180
|
+
"type": "string",
|
|
6181
|
+
"maxLength": 255
|
|
6182
|
+
},
|
|
6156
6183
|
"imageUrl": {
|
|
6157
6184
|
"type": "string",
|
|
6158
6185
|
"maxLength": 1024
|
|
6159
6186
|
},
|
|
6187
|
+
"authorUrl": {
|
|
6188
|
+
"type": "string",
|
|
6189
|
+
"maxLength": 1024
|
|
6190
|
+
},
|
|
6191
|
+
"templateUrl": {
|
|
6192
|
+
"type": "string",
|
|
6193
|
+
"maxLength": 1024
|
|
6194
|
+
},
|
|
6160
6195
|
"summary": {
|
|
6161
6196
|
"type": "object",
|
|
6162
6197
|
"properties": {
|
|
@@ -6223,6 +6258,9 @@ Schema for a single Application Template
|
|
|
6223
6258
|
"name": "smart environment",
|
|
6224
6259
|
"description": "a smart env set up",
|
|
6225
6260
|
"public": true,
|
|
6261
|
+
"authorName": "Losant",
|
|
6262
|
+
"authorUrl": "https://www.losant.com",
|
|
6263
|
+
"templateUrl": "https://app.losant.com",
|
|
6226
6264
|
"summary": {
|
|
6227
6265
|
"applicationCertificateAuthorityCount": 0,
|
|
6228
6266
|
"dashboardCount": 0,
|
|
@@ -6288,10 +6326,22 @@ Schema for a collection of Application Templates
|
|
|
6288
6326
|
"public": {
|
|
6289
6327
|
"type": "boolean"
|
|
6290
6328
|
},
|
|
6329
|
+
"authorName": {
|
|
6330
|
+
"type": "string",
|
|
6331
|
+
"maxLength": 255
|
|
6332
|
+
},
|
|
6291
6333
|
"imageUrl": {
|
|
6292
6334
|
"type": "string",
|
|
6293
6335
|
"maxLength": 1024
|
|
6294
6336
|
},
|
|
6337
|
+
"authorUrl": {
|
|
6338
|
+
"type": "string",
|
|
6339
|
+
"maxLength": 1024
|
|
6340
|
+
},
|
|
6341
|
+
"templateUrl": {
|
|
6342
|
+
"type": "string",
|
|
6343
|
+
"maxLength": 1024
|
|
6344
|
+
},
|
|
6295
6345
|
"summary": {
|
|
6296
6346
|
"type": "object",
|
|
6297
6347
|
"properties": {
|
|
@@ -6394,6 +6444,9 @@ Schema for a collection of Application Templates
|
|
|
6394
6444
|
"name": "smart environment",
|
|
6395
6445
|
"description": "a smart env set up",
|
|
6396
6446
|
"public": true,
|
|
6447
|
+
"authorName": "Losant",
|
|
6448
|
+
"authorUrl": "https://www.losant.com",
|
|
6449
|
+
"templateUrl": "https://app.losant.com",
|
|
6397
6450
|
"summary": {
|
|
6398
6451
|
"applicationCertificateAuthorityCount": 0,
|
|
6399
6452
|
"dashboardCount": 0,
|
|
@@ -27035,17 +27088,26 @@ Schema for the body of a data table export
|
|
|
27035
27088
|
"type": "array",
|
|
27036
27089
|
"items": {
|
|
27037
27090
|
"$ref": "#/definitions/advancedQuery"
|
|
27038
|
-
}
|
|
27091
|
+
},
|
|
27092
|
+
"maxItems": 100
|
|
27039
27093
|
},
|
|
27040
27094
|
"$or": {
|
|
27041
27095
|
"type": "array",
|
|
27042
27096
|
"items": {
|
|
27043
27097
|
"$ref": "#/definitions/advancedQuery"
|
|
27044
|
-
}
|
|
27098
|
+
},
|
|
27099
|
+
"maxItems": 100
|
|
27100
|
+
},
|
|
27101
|
+
"$nor": {
|
|
27102
|
+
"type": "array",
|
|
27103
|
+
"items": {
|
|
27104
|
+
"$ref": "#/definitions/advancedQuery"
|
|
27105
|
+
},
|
|
27106
|
+
"maxItems": 100
|
|
27045
27107
|
}
|
|
27046
27108
|
},
|
|
27047
27109
|
"patternProperties": {
|
|
27048
|
-
"^[0-9a-zA-Z_-]{1,255}": {
|
|
27110
|
+
"^[0-9a-zA-Z_-]{1,255}$": {
|
|
27049
27111
|
"oneOf": [
|
|
27050
27112
|
{
|
|
27051
27113
|
"type": [
|
|
@@ -31998,6 +32060,13 @@ Export options for events
|
|
|
31998
32060
|
},
|
|
31999
32061
|
"maxItems": 100
|
|
32000
32062
|
},
|
|
32063
|
+
"$nor": {
|
|
32064
|
+
"type": "array",
|
|
32065
|
+
"items": {
|
|
32066
|
+
"$ref": "#/definitions/advancedEventQuery"
|
|
32067
|
+
},
|
|
32068
|
+
"maxItems": 100
|
|
32069
|
+
},
|
|
32001
32070
|
"id": {
|
|
32002
32071
|
"oneOf": [
|
|
32003
32072
|
{
|
|
@@ -34291,6 +34360,13 @@ Schema for a single Experience Group
|
|
|
34291
34360
|
},
|
|
34292
34361
|
"maxItems": 100
|
|
34293
34362
|
},
|
|
34363
|
+
"deviceQueryJson": {
|
|
34364
|
+
"type": [
|
|
34365
|
+
"string",
|
|
34366
|
+
"null"
|
|
34367
|
+
],
|
|
34368
|
+
"maxLength": 8192
|
|
34369
|
+
},
|
|
34294
34370
|
"parentId": {
|
|
34295
34371
|
"oneOf": [
|
|
34296
34372
|
{
|
|
@@ -34402,6 +34478,13 @@ Schema for the body of an Experience Group modification request
|
|
|
34402
34478
|
},
|
|
34403
34479
|
"maxItems": 100
|
|
34404
34480
|
},
|
|
34481
|
+
"deviceQueryJson": {
|
|
34482
|
+
"type": [
|
|
34483
|
+
"string",
|
|
34484
|
+
"null"
|
|
34485
|
+
],
|
|
34486
|
+
"maxLength": 8192
|
|
34487
|
+
},
|
|
34405
34488
|
"parentId": {
|
|
34406
34489
|
"oneOf": [
|
|
34407
34490
|
{
|
|
@@ -34519,6 +34602,13 @@ Schema for the body of an Experience Group creation request
|
|
|
34519
34602
|
},
|
|
34520
34603
|
"maxItems": 100
|
|
34521
34604
|
},
|
|
34605
|
+
"deviceQueryJson": {
|
|
34606
|
+
"type": [
|
|
34607
|
+
"string",
|
|
34608
|
+
"null"
|
|
34609
|
+
],
|
|
34610
|
+
"maxLength": 8192
|
|
34611
|
+
},
|
|
34522
34612
|
"parentId": {
|
|
34523
34613
|
"oneOf": [
|
|
34524
34614
|
{
|
|
@@ -34666,6 +34756,13 @@ Schema for a collection of Experience Groups
|
|
|
34666
34756
|
},
|
|
34667
34757
|
"maxItems": 100
|
|
34668
34758
|
},
|
|
34759
|
+
"deviceQueryJson": {
|
|
34760
|
+
"type": [
|
|
34761
|
+
"string",
|
|
34762
|
+
"null"
|
|
34763
|
+
],
|
|
34764
|
+
"maxLength": 8192
|
|
34765
|
+
},
|
|
34669
34766
|
"parentId": {
|
|
34670
34767
|
"oneOf": [
|
|
34671
34768
|
{
|
|
@@ -73942,6 +74039,10 @@ Schema for a single Notebook
|
|
|
73942
74039
|
]
|
|
73943
74040
|
}
|
|
73944
74041
|
},
|
|
74042
|
+
"queryJson": {
|
|
74043
|
+
"type": "string",
|
|
74044
|
+
"maxLength": 8192
|
|
74045
|
+
},
|
|
73945
74046
|
"attributes": {
|
|
73946
74047
|
"type": "array",
|
|
73947
74048
|
"maxItems": 100,
|
|
@@ -74034,6 +74135,10 @@ Schema for a single Notebook
|
|
|
74034
74135
|
}
|
|
74035
74136
|
]
|
|
74036
74137
|
}
|
|
74138
|
+
},
|
|
74139
|
+
"queryJson": {
|
|
74140
|
+
"type": "string",
|
|
74141
|
+
"maxLength": 8192
|
|
74037
74142
|
}
|
|
74038
74143
|
},
|
|
74039
74144
|
"required": [
|
|
@@ -74081,7 +74186,7 @@ Schema for a single Notebook
|
|
|
74081
74186
|
},
|
|
74082
74187
|
"queryJson": {
|
|
74083
74188
|
"type": "string",
|
|
74084
|
-
"maxLength":
|
|
74189
|
+
"maxLength": 8192
|
|
74085
74190
|
}
|
|
74086
74191
|
},
|
|
74087
74192
|
"required": [
|
|
@@ -74116,7 +74221,7 @@ Schema for a single Notebook
|
|
|
74116
74221
|
},
|
|
74117
74222
|
"queryJson": {
|
|
74118
74223
|
"type": "string",
|
|
74119
|
-
"maxLength":
|
|
74224
|
+
"maxLength": 8192
|
|
74120
74225
|
}
|
|
74121
74226
|
},
|
|
74122
74227
|
"required": [
|
|
@@ -74828,6 +74933,10 @@ Schema for the body of a Notebook modification request
|
|
|
74828
74933
|
]
|
|
74829
74934
|
}
|
|
74830
74935
|
},
|
|
74936
|
+
"queryJson": {
|
|
74937
|
+
"type": "string",
|
|
74938
|
+
"maxLength": 8192
|
|
74939
|
+
},
|
|
74831
74940
|
"attributes": {
|
|
74832
74941
|
"type": "array",
|
|
74833
74942
|
"maxItems": 100,
|
|
@@ -74920,6 +75029,10 @@ Schema for the body of a Notebook modification request
|
|
|
74920
75029
|
}
|
|
74921
75030
|
]
|
|
74922
75031
|
}
|
|
75032
|
+
},
|
|
75033
|
+
"queryJson": {
|
|
75034
|
+
"type": "string",
|
|
75035
|
+
"maxLength": 8192
|
|
74923
75036
|
}
|
|
74924
75037
|
},
|
|
74925
75038
|
"required": [
|
|
@@ -74967,7 +75080,7 @@ Schema for the body of a Notebook modification request
|
|
|
74967
75080
|
},
|
|
74968
75081
|
"queryJson": {
|
|
74969
75082
|
"type": "string",
|
|
74970
|
-
"maxLength":
|
|
75083
|
+
"maxLength": 8192
|
|
74971
75084
|
}
|
|
74972
75085
|
},
|
|
74973
75086
|
"required": [
|
|
@@ -75002,7 +75115,7 @@ Schema for the body of a Notebook modification request
|
|
|
75002
75115
|
},
|
|
75003
75116
|
"queryJson": {
|
|
75004
75117
|
"type": "string",
|
|
75005
|
-
"maxLength":
|
|
75118
|
+
"maxLength": 8192
|
|
75006
75119
|
}
|
|
75007
75120
|
},
|
|
75008
75121
|
"required": [
|
|
@@ -75331,6 +75444,10 @@ Schema for the body of an Notebook creation request
|
|
|
75331
75444
|
]
|
|
75332
75445
|
}
|
|
75333
75446
|
},
|
|
75447
|
+
"queryJson": {
|
|
75448
|
+
"type": "string",
|
|
75449
|
+
"maxLength": 8192
|
|
75450
|
+
},
|
|
75334
75451
|
"attributes": {
|
|
75335
75452
|
"type": "array",
|
|
75336
75453
|
"maxItems": 100,
|
|
@@ -75423,6 +75540,10 @@ Schema for the body of an Notebook creation request
|
|
|
75423
75540
|
}
|
|
75424
75541
|
]
|
|
75425
75542
|
}
|
|
75543
|
+
},
|
|
75544
|
+
"queryJson": {
|
|
75545
|
+
"type": "string",
|
|
75546
|
+
"maxLength": 8192
|
|
75426
75547
|
}
|
|
75427
75548
|
},
|
|
75428
75549
|
"required": [
|
|
@@ -75470,7 +75591,7 @@ Schema for the body of an Notebook creation request
|
|
|
75470
75591
|
},
|
|
75471
75592
|
"queryJson": {
|
|
75472
75593
|
"type": "string",
|
|
75473
|
-
"maxLength":
|
|
75594
|
+
"maxLength": 8192
|
|
75474
75595
|
}
|
|
75475
75596
|
},
|
|
75476
75597
|
"required": [
|
|
@@ -75505,7 +75626,7 @@ Schema for the body of an Notebook creation request
|
|
|
75505
75626
|
},
|
|
75506
75627
|
"queryJson": {
|
|
75507
75628
|
"type": "string",
|
|
75508
|
-
"maxLength":
|
|
75629
|
+
"maxLength": 8192
|
|
75509
75630
|
}
|
|
75510
75631
|
},
|
|
75511
75632
|
"required": [
|
|
@@ -75872,6 +75993,10 @@ Schema for a collection of Notebooks
|
|
|
75872
75993
|
]
|
|
75873
75994
|
}
|
|
75874
75995
|
},
|
|
75996
|
+
"queryJson": {
|
|
75997
|
+
"type": "string",
|
|
75998
|
+
"maxLength": 8192
|
|
75999
|
+
},
|
|
75875
76000
|
"attributes": {
|
|
75876
76001
|
"type": "array",
|
|
75877
76002
|
"maxItems": 100,
|
|
@@ -75964,6 +76089,10 @@ Schema for a collection of Notebooks
|
|
|
75964
76089
|
}
|
|
75965
76090
|
]
|
|
75966
76091
|
}
|
|
76092
|
+
},
|
|
76093
|
+
"queryJson": {
|
|
76094
|
+
"type": "string",
|
|
76095
|
+
"maxLength": 8192
|
|
75967
76096
|
}
|
|
75968
76097
|
},
|
|
75969
76098
|
"required": [
|
|
@@ -76011,7 +76140,7 @@ Schema for a collection of Notebooks
|
|
|
76011
76140
|
},
|
|
76012
76141
|
"queryJson": {
|
|
76013
76142
|
"type": "string",
|
|
76014
|
-
"maxLength":
|
|
76143
|
+
"maxLength": 8192
|
|
76015
76144
|
}
|
|
76016
76145
|
},
|
|
76017
76146
|
"required": [
|
|
@@ -76046,7 +76175,7 @@ Schema for a collection of Notebooks
|
|
|
76046
76175
|
},
|
|
76047
76176
|
"queryJson": {
|
|
76048
76177
|
"type": "string",
|
|
76049
|
-
"maxLength":
|
|
76178
|
+
"maxLength": 8192
|
|
76050
76179
|
}
|
|
76051
76180
|
},
|
|
76052
76181
|
"required": [
|
|
@@ -76916,11 +77045,7 @@ Schema for a single Organization
|
|
|
76916
77045
|
"webhookCount": 0,
|
|
76917
77046
|
"keyCount": 2,
|
|
76918
77047
|
"deviceRecipeCount": 0
|
|
76919
|
-
}
|
|
76920
|
-
"whitelistedEmailDomains": [
|
|
76921
|
-
"email.com",
|
|
76922
|
-
"losant.com"
|
|
76923
|
-
]
|
|
77048
|
+
}
|
|
76924
77049
|
}
|
|
76925
77050
|
```
|
|
76926
77051
|
|
|
@@ -77461,15 +77586,6 @@ Schema for the body of an Organization creation request
|
|
|
77461
77586
|
"iconColor": {
|
|
77462
77587
|
"type": "string",
|
|
77463
77588
|
"maxLength": 64
|
|
77464
|
-
},
|
|
77465
|
-
"whitelistedEmailDomains": {
|
|
77466
|
-
"type": "array",
|
|
77467
|
-
"maxItems": 25,
|
|
77468
|
-
"items": {
|
|
77469
|
-
"type": "string",
|
|
77470
|
-
"maxLength": 1024,
|
|
77471
|
-
"minLength": 3
|
|
77472
|
-
}
|
|
77473
77589
|
}
|
|
77474
77590
|
},
|
|
77475
77591
|
"additionalProperties": false,
|
|
@@ -78004,11 +78120,7 @@ Schema for a collection of Organizations
|
|
|
78004
78120
|
"webhookCount": 0,
|
|
78005
78121
|
"keyCount": 2,
|
|
78006
78122
|
"deviceRecipeCount": 0
|
|
78007
|
-
}
|
|
78008
|
-
"whitelistedEmailDomains": [
|
|
78009
|
-
"email.com",
|
|
78010
|
-
"losant.com"
|
|
78011
|
-
]
|
|
78123
|
+
}
|
|
78012
78124
|
}
|
|
78013
78125
|
],
|
|
78014
78126
|
"count": 1,
|
data/lib/losant_rest/client.rb
CHANGED
|
@@ -27,7 +27,7 @@ module LosantRest
|
|
|
27
27
|
#
|
|
28
28
|
# User API for accessing Losant data
|
|
29
29
|
#
|
|
30
|
-
# Built For Version 1.
|
|
30
|
+
# Built For Version 1.17.0
|
|
31
31
|
class Client
|
|
32
32
|
attr_accessor :auth_token, :url
|
|
33
33
|
|
|
@@ -278,7 +278,7 @@ module LosantRest
|
|
|
278
278
|
|
|
279
279
|
headers["Accept"] = "application/json"
|
|
280
280
|
headers["Content-Type"] = "application/json"
|
|
281
|
-
headers["Accept-Version"] = "^1.
|
|
281
|
+
headers["Accept-Version"] = "^1.17.0"
|
|
282
282
|
headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
|
|
283
283
|
path = self.url + options.fetch(:path, "")
|
|
284
284
|
|
data/lib/losant_rest/version.rb
CHANGED
data/schemas/advancedQuery.json
CHANGED
|
@@ -6,17 +6,26 @@
|
|
|
6
6
|
"type": "array",
|
|
7
7
|
"items": {
|
|
8
8
|
"$ref": "#/definitions/advancedQuery"
|
|
9
|
-
}
|
|
9
|
+
},
|
|
10
|
+
"maxItems": 100
|
|
10
11
|
},
|
|
11
12
|
"$or": {
|
|
12
13
|
"type": "array",
|
|
13
14
|
"items": {
|
|
14
15
|
"$ref": "#/definitions/advancedQuery"
|
|
15
|
-
}
|
|
16
|
+
},
|
|
17
|
+
"maxItems": 100
|
|
18
|
+
},
|
|
19
|
+
"$nor": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"$ref": "#/definitions/advancedQuery"
|
|
23
|
+
},
|
|
24
|
+
"maxItems": 100
|
|
16
25
|
}
|
|
17
26
|
},
|
|
18
27
|
"patternProperties": {
|
|
19
|
-
"^[0-9a-zA-Z_-]{1,255}": {
|
|
28
|
+
"^[0-9a-zA-Z_-]{1,255}$": {
|
|
20
29
|
"oneOf": [
|
|
21
30
|
{
|
|
22
31
|
"type": [
|
|
@@ -26,10 +26,22 @@
|
|
|
26
26
|
"public": {
|
|
27
27
|
"type": "boolean"
|
|
28
28
|
},
|
|
29
|
+
"authorName": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"maxLength": 255
|
|
32
|
+
},
|
|
29
33
|
"imageUrl": {
|
|
30
34
|
"type": "string",
|
|
31
35
|
"maxLength": 1024
|
|
32
36
|
},
|
|
37
|
+
"authorUrl": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"maxLength": 1024
|
|
40
|
+
},
|
|
41
|
+
"templateUrl": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"maxLength": 1024
|
|
44
|
+
},
|
|
33
45
|
"summary": {
|
|
34
46
|
"type": "object",
|
|
35
47
|
"properties": {
|
|
@@ -33,10 +33,22 @@
|
|
|
33
33
|
"public": {
|
|
34
34
|
"type": "boolean"
|
|
35
35
|
},
|
|
36
|
+
"authorName": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"maxLength": 255
|
|
39
|
+
},
|
|
36
40
|
"imageUrl": {
|
|
37
41
|
"type": "string",
|
|
38
42
|
"maxLength": 1024
|
|
39
43
|
},
|
|
44
|
+
"authorUrl": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"maxLength": 1024
|
|
47
|
+
},
|
|
48
|
+
"templateUrl": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"maxLength": 1024
|
|
51
|
+
},
|
|
40
52
|
"summary": {
|
|
41
53
|
"type": "object",
|
|
42
54
|
"properties": {
|
|
@@ -16,17 +16,26 @@
|
|
|
16
16
|
"type": "array",
|
|
17
17
|
"items": {
|
|
18
18
|
"$ref": "#/definitions/advancedQuery"
|
|
19
|
-
}
|
|
19
|
+
},
|
|
20
|
+
"maxItems": 100
|
|
20
21
|
},
|
|
21
22
|
"$or": {
|
|
22
23
|
"type": "array",
|
|
23
24
|
"items": {
|
|
24
25
|
"$ref": "#/definitions/advancedQuery"
|
|
25
|
-
}
|
|
26
|
+
},
|
|
27
|
+
"maxItems": 100
|
|
28
|
+
},
|
|
29
|
+
"$nor": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"$ref": "#/definitions/advancedQuery"
|
|
33
|
+
},
|
|
34
|
+
"maxItems": 100
|
|
26
35
|
}
|
|
27
36
|
},
|
|
28
37
|
"patternProperties": {
|
|
29
|
-
"^[0-9a-zA-Z_-]{1,255}": {
|
|
38
|
+
"^[0-9a-zA-Z_-]{1,255}$": {
|
|
30
39
|
"oneOf": [
|
|
31
40
|
{
|
|
32
41
|
"type": [
|
data/schemas/eventsExport.json
CHANGED
data/schemas/notebook.json
CHANGED
|
@@ -114,6 +114,10 @@
|
|
|
114
114
|
]
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
+
"queryJson": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"maxLength": 8192
|
|
120
|
+
},
|
|
117
121
|
"attributes": {
|
|
118
122
|
"type": "array",
|
|
119
123
|
"maxItems": 100,
|
|
@@ -206,6 +210,10 @@
|
|
|
206
210
|
}
|
|
207
211
|
]
|
|
208
212
|
}
|
|
213
|
+
},
|
|
214
|
+
"queryJson": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"maxLength": 8192
|
|
209
217
|
}
|
|
210
218
|
},
|
|
211
219
|
"required": [
|
|
@@ -253,7 +261,7 @@
|
|
|
253
261
|
},
|
|
254
262
|
"queryJson": {
|
|
255
263
|
"type": "string",
|
|
256
|
-
"maxLength":
|
|
264
|
+
"maxLength": 8192
|
|
257
265
|
}
|
|
258
266
|
},
|
|
259
267
|
"required": [
|
|
@@ -288,7 +296,7 @@
|
|
|
288
296
|
},
|
|
289
297
|
"queryJson": {
|
|
290
298
|
"type": "string",
|
|
291
|
-
"maxLength":
|
|
299
|
+
"maxLength": 8192
|
|
292
300
|
}
|
|
293
301
|
},
|
|
294
302
|
"required": [
|
data/schemas/notebookPatch.json
CHANGED
|
@@ -86,6 +86,10 @@
|
|
|
86
86
|
]
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
|
+
"queryJson": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"maxLength": 8192
|
|
92
|
+
},
|
|
89
93
|
"attributes": {
|
|
90
94
|
"type": "array",
|
|
91
95
|
"maxItems": 100,
|
|
@@ -178,6 +182,10 @@
|
|
|
178
182
|
}
|
|
179
183
|
]
|
|
180
184
|
}
|
|
185
|
+
},
|
|
186
|
+
"queryJson": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"maxLength": 8192
|
|
181
189
|
}
|
|
182
190
|
},
|
|
183
191
|
"required": [
|
|
@@ -225,7 +233,7 @@
|
|
|
225
233
|
},
|
|
226
234
|
"queryJson": {
|
|
227
235
|
"type": "string",
|
|
228
|
-
"maxLength":
|
|
236
|
+
"maxLength": 8192
|
|
229
237
|
}
|
|
230
238
|
},
|
|
231
239
|
"required": [
|
|
@@ -260,7 +268,7 @@
|
|
|
260
268
|
},
|
|
261
269
|
"queryJson": {
|
|
262
270
|
"type": "string",
|
|
263
|
-
"maxLength":
|
|
271
|
+
"maxLength": 8192
|
|
264
272
|
}
|
|
265
273
|
},
|
|
266
274
|
"required": [
|
data/schemas/notebookPost.json
CHANGED
|
@@ -86,6 +86,10 @@
|
|
|
86
86
|
]
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
|
+
"queryJson": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"maxLength": 8192
|
|
92
|
+
},
|
|
89
93
|
"attributes": {
|
|
90
94
|
"type": "array",
|
|
91
95
|
"maxItems": 100,
|
|
@@ -178,6 +182,10 @@
|
|
|
178
182
|
}
|
|
179
183
|
]
|
|
180
184
|
}
|
|
185
|
+
},
|
|
186
|
+
"queryJson": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"maxLength": 8192
|
|
181
189
|
}
|
|
182
190
|
},
|
|
183
191
|
"required": [
|
|
@@ -225,7 +233,7 @@
|
|
|
225
233
|
},
|
|
226
234
|
"queryJson": {
|
|
227
235
|
"type": "string",
|
|
228
|
-
"maxLength":
|
|
236
|
+
"maxLength": 8192
|
|
229
237
|
}
|
|
230
238
|
},
|
|
231
239
|
"required": [
|
|
@@ -260,7 +268,7 @@
|
|
|
260
268
|
},
|
|
261
269
|
"queryJson": {
|
|
262
270
|
"type": "string",
|
|
263
|
-
"maxLength":
|
|
271
|
+
"maxLength": 8192
|
|
264
272
|
}
|
|
265
273
|
},
|
|
266
274
|
"required": [
|
data/schemas/notebooks.json
CHANGED
|
@@ -121,6 +121,10 @@
|
|
|
121
121
|
]
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
+
"queryJson": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"maxLength": 8192
|
|
127
|
+
},
|
|
124
128
|
"attributes": {
|
|
125
129
|
"type": "array",
|
|
126
130
|
"maxItems": 100,
|
|
@@ -213,6 +217,10 @@
|
|
|
213
217
|
}
|
|
214
218
|
]
|
|
215
219
|
}
|
|
220
|
+
},
|
|
221
|
+
"queryJson": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"maxLength": 8192
|
|
216
224
|
}
|
|
217
225
|
},
|
|
218
226
|
"required": [
|
|
@@ -260,7 +268,7 @@
|
|
|
260
268
|
},
|
|
261
269
|
"queryJson": {
|
|
262
270
|
"type": "string",
|
|
263
|
-
"maxLength":
|
|
271
|
+
"maxLength": 8192
|
|
264
272
|
}
|
|
265
273
|
},
|
|
266
274
|
"required": [
|
|
@@ -295,7 +303,7 @@
|
|
|
295
303
|
},
|
|
296
304
|
"queryJson": {
|
|
297
305
|
"type": "string",
|
|
298
|
-
"maxLength":
|
|
306
|
+
"maxLength": 8192
|
|
299
307
|
}
|
|
300
308
|
},
|
|
301
309
|
"required": [
|
data/schemas/orgPost.json
CHANGED
|
@@ -27,15 +27,6 @@
|
|
|
27
27
|
"iconColor": {
|
|
28
28
|
"type": "string",
|
|
29
29
|
"maxLength": 64
|
|
30
|
-
},
|
|
31
|
-
"whitelistedEmailDomains": {
|
|
32
|
-
"type": "array",
|
|
33
|
-
"maxItems": 25,
|
|
34
|
-
"items": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"maxLength": 1024,
|
|
37
|
-
"minLength": 3
|
|
38
|
-
}
|
|
39
30
|
}
|
|
40
31
|
},
|
|
41
32
|
"additionalProperties": false,
|
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.10.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: 2020-
|
|
11
|
+
date: 2020-03-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|