losant_rest 1.22.3 → 1.23.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 +1313 -145
- data/docs/file.md +3 -3
- data/docs/files.md +2 -2
- data/docs/me.md +11 -1
- data/docs/privateFile.md +222 -0
- data/docs/privateFiles.md +97 -0
- data/lib/platform_rest/client.rb +10 -2
- data/lib/platform_rest/file.rb +3 -3
- data/lib/platform_rest/files.rb +1 -1
- data/lib/platform_rest/me.rb +21 -1
- data/lib/platform_rest/private_file.rb +230 -0
- data/lib/platform_rest/private_files.rb +146 -0
- data/lib/platform_rest/version.rb +1 -1
- data/lib/platform_rest.rb +2 -0
- data/schemas/apiTokenPost.json +12 -2
- data/schemas/application.json +7 -0
- data/schemas/applicationClonePost.json +4 -0
- data/schemas/applicationCreationByTemplateResult.json +7 -0
- data/schemas/applicationDashboardPost.json +3 -1
- data/schemas/applicationExportPost.json +4 -0
- data/schemas/applicationImportExecutions.json +2 -0
- data/schemas/applicationPatch.json +4 -0
- data/schemas/applicationPost.json +4 -0
- data/schemas/applicationTemplate.json +3 -0
- data/schemas/applicationTemplates.json +3 -0
- data/schemas/applications.json +7 -0
- data/schemas/auditLog.json +1 -0
- data/schemas/auditLogFilter.json +1 -0
- data/schemas/auditLogs.json +1 -0
- data/schemas/credentialLinkedResources.json +18 -0
- data/schemas/dashboard.json +3 -1
- data/schemas/dashboardBlockSuggestCodePost.json +620 -0
- data/schemas/dashboardBlockSuggestCodeResponse.json +49 -0
- data/schemas/dashboardPatch.json +3 -1
- data/schemas/dashboardPost.json +3 -1
- data/schemas/dashboards.json +3 -1
- data/schemas/experienceLinkedResources.json +18 -0
- data/schemas/fileUploadPostResponse.json +103 -82
- data/schemas/files.json +1 -1
- data/schemas/flow.json +6 -0
- data/schemas/flowPatch.json +6 -0
- data/schemas/flowPost.json +6 -0
- data/schemas/flowVersion.json +12 -0
- data/schemas/flowVersionPost.json +6 -0
- data/schemas/flowVersions.json +12 -0
- data/schemas/flows.json +6 -0
- data/schemas/flowsImportPost.json +12 -0
- data/schemas/flowsImportResult.json +18 -0
- data/schemas/githubLogin.json +12 -2
- data/schemas/historicalSummaries.json +10 -0
- data/schemas/historicalSummary.json +10 -0
- data/schemas/importIntoApplicationOptions.json +1 -0
- data/schemas/importNewApplicationOptions.json +1 -0
- data/schemas/instance.json +7 -0
- data/schemas/instanceOrg.json +7 -0
- data/schemas/instanceOrgPatch.json +4 -0
- data/schemas/instanceOrgPost.json +4 -0
- data/schemas/instanceOrgs.json +7 -0
- data/schemas/instancePatch.json +4 -0
- data/schemas/instanceSandbox.json +6 -0
- data/schemas/instanceSandboxes.json +6 -0
- data/schemas/instances.json +7 -0
- data/schemas/me.json +11 -0
- data/schemas/notebook.json +9 -0
- data/schemas/notebookPatch.json +9 -0
- data/schemas/notebookPost.json +9 -0
- data/schemas/notebooks.json +9 -0
- data/schemas/org.json +7 -0
- data/schemas/orgs.json +7 -0
- data/schemas/samlResponse.json +12 -2
- data/schemas/suggestFunctionPost.json +2 -1
- data/schemas/suggestFunctionResponse.json +13 -1
- data/schemas/userCredentials.json +12 -2
- data/schemas/userPost.json +12 -2
- data/schemas/webhook.json +3 -0
- data/schemas/webhookPatch.json +3 -0
- data/schemas/webhookPost.json +3 -0
- data/schemas/webhooks.json +3 -0
- metadata +8 -2
|
@@ -169,6 +169,9 @@
|
|
|
169
169
|
"notebook": {
|
|
170
170
|
"type": "integer"
|
|
171
171
|
},
|
|
172
|
+
"privatefile": {
|
|
173
|
+
"type": "integer"
|
|
174
|
+
},
|
|
172
175
|
"resourcejob": {
|
|
173
176
|
"type": "integer"
|
|
174
177
|
},
|
|
@@ -277,6 +280,9 @@
|
|
|
277
280
|
"resourceJobCount": {
|
|
278
281
|
"type": "integer"
|
|
279
282
|
},
|
|
283
|
+
"privateFileCount": {
|
|
284
|
+
"type": "integer"
|
|
285
|
+
},
|
|
280
286
|
"webhookCount": {
|
|
281
287
|
"type": "integer"
|
|
282
288
|
},
|
|
@@ -176,6 +176,9 @@
|
|
|
176
176
|
"notebook": {
|
|
177
177
|
"type": "integer"
|
|
178
178
|
},
|
|
179
|
+
"privatefile": {
|
|
180
|
+
"type": "integer"
|
|
181
|
+
},
|
|
179
182
|
"resourcejob": {
|
|
180
183
|
"type": "integer"
|
|
181
184
|
},
|
|
@@ -284,6 +287,9 @@
|
|
|
284
287
|
"resourceJobCount": {
|
|
285
288
|
"type": "integer"
|
|
286
289
|
},
|
|
290
|
+
"privateFileCount": {
|
|
291
|
+
"type": "integer"
|
|
292
|
+
},
|
|
287
293
|
"webhookCount": {
|
|
288
294
|
"type": "integer"
|
|
289
295
|
},
|
data/schemas/instances.json
CHANGED
|
@@ -172,6 +172,9 @@
|
|
|
172
172
|
"notebook": {
|
|
173
173
|
"type": "integer"
|
|
174
174
|
},
|
|
175
|
+
"privatefile": {
|
|
176
|
+
"type": "integer"
|
|
177
|
+
},
|
|
175
178
|
"resourcejob": {
|
|
176
179
|
"type": "integer"
|
|
177
180
|
},
|
|
@@ -298,6 +301,10 @@
|
|
|
298
301
|
"type": "integer",
|
|
299
302
|
"minimum": 0
|
|
300
303
|
},
|
|
304
|
+
"privatefile": {
|
|
305
|
+
"type": "integer",
|
|
306
|
+
"minimum": 0
|
|
307
|
+
},
|
|
301
308
|
"resourcejob": {
|
|
302
309
|
"type": "integer",
|
|
303
310
|
"minimum": 0
|
data/schemas/me.json
CHANGED
|
@@ -27,6 +27,11 @@
|
|
|
27
27
|
"format": "email",
|
|
28
28
|
"maxLength": 1024
|
|
29
29
|
},
|
|
30
|
+
"requestedEmail": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"format": "email",
|
|
33
|
+
"maxLength": 1024
|
|
34
|
+
},
|
|
30
35
|
"firstName": {
|
|
31
36
|
"type": "string",
|
|
32
37
|
"minLength": 1,
|
|
@@ -146,6 +151,9 @@
|
|
|
146
151
|
"notebook": {
|
|
147
152
|
"type": "integer"
|
|
148
153
|
},
|
|
154
|
+
"privatefile": {
|
|
155
|
+
"type": "integer"
|
|
156
|
+
},
|
|
149
157
|
"resourcejob": {
|
|
150
158
|
"type": "integer"
|
|
151
159
|
},
|
|
@@ -368,6 +376,9 @@
|
|
|
368
376
|
"resourceJobCount": {
|
|
369
377
|
"type": "integer"
|
|
370
378
|
},
|
|
379
|
+
"privateFileCount": {
|
|
380
|
+
"type": "integer"
|
|
381
|
+
},
|
|
371
382
|
"webhookCount": {
|
|
372
383
|
"type": "integer"
|
|
373
384
|
},
|
data/schemas/notebook.json
CHANGED
|
@@ -537,6 +537,9 @@
|
|
|
537
537
|
"type": "string",
|
|
538
538
|
"minLength": 1,
|
|
539
539
|
"maxLength": 1024
|
|
540
|
+
},
|
|
541
|
+
"destinationPrivate": {
|
|
542
|
+
"type": "boolean"
|
|
540
543
|
}
|
|
541
544
|
},
|
|
542
545
|
"required": [
|
|
@@ -573,6 +576,9 @@
|
|
|
573
576
|
"type": "string",
|
|
574
577
|
"minLength": 1,
|
|
575
578
|
"maxLength": 1024
|
|
579
|
+
},
|
|
580
|
+
"destinationPrivate": {
|
|
581
|
+
"type": "boolean"
|
|
576
582
|
}
|
|
577
583
|
},
|
|
578
584
|
"required": [
|
|
@@ -610,6 +616,9 @@
|
|
|
610
616
|
"type": "string",
|
|
611
617
|
"minLength": 1,
|
|
612
618
|
"maxLength": 1024
|
|
619
|
+
},
|
|
620
|
+
"destinationPrivate": {
|
|
621
|
+
"type": "boolean"
|
|
613
622
|
}
|
|
614
623
|
},
|
|
615
624
|
"required": [
|
data/schemas/notebookPatch.json
CHANGED
|
@@ -501,6 +501,9 @@
|
|
|
501
501
|
"type": "string",
|
|
502
502
|
"minLength": 1,
|
|
503
503
|
"maxLength": 1024
|
|
504
|
+
},
|
|
505
|
+
"destinationPrivate": {
|
|
506
|
+
"type": "boolean"
|
|
504
507
|
}
|
|
505
508
|
},
|
|
506
509
|
"required": [
|
|
@@ -537,6 +540,9 @@
|
|
|
537
540
|
"type": "string",
|
|
538
541
|
"minLength": 1,
|
|
539
542
|
"maxLength": 1024
|
|
543
|
+
},
|
|
544
|
+
"destinationPrivate": {
|
|
545
|
+
"type": "boolean"
|
|
540
546
|
}
|
|
541
547
|
},
|
|
542
548
|
"required": [
|
|
@@ -574,6 +580,9 @@
|
|
|
574
580
|
"type": "string",
|
|
575
581
|
"minLength": 1,
|
|
576
582
|
"maxLength": 1024
|
|
583
|
+
},
|
|
584
|
+
"destinationPrivate": {
|
|
585
|
+
"type": "boolean"
|
|
577
586
|
}
|
|
578
587
|
},
|
|
579
588
|
"required": [
|
data/schemas/notebookPost.json
CHANGED
|
@@ -509,6 +509,9 @@
|
|
|
509
509
|
"type": "string",
|
|
510
510
|
"minLength": 1,
|
|
511
511
|
"maxLength": 1024
|
|
512
|
+
},
|
|
513
|
+
"destinationPrivate": {
|
|
514
|
+
"type": "boolean"
|
|
512
515
|
}
|
|
513
516
|
},
|
|
514
517
|
"required": [
|
|
@@ -545,6 +548,9 @@
|
|
|
545
548
|
"type": "string",
|
|
546
549
|
"minLength": 1,
|
|
547
550
|
"maxLength": 1024
|
|
551
|
+
},
|
|
552
|
+
"destinationPrivate": {
|
|
553
|
+
"type": "boolean"
|
|
548
554
|
}
|
|
549
555
|
},
|
|
550
556
|
"required": [
|
|
@@ -582,6 +588,9 @@
|
|
|
582
588
|
"type": "string",
|
|
583
589
|
"minLength": 1,
|
|
584
590
|
"maxLength": 1024
|
|
591
|
+
},
|
|
592
|
+
"destinationPrivate": {
|
|
593
|
+
"type": "boolean"
|
|
585
594
|
}
|
|
586
595
|
},
|
|
587
596
|
"required": [
|
data/schemas/notebooks.json
CHANGED
|
@@ -544,6 +544,9 @@
|
|
|
544
544
|
"type": "string",
|
|
545
545
|
"minLength": 1,
|
|
546
546
|
"maxLength": 1024
|
|
547
|
+
},
|
|
548
|
+
"destinationPrivate": {
|
|
549
|
+
"type": "boolean"
|
|
547
550
|
}
|
|
548
551
|
},
|
|
549
552
|
"required": [
|
|
@@ -580,6 +583,9 @@
|
|
|
580
583
|
"type": "string",
|
|
581
584
|
"minLength": 1,
|
|
582
585
|
"maxLength": 1024
|
|
586
|
+
},
|
|
587
|
+
"destinationPrivate": {
|
|
588
|
+
"type": "boolean"
|
|
583
589
|
}
|
|
584
590
|
},
|
|
585
591
|
"required": [
|
|
@@ -617,6 +623,9 @@
|
|
|
617
623
|
"type": "string",
|
|
618
624
|
"minLength": 1,
|
|
619
625
|
"maxLength": 1024
|
|
626
|
+
},
|
|
627
|
+
"destinationPrivate": {
|
|
628
|
+
"type": "boolean"
|
|
620
629
|
}
|
|
621
630
|
},
|
|
622
631
|
"required": [
|
data/schemas/org.json
CHANGED
|
@@ -213,6 +213,10 @@
|
|
|
213
213
|
"type": "integer",
|
|
214
214
|
"minimum": 0
|
|
215
215
|
},
|
|
216
|
+
"privatefile": {
|
|
217
|
+
"type": "integer",
|
|
218
|
+
"minimum": 0
|
|
219
|
+
},
|
|
216
220
|
"resourcejob": {
|
|
217
221
|
"type": "integer",
|
|
218
222
|
"minimum": 0
|
|
@@ -334,6 +338,9 @@
|
|
|
334
338
|
"notebookCount": {
|
|
335
339
|
"type": "integer"
|
|
336
340
|
},
|
|
341
|
+
"privateFileCount": {
|
|
342
|
+
"type": "integer"
|
|
343
|
+
},
|
|
337
344
|
"resourceJobCount": {
|
|
338
345
|
"type": "integer"
|
|
339
346
|
},
|
data/schemas/orgs.json
CHANGED
|
@@ -220,6 +220,10 @@
|
|
|
220
220
|
"type": "integer",
|
|
221
221
|
"minimum": 0
|
|
222
222
|
},
|
|
223
|
+
"privatefile": {
|
|
224
|
+
"type": "integer",
|
|
225
|
+
"minimum": 0
|
|
226
|
+
},
|
|
223
227
|
"resourcejob": {
|
|
224
228
|
"type": "integer",
|
|
225
229
|
"minimum": 0
|
|
@@ -341,6 +345,9 @@
|
|
|
341
345
|
"notebookCount": {
|
|
342
346
|
"type": "integer"
|
|
343
347
|
},
|
|
348
|
+
"privateFileCount": {
|
|
349
|
+
"type": "integer"
|
|
350
|
+
},
|
|
344
351
|
"resourceJobCount": {
|
|
345
352
|
"type": "integer"
|
|
346
353
|
},
|
data/schemas/samlResponse.json
CHANGED
|
@@ -82,10 +82,12 @@
|
|
|
82
82
|
"flows.*",
|
|
83
83
|
"flowVersion.*",
|
|
84
84
|
"flowVersions.*",
|
|
85
|
-
"resourceJobs.*",
|
|
86
|
-
"resourceJob.*",
|
|
87
85
|
"notebook.*",
|
|
88
86
|
"notebooks.*",
|
|
87
|
+
"privateFile.*",
|
|
88
|
+
"privateFiles.*",
|
|
89
|
+
"resourceJobs.*",
|
|
90
|
+
"resourceJob.*",
|
|
89
91
|
"webhook.*",
|
|
90
92
|
"webhooks.*",
|
|
91
93
|
"application.applyTemplate",
|
|
@@ -322,6 +324,13 @@
|
|
|
322
324
|
"notebook.upload",
|
|
323
325
|
"notebooks.get",
|
|
324
326
|
"notebooks.post",
|
|
327
|
+
"privateFile.get",
|
|
328
|
+
"privateFile.patch",
|
|
329
|
+
"privateFile.move",
|
|
330
|
+
"privateFile.delete",
|
|
331
|
+
"privateFile.upload",
|
|
332
|
+
"privateFiles.get",
|
|
333
|
+
"privateFiles.post",
|
|
325
334
|
"resourceJob.get",
|
|
326
335
|
"resourceJob.logs",
|
|
327
336
|
"resourceJob.patch",
|
|
@@ -358,6 +367,7 @@
|
|
|
358
367
|
"dashboard.patch",
|
|
359
368
|
"dashboard.delete",
|
|
360
369
|
"dashboard.sendReport",
|
|
370
|
+
"dashboard.suggestCode",
|
|
361
371
|
"dashboards.get",
|
|
362
372
|
"dashboards.post",
|
|
363
373
|
"org.get",
|
|
@@ -7,6 +7,19 @@
|
|
|
7
7
|
"maxLength": 32767,
|
|
8
8
|
"minLength": 1
|
|
9
9
|
},
|
|
10
|
+
"response": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"code": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"maxLength": 32767
|
|
16
|
+
},
|
|
17
|
+
"comments": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"maxLength": 32767
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
10
23
|
"responseId": {
|
|
11
24
|
"type": "string",
|
|
12
25
|
"minLength": 1,
|
|
@@ -29,7 +42,6 @@
|
|
|
29
42
|
}
|
|
30
43
|
},
|
|
31
44
|
"required": [
|
|
32
|
-
"text",
|
|
33
45
|
"responseId",
|
|
34
46
|
"finishReason"
|
|
35
47
|
],
|
|
@@ -86,10 +86,12 @@
|
|
|
86
86
|
"flows.*",
|
|
87
87
|
"flowVersion.*",
|
|
88
88
|
"flowVersions.*",
|
|
89
|
-
"resourceJobs.*",
|
|
90
|
-
"resourceJob.*",
|
|
91
89
|
"notebook.*",
|
|
92
90
|
"notebooks.*",
|
|
91
|
+
"privateFile.*",
|
|
92
|
+
"privateFiles.*",
|
|
93
|
+
"resourceJobs.*",
|
|
94
|
+
"resourceJob.*",
|
|
93
95
|
"webhook.*",
|
|
94
96
|
"webhooks.*",
|
|
95
97
|
"application.applyTemplate",
|
|
@@ -326,6 +328,13 @@
|
|
|
326
328
|
"notebook.upload",
|
|
327
329
|
"notebooks.get",
|
|
328
330
|
"notebooks.post",
|
|
331
|
+
"privateFile.get",
|
|
332
|
+
"privateFile.patch",
|
|
333
|
+
"privateFile.move",
|
|
334
|
+
"privateFile.delete",
|
|
335
|
+
"privateFile.upload",
|
|
336
|
+
"privateFiles.get",
|
|
337
|
+
"privateFiles.post",
|
|
329
338
|
"resourceJob.get",
|
|
330
339
|
"resourceJob.logs",
|
|
331
340
|
"resourceJob.patch",
|
|
@@ -362,6 +371,7 @@
|
|
|
362
371
|
"dashboard.patch",
|
|
363
372
|
"dashboard.delete",
|
|
364
373
|
"dashboard.sendReport",
|
|
374
|
+
"dashboard.suggestCode",
|
|
365
375
|
"dashboards.get",
|
|
366
376
|
"dashboards.post",
|
|
367
377
|
"org.get",
|
data/schemas/userPost.json
CHANGED
|
@@ -144,10 +144,12 @@
|
|
|
144
144
|
"flows.*",
|
|
145
145
|
"flowVersion.*",
|
|
146
146
|
"flowVersions.*",
|
|
147
|
-
"resourceJobs.*",
|
|
148
|
-
"resourceJob.*",
|
|
149
147
|
"notebook.*",
|
|
150
148
|
"notebooks.*",
|
|
149
|
+
"privateFile.*",
|
|
150
|
+
"privateFiles.*",
|
|
151
|
+
"resourceJobs.*",
|
|
152
|
+
"resourceJob.*",
|
|
151
153
|
"webhook.*",
|
|
152
154
|
"webhooks.*",
|
|
153
155
|
"application.applyTemplate",
|
|
@@ -384,6 +386,13 @@
|
|
|
384
386
|
"notebook.upload",
|
|
385
387
|
"notebooks.get",
|
|
386
388
|
"notebooks.post",
|
|
389
|
+
"privateFile.get",
|
|
390
|
+
"privateFile.patch",
|
|
391
|
+
"privateFile.move",
|
|
392
|
+
"privateFile.delete",
|
|
393
|
+
"privateFile.upload",
|
|
394
|
+
"privateFiles.get",
|
|
395
|
+
"privateFiles.post",
|
|
387
396
|
"resourceJob.get",
|
|
388
397
|
"resourceJob.logs",
|
|
389
398
|
"resourceJob.patch",
|
|
@@ -420,6 +429,7 @@
|
|
|
420
429
|
"dashboard.patch",
|
|
421
430
|
"dashboard.delete",
|
|
422
431
|
"dashboard.sendReport",
|
|
432
|
+
"dashboard.suggestCode",
|
|
423
433
|
"dashboards.get",
|
|
424
434
|
"dashboards.post",
|
|
425
435
|
"org.get",
|
data/schemas/webhook.json
CHANGED
data/schemas/webhookPatch.json
CHANGED
data/schemas/webhookPost.json
CHANGED
data/schemas/webhooks.json
CHANGED
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.23.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: 2025-
|
|
11
|
+
date: 2025-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -171,6 +171,8 @@ files:
|
|
|
171
171
|
- docs/org.md
|
|
172
172
|
- docs/orgInvites.md
|
|
173
173
|
- docs/orgs.md
|
|
174
|
+
- docs/privateFile.md
|
|
175
|
+
- docs/privateFiles.md
|
|
174
176
|
- docs/resourceJob.md
|
|
175
177
|
- docs/resourceJobs.md
|
|
176
178
|
- docs/userApiToken.md
|
|
@@ -271,6 +273,8 @@ files:
|
|
|
271
273
|
- lib/platform_rest/org.rb
|
|
272
274
|
- lib/platform_rest/org_invites.rb
|
|
273
275
|
- lib/platform_rest/orgs.rb
|
|
276
|
+
- lib/platform_rest/private_file.rb
|
|
277
|
+
- lib/platform_rest/private_files.rb
|
|
274
278
|
- lib/platform_rest/resource_job.rb
|
|
275
279
|
- lib/platform_rest/resource_jobs.rb
|
|
276
280
|
- lib/platform_rest/user_api_token.rb
|
|
@@ -349,6 +353,8 @@ files:
|
|
|
349
353
|
- schemas/credentialPost.json
|
|
350
354
|
- schemas/credentials.json
|
|
351
355
|
- schemas/dashboard.json
|
|
356
|
+
- schemas/dashboardBlockSuggestCodePost.json
|
|
357
|
+
- schemas/dashboardBlockSuggestCodeResponse.json
|
|
352
358
|
- schemas/dashboardContextInstance.json
|
|
353
359
|
- schemas/dashboardPatch.json
|
|
354
360
|
- schemas/dashboardPost.json
|