losant_rest 1.22.0 → 1.22.1
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 +766 -0
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/apiTokenPost.json +1 -0
- data/schemas/applicationDashboardPost.json +120 -0
- data/schemas/dashboard.json +120 -0
- data/schemas/dashboardPatch.json +120 -0
- data/schemas/dashboardPost.json +120 -0
- data/schemas/dashboards.json +120 -0
- data/schemas/dataExport.json +4 -0
- data/schemas/devicesPatch.json +65 -0
- data/schemas/githubLogin.json +1 -0
- data/schemas/samlResponse.json +1 -0
- data/schemas/suggestFunctionPost.json +15 -0
- data/schemas/suggestFunctionResponse.json +37 -0
- data/schemas/userCredentials.json +1 -0
- data/schemas/userPost.json +1 -0
- metadata +4 -2
data/schemas/dashboards.json
CHANGED
@@ -1093,6 +1093,45 @@
|
|
1093
1093
|
}
|
1094
1094
|
},
|
1095
1095
|
"additionalProperties": false
|
1096
|
+
},
|
1097
|
+
{
|
1098
|
+
"type": "object",
|
1099
|
+
"properties": {
|
1100
|
+
"queryType": {
|
1101
|
+
"type": "string",
|
1102
|
+
"enum": [
|
1103
|
+
"events"
|
1104
|
+
]
|
1105
|
+
},
|
1106
|
+
"id": {
|
1107
|
+
"type": "string",
|
1108
|
+
"maxLength": 48
|
1109
|
+
},
|
1110
|
+
"sortField": {
|
1111
|
+
"type": "string",
|
1112
|
+
"maxLength": 255
|
1113
|
+
},
|
1114
|
+
"sortDirection": {
|
1115
|
+
"type": "string",
|
1116
|
+
"maxLength": 255
|
1117
|
+
},
|
1118
|
+
"page": {
|
1119
|
+
"type": "string",
|
1120
|
+
"maxLength": 255
|
1121
|
+
},
|
1122
|
+
"perPage": {
|
1123
|
+
"type": "string",
|
1124
|
+
"maxLength": 255
|
1125
|
+
},
|
1126
|
+
"query": {
|
1127
|
+
"type": "string",
|
1128
|
+
"maxLength": 32767
|
1129
|
+
},
|
1130
|
+
"includeExtendedEventInfo": {
|
1131
|
+
"type": "boolean"
|
1132
|
+
}
|
1133
|
+
},
|
1134
|
+
"additionalProperties": false
|
1096
1135
|
}
|
1097
1136
|
]
|
1098
1137
|
}
|
@@ -2766,6 +2805,18 @@
|
|
2766
2805
|
"format": {
|
2767
2806
|
"type": "string",
|
2768
2807
|
"maxLength": 255
|
2808
|
+
},
|
2809
|
+
"scale": {
|
2810
|
+
"type": "string",
|
2811
|
+
"enum": [
|
2812
|
+
"linear",
|
2813
|
+
"log",
|
2814
|
+
"sqrt"
|
2815
|
+
],
|
2816
|
+
"default": "linear"
|
2817
|
+
},
|
2818
|
+
"stacked": {
|
2819
|
+
"type": "boolean"
|
2769
2820
|
}
|
2770
2821
|
},
|
2771
2822
|
"additionalProperties": false,
|
@@ -2773,6 +2824,75 @@
|
|
2773
2824
|
"id"
|
2774
2825
|
]
|
2775
2826
|
}
|
2827
|
+
},
|
2828
|
+
"decorators": {
|
2829
|
+
"type": "array",
|
2830
|
+
"maxItems": 10,
|
2831
|
+
"items": {
|
2832
|
+
"type": "object",
|
2833
|
+
"properties": {
|
2834
|
+
"type": {
|
2835
|
+
"type": "string",
|
2836
|
+
"enum": [
|
2837
|
+
"line",
|
2838
|
+
"area"
|
2839
|
+
]
|
2840
|
+
},
|
2841
|
+
"yAxisId": {
|
2842
|
+
"type": "string",
|
2843
|
+
"maxLength": 48
|
2844
|
+
},
|
2845
|
+
"label": {
|
2846
|
+
"type": "string",
|
2847
|
+
"maxLength": 255
|
2848
|
+
},
|
2849
|
+
"color": {
|
2850
|
+
"type": "string",
|
2851
|
+
"maxLength": 64
|
2852
|
+
},
|
2853
|
+
"lineStyle": {
|
2854
|
+
"type": "string",
|
2855
|
+
"enum": [
|
2856
|
+
"solid",
|
2857
|
+
"dotted",
|
2858
|
+
"dashed"
|
2859
|
+
]
|
2860
|
+
},
|
2861
|
+
"lineWeight": {
|
2862
|
+
"type": "integer",
|
2863
|
+
"minimum": 0,
|
2864
|
+
"maximum": 5
|
2865
|
+
},
|
2866
|
+
"y1": {
|
2867
|
+
"oneOf": [
|
2868
|
+
{
|
2869
|
+
"type": "number"
|
2870
|
+
},
|
2871
|
+
{
|
2872
|
+
"type": "string",
|
2873
|
+
"maxLength": 128
|
2874
|
+
}
|
2875
|
+
]
|
2876
|
+
},
|
2877
|
+
"y2": {
|
2878
|
+
"oneOf": [
|
2879
|
+
{
|
2880
|
+
"type": "number"
|
2881
|
+
},
|
2882
|
+
{
|
2883
|
+
"type": "string",
|
2884
|
+
"maxLength": 128
|
2885
|
+
}
|
2886
|
+
]
|
2887
|
+
}
|
2888
|
+
},
|
2889
|
+
"required": [
|
2890
|
+
"type",
|
2891
|
+
"yAxisId",
|
2892
|
+
"y1"
|
2893
|
+
],
|
2894
|
+
"additionalProperties": false
|
2895
|
+
}
|
2776
2896
|
}
|
2777
2897
|
},
|
2778
2898
|
"additionalProperties": false
|
data/schemas/dataExport.json
CHANGED
data/schemas/devicesPatch.json
CHANGED
@@ -2548,6 +2548,71 @@
|
|
2548
2548
|
],
|
2549
2549
|
"additionalProperties": false
|
2550
2550
|
},
|
2551
|
+
{
|
2552
|
+
"type": "object",
|
2553
|
+
"properties": {
|
2554
|
+
"operation": {
|
2555
|
+
"type": "string",
|
2556
|
+
"enum": [
|
2557
|
+
"set"
|
2558
|
+
]
|
2559
|
+
},
|
2560
|
+
"target": {
|
2561
|
+
"type": "string",
|
2562
|
+
"enum": [
|
2563
|
+
"attributeContentType"
|
2564
|
+
]
|
2565
|
+
},
|
2566
|
+
"attributeName": {
|
2567
|
+
"type": "string",
|
2568
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
2569
|
+
},
|
2570
|
+
"value": {
|
2571
|
+
"type": "string",
|
2572
|
+
"maxLength": 64,
|
2573
|
+
"minLength": 1
|
2574
|
+
}
|
2575
|
+
},
|
2576
|
+
"required": [
|
2577
|
+
"operation",
|
2578
|
+
"target",
|
2579
|
+
"attributeName",
|
2580
|
+
"value"
|
2581
|
+
],
|
2582
|
+
"additionalProperties": false
|
2583
|
+
},
|
2584
|
+
{
|
2585
|
+
"type": "object",
|
2586
|
+
"properties": {
|
2587
|
+
"operation": {
|
2588
|
+
"type": "string",
|
2589
|
+
"enum": [
|
2590
|
+
"set"
|
2591
|
+
]
|
2592
|
+
},
|
2593
|
+
"target": {
|
2594
|
+
"type": "string",
|
2595
|
+
"enum": [
|
2596
|
+
"attributeName"
|
2597
|
+
]
|
2598
|
+
},
|
2599
|
+
"attributeName": {
|
2600
|
+
"type": "string",
|
2601
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
2602
|
+
},
|
2603
|
+
"value": {
|
2604
|
+
"type": "string",
|
2605
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
2606
|
+
}
|
2607
|
+
},
|
2608
|
+
"required": [
|
2609
|
+
"operation",
|
2610
|
+
"target",
|
2611
|
+
"attributeName",
|
2612
|
+
"value"
|
2613
|
+
],
|
2614
|
+
"additionalProperties": false
|
2615
|
+
},
|
2551
2616
|
{
|
2552
2617
|
"type": "object",
|
2553
2618
|
"properties": {
|
data/schemas/githubLogin.json
CHANGED
data/schemas/samlResponse.json
CHANGED
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"text": {
|
6
|
+
"type": "string",
|
7
|
+
"maxLength": 32767,
|
8
|
+
"minLength": 1
|
9
|
+
},
|
10
|
+
"responseId": {
|
11
|
+
"type": "string",
|
12
|
+
"minLength": 1,
|
13
|
+
"maxLength": 1024
|
14
|
+
},
|
15
|
+
"finishReason": {
|
16
|
+
"type": "string",
|
17
|
+
"enum": [
|
18
|
+
"FINISH_REASON_UNSPECIFIED",
|
19
|
+
"STOP",
|
20
|
+
"MAX_TOKENS",
|
21
|
+
"SAFETY",
|
22
|
+
"RECITATION",
|
23
|
+
"OTHER",
|
24
|
+
"BLOCKLIST",
|
25
|
+
"PROHIBITED_CONTENT",
|
26
|
+
"SPII",
|
27
|
+
"MALFORMED_FUNCTION_CALL"
|
28
|
+
]
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"required": [
|
32
|
+
"text",
|
33
|
+
"responseId",
|
34
|
+
"finishReason"
|
35
|
+
],
|
36
|
+
"additionalProperties": false
|
37
|
+
}
|
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.22.
|
4
|
+
version: 1.22.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: 2025-
|
11
|
+
date: 2025-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -578,6 +578,8 @@ files:
|
|
578
578
|
- schemas/success.json
|
579
579
|
- schemas/successWithExecutionId.json
|
580
580
|
- schemas/successWithJobId.json
|
581
|
+
- schemas/suggestFunctionPost.json
|
582
|
+
- schemas/suggestFunctionResponse.json
|
581
583
|
- schemas/tagKeysResponse.json
|
582
584
|
- schemas/tagValuesResponse.json
|
583
585
|
- schemas/templateKeywords.json
|