losant_rest 1.10.0 → 1.10.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 +8112 -2160
- data/docs/application.md +43 -0
- data/docs/device.md +1 -0
- data/lib/losant_rest/client.rb +2 -2
- data/lib/losant_rest/device.rb +2 -0
- data/lib/losant_rest/version.rb +1 -1
- data/schemas/application.json +5 -0
- data/schemas/applicationApiTokenPost.json +1 -0
- data/schemas/applicationCreationByTemplateResult.json +5 -0
- data/schemas/applicationPatch.json +5 -0
- data/schemas/applicationPost.json +5 -0
- data/schemas/applications.json +5 -0
- data/schemas/dashboard.json +1140 -144
- data/schemas/dashboardPatch.json +1140 -144
- data/schemas/dashboardPost.json +1140 -144
- data/schemas/dashboards.json +1140 -144
- data/schemas/device.json +16 -3
- data/schemas/devicePatch.json +16 -3
- data/schemas/devicePost.json +16 -3
- data/schemas/deviceRecipe.json +16 -3
- data/schemas/deviceRecipePatch.json +16 -3
- data/schemas/deviceRecipePost.json +16 -3
- data/schemas/deviceRecipes.json +16 -3
- data/schemas/devices.json +16 -3
- data/schemas/devicesPatch.json +16 -3
- data/schemas/experienceLinkedResources.json +309 -3
- data/schemas/flow.json +103 -1
- data/schemas/flowPatch.json +103 -1
- data/schemas/flowPost.json +103 -1
- data/schemas/flowVersion.json +206 -2
- data/schemas/flowVersionPost.json +103 -1
- data/schemas/flowVersions.json +206 -2
- data/schemas/flows.json +103 -1
- data/schemas/flowsImportPost.json +206 -2
- data/schemas/flowsImportResult.json +309 -3
- data/schemas/githubLogin.json +1 -0
- data/schemas/timeSeriesData.json +91 -12
- data/schemas/timeSeriesQuery.json +21 -12
- data/schemas/userCredentials.json +1 -0
- data/schemas/userPost.json +1 -0
- metadata +2 -2
data/schemas/githubLogin.json
CHANGED
data/schemas/timeSeriesData.json
CHANGED
@@ -14,18 +14,97 @@
|
|
14
14
|
"type": "number"
|
15
15
|
},
|
16
16
|
"aggregation": {
|
17
|
-
"
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
17
|
+
"oneOf": [
|
18
|
+
{
|
19
|
+
"oneOf": [
|
20
|
+
{
|
21
|
+
"type": "string",
|
22
|
+
"enum": [
|
23
|
+
"FIRST",
|
24
|
+
"LAST",
|
25
|
+
"COUNT",
|
26
|
+
"MAX",
|
27
|
+
"MIN",
|
28
|
+
"MEDIAN",
|
29
|
+
"MEAN",
|
30
|
+
"SUM",
|
31
|
+
"STD_DEV"
|
32
|
+
]
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"type": "string",
|
36
|
+
"enum": [
|
37
|
+
"NONE"
|
38
|
+
]
|
39
|
+
}
|
40
|
+
]
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"type": "object",
|
44
|
+
"properties": {
|
45
|
+
"type": {
|
46
|
+
"oneOf": [
|
47
|
+
{
|
48
|
+
"type": "string",
|
49
|
+
"enum": [
|
50
|
+
"FIRST",
|
51
|
+
"LAST",
|
52
|
+
"COUNT",
|
53
|
+
"MAX",
|
54
|
+
"MIN",
|
55
|
+
"MEDIAN",
|
56
|
+
"MEAN",
|
57
|
+
"SUM",
|
58
|
+
"STD_DEV"
|
59
|
+
]
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"type": "string",
|
63
|
+
"enum": [
|
64
|
+
"NONE"
|
65
|
+
]
|
66
|
+
}
|
67
|
+
]
|
68
|
+
},
|
69
|
+
"options": {
|
70
|
+
"type": "object",
|
71
|
+
"additionalProperties": false
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"additionalProperties": false,
|
75
|
+
"required": [
|
76
|
+
"type"
|
77
|
+
]
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"type": "object",
|
81
|
+
"properties": {
|
82
|
+
"type": {
|
83
|
+
"type": "string",
|
84
|
+
"enum": [
|
85
|
+
"TIMEATVALUE"
|
86
|
+
]
|
87
|
+
},
|
88
|
+
"options": {
|
89
|
+
"type": "object",
|
90
|
+
"properties": {
|
91
|
+
"value": {
|
92
|
+
"type": "string",
|
93
|
+
"maxLength": 255
|
94
|
+
}
|
95
|
+
},
|
96
|
+
"additionalProperties": false,
|
97
|
+
"required": [
|
98
|
+
"value"
|
99
|
+
]
|
100
|
+
}
|
101
|
+
},
|
102
|
+
"additionalProperties": false,
|
103
|
+
"required": [
|
104
|
+
"type",
|
105
|
+
"options"
|
106
|
+
]
|
107
|
+
}
|
29
108
|
]
|
30
109
|
},
|
31
110
|
"devices": {
|
@@ -15,18 +15,27 @@
|
|
15
15
|
"type": "number"
|
16
16
|
},
|
17
17
|
"aggregation": {
|
18
|
-
"
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
18
|
+
"oneOf": [
|
19
|
+
{
|
20
|
+
"type": "string",
|
21
|
+
"enum": [
|
22
|
+
"FIRST",
|
23
|
+
"LAST",
|
24
|
+
"COUNT",
|
25
|
+
"MAX",
|
26
|
+
"MIN",
|
27
|
+
"MEDIAN",
|
28
|
+
"MEAN",
|
29
|
+
"SUM",
|
30
|
+
"STD_DEV"
|
31
|
+
]
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"type": "string",
|
35
|
+
"enum": [
|
36
|
+
"NONE"
|
37
|
+
]
|
38
|
+
}
|
30
39
|
]
|
31
40
|
},
|
32
41
|
"attributes": {
|
data/schemas/userPost.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.10.
|
4
|
+
version: 1.10.1
|
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-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|