losant_rest 1.23.1 → 1.23.2
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 +44 -25
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/debugExcludeIds.json +14 -7
- data/schemas/debugLevels.json +20 -13
- data/schemas/notebook.json +2 -1
- data/schemas/notebookExecutionLogs.json +2 -1
- data/schemas/notebookPatch.json +2 -1
- data/schemas/notebookPost.json +2 -1
- data/schemas/notebooks.json +2 -1
- 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: a0980c1fc311550c06e5af630bcd94718d45d3359d2ebee95fc0d6362a5b9116
|
|
4
|
+
data.tar.gz: d79f1c25fe6108a72b748cca7f4ffc4b48d178406eb39b04f3f9aca3bd77221f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e78a1533162dc93dd0f7be4a7325edb33dfc9d80150d780754497b6b876e8975701b4071f58091126201124c58a8e5ee52b7a0b5a231f54d2165d472746152c
|
|
7
|
+
data.tar.gz: 4888748a85ee869f331d437af9be1c37a547c4c1f558bc16e982cd95bcb9c938646c48b4b4c6132440362c48a49cbfd5f6e510359d66a074865a9a718c745d36
|
data/docs/_schemas.md
CHANGED
|
@@ -67736,13 +67736,20 @@ Schema for an array of node IDs to exclude from debug output
|
|
|
67736
67736
|
```json
|
|
67737
67737
|
{
|
|
67738
67738
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
67739
|
-
"
|
|
67740
|
-
|
|
67741
|
-
|
|
67742
|
-
|
|
67743
|
-
|
|
67744
|
-
|
|
67745
|
-
|
|
67739
|
+
"oneOf": [
|
|
67740
|
+
{
|
|
67741
|
+
"type": "array",
|
|
67742
|
+
"maxItems": 50,
|
|
67743
|
+
"items": {
|
|
67744
|
+
"type": "string",
|
|
67745
|
+
"maxLength": 48,
|
|
67746
|
+
"minLength": 1
|
|
67747
|
+
}
|
|
67748
|
+
},
|
|
67749
|
+
{
|
|
67750
|
+
"type": "string"
|
|
67751
|
+
}
|
|
67752
|
+
]
|
|
67746
67753
|
}
|
|
67747
67754
|
```
|
|
67748
67755
|
### <a name="debug-exclude-node-ids-example"></a> Example
|
|
@@ -67765,19 +67772,26 @@ Schema for user debug levels
|
|
|
67765
67772
|
```json
|
|
67766
67773
|
{
|
|
67767
67774
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
67768
|
-
"
|
|
67769
|
-
|
|
67770
|
-
|
|
67771
|
-
|
|
67772
|
-
|
|
67773
|
-
|
|
67774
|
-
|
|
67775
|
-
|
|
67776
|
-
|
|
67777
|
-
|
|
67778
|
-
|
|
67779
|
-
|
|
67780
|
-
|
|
67775
|
+
"oneOf": [
|
|
67776
|
+
{
|
|
67777
|
+
"type": "array",
|
|
67778
|
+
"maxItems": 6,
|
|
67779
|
+
"items": {
|
|
67780
|
+
"type": "string",
|
|
67781
|
+
"enum": [
|
|
67782
|
+
"all",
|
|
67783
|
+
"none",
|
|
67784
|
+
"verbose",
|
|
67785
|
+
"info",
|
|
67786
|
+
"warn",
|
|
67787
|
+
"error"
|
|
67788
|
+
]
|
|
67789
|
+
}
|
|
67790
|
+
},
|
|
67791
|
+
{
|
|
67792
|
+
"type": "string"
|
|
67793
|
+
}
|
|
67794
|
+
]
|
|
67781
67795
|
}
|
|
67782
67796
|
```
|
|
67783
67797
|
### <a name="debug-levels-example"></a> Example
|
|
@@ -164993,7 +165007,8 @@ Schema for a single Notebook
|
|
|
164993
165007
|
"enum": [
|
|
164994
165008
|
"v1",
|
|
164995
165009
|
"v2",
|
|
164996
|
-
"v3"
|
|
165010
|
+
"v3",
|
|
165011
|
+
"v4"
|
|
164997
165012
|
]
|
|
164998
165013
|
},
|
|
164999
165014
|
"inputs": {
|
|
@@ -165857,7 +165872,8 @@ Schema for a set of Notebook execution logs
|
|
|
165857
165872
|
"enum": [
|
|
165858
165873
|
"v1",
|
|
165859
165874
|
"v2",
|
|
165860
|
-
"v3"
|
|
165875
|
+
"v3",
|
|
165876
|
+
"v4"
|
|
165861
165877
|
]
|
|
165862
165878
|
},
|
|
165863
165879
|
"applicationId": {
|
|
@@ -166775,7 +166791,8 @@ Schema for the body of a Notebook modification request
|
|
|
166775
166791
|
"enum": [
|
|
166776
166792
|
"v1",
|
|
166777
166793
|
"v2",
|
|
166778
|
-
"v3"
|
|
166794
|
+
"v3",
|
|
166795
|
+
"v4"
|
|
166779
166796
|
]
|
|
166780
166797
|
}
|
|
166781
166798
|
},
|
|
@@ -166817,7 +166834,8 @@ Schema for the body of an Notebook creation request
|
|
|
166817
166834
|
"enum": [
|
|
166818
166835
|
"v1",
|
|
166819
166836
|
"v2",
|
|
166820
|
-
"v3"
|
|
166837
|
+
"v3",
|
|
166838
|
+
"v4"
|
|
166821
166839
|
]
|
|
166822
166840
|
},
|
|
166823
166841
|
"inputs": {
|
|
@@ -167518,7 +167536,8 @@ Schema for a collection of Notebooks
|
|
|
167518
167536
|
"enum": [
|
|
167519
167537
|
"v1",
|
|
167520
167538
|
"v2",
|
|
167521
|
-
"v3"
|
|
167539
|
+
"v3",
|
|
167540
|
+
"v4"
|
|
167522
167541
|
]
|
|
167523
167542
|
},
|
|
167524
167543
|
"inputs": {
|
data/lib/platform_rest/client.rb
CHANGED
|
@@ -27,7 +27,7 @@ module PlatformRest
|
|
|
27
27
|
#
|
|
28
28
|
# User API for accessing platform data
|
|
29
29
|
#
|
|
30
|
-
# Built For Version 1.29.
|
|
30
|
+
# Built For Version 1.29.2
|
|
31
31
|
class Client
|
|
32
32
|
attr_accessor :auth_token, :url
|
|
33
33
|
|
|
@@ -430,7 +430,7 @@ module PlatformRest
|
|
|
430
430
|
|
|
431
431
|
headers["Accept"] = "application/json"
|
|
432
432
|
headers["Content-Type"] = "application/json"
|
|
433
|
-
headers["Accept-Version"] = "^1.29.
|
|
433
|
+
headers["Accept-Version"] = "^1.29.2"
|
|
434
434
|
headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
|
|
435
435
|
path = self.url + options.fetch(:path, "")
|
|
436
436
|
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
"oneOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "array",
|
|
6
|
+
"maxItems": 50,
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"maxLength": 48,
|
|
10
|
+
"minLength": 1
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "string"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
10
17
|
}
|
data/schemas/debugLevels.json
CHANGED
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
"oneOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "array",
|
|
6
|
+
"maxItems": 6,
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"all",
|
|
11
|
+
"none",
|
|
12
|
+
"verbose",
|
|
13
|
+
"info",
|
|
14
|
+
"warn",
|
|
15
|
+
"error"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "string"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
16
23
|
}
|
data/schemas/notebook.json
CHANGED
data/schemas/notebookPatch.json
CHANGED
data/schemas/notebookPost.json
CHANGED
data/schemas/notebooks.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.23.
|
|
4
|
+
version: 1.23.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Kuehl
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|