losant_rest 1.8.3 → 1.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/docs/_schemas.md +69 -37
- data/docs/dataTableRow.md +1 -1
- data/docs/dataTableRows.md +1 -1
- data/docs/device.md +1 -1
- data/docs/file.md +1 -1
- data/docs/files.md +1 -1
- data/docs/flows.md +1 -1
- data/lib/losant_rest/application.rb +1 -1
- data/lib/losant_rest/application_api_token.rb +1 -1
- data/lib/losant_rest/application_api_tokens.rb +1 -1
- data/lib/losant_rest/application_key.rb +1 -1
- data/lib/losant_rest/application_keys.rb +1 -1
- data/lib/losant_rest/applications.rb +1 -1
- data/lib/losant_rest/audit_log.rb +1 -1
- data/lib/losant_rest/audit_logs.rb +1 -1
- data/lib/losant_rest/auth.rb +1 -1
- data/lib/losant_rest/client.rb +3 -3
- data/lib/losant_rest/dashboard.rb +1 -1
- data/lib/losant_rest/dashboards.rb +1 -1
- data/lib/losant_rest/data.rb +1 -1
- data/lib/losant_rest/data_table.rb +1 -1
- data/lib/losant_rest/data_table_row.rb +1 -1
- data/lib/losant_rest/data_table_rows.rb +1 -1
- data/lib/losant_rest/data_tables.rb +1 -1
- data/lib/losant_rest/device.rb +1 -1
- data/lib/losant_rest/device_recipe.rb +1 -1
- data/lib/losant_rest/device_recipes.rb +1 -1
- data/lib/losant_rest/devices.rb +1 -1
- data/lib/losant_rest/edge_deployments.rb +1 -1
- data/lib/losant_rest/error.rb +1 -1
- data/lib/losant_rest/event.rb +1 -1
- data/lib/losant_rest/events.rb +1 -1
- data/lib/losant_rest/experience.rb +1 -1
- data/lib/losant_rest/experience_domain.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +1 -1
- data/lib/losant_rest/experience_endpoint.rb +1 -1
- data/lib/losant_rest/experience_endpoints.rb +1 -1
- data/lib/losant_rest/experience_group.rb +1 -1
- data/lib/losant_rest/experience_groups.rb +1 -1
- data/lib/losant_rest/experience_slug.rb +1 -1
- data/lib/losant_rest/experience_slugs.rb +1 -1
- data/lib/losant_rest/experience_user.rb +1 -1
- data/lib/losant_rest/experience_users.rb +1 -1
- data/lib/losant_rest/experience_version.rb +1 -1
- data/lib/losant_rest/experience_versions.rb +1 -1
- data/lib/losant_rest/experience_view.rb +1 -1
- data/lib/losant_rest/experience_views.rb +1 -1
- data/lib/losant_rest/file.rb +2 -2
- data/lib/losant_rest/files.rb +2 -2
- data/lib/losant_rest/flow.rb +1 -1
- data/lib/losant_rest/flow_version.rb +1 -1
- data/lib/losant_rest/flow_versions.rb +1 -1
- data/lib/losant_rest/flows.rb +1 -1
- data/lib/losant_rest/integration.rb +1 -1
- data/lib/losant_rest/integrations.rb +1 -1
- data/lib/losant_rest/me.rb +1 -1
- data/lib/losant_rest/org.rb +1 -1
- data/lib/losant_rest/org_invites.rb +1 -1
- data/lib/losant_rest/orgs.rb +1 -1
- data/lib/losant_rest/solution.rb +1 -1
- data/lib/losant_rest/solution_user.rb +1 -1
- data/lib/losant_rest/solution_users.rb +1 -1
- data/lib/losant_rest/solutions.rb +1 -1
- data/lib/losant_rest/utils.rb +1 -1
- data/lib/losant_rest/version.rb +2 -2
- data/lib/losant_rest/webhook.rb +1 -1
- data/lib/losant_rest/webhooks.rb +1 -1
- data/lib/losant_rest.rb +1 -1
- data/schemas/applicationSearchResult.json +2 -2
- data/schemas/dataTableRowInMultiple.json +1 -1
- data/schemas/dataTableRowInsert.json +2 -2
- data/schemas/fileUploadPostResponse.json +109 -0
- data/schemas/flow.json +1 -0
- data/schemas/flowPatch.json +1 -0
- data/schemas/flowPost.json +1 -0
- data/schemas/flowVersion.json +2 -0
- data/schemas/flowVersionPost.json +1 -0
- data/schemas/flowVersions.json +2 -0
- data/schemas/flows.json +1 -0
- data/schemas/flowsImportPost.json +2 -0
- data/schemas/flowsImportResult.json +3 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe95827ac96b4a7c78e2d3637caeacea7905562315e7a67a0ae1a21b94729793
|
4
|
+
data.tar.gz: 7340751cac41882c11eaad043049edbfa013cc08f4f6f6a3f12f24f2c7319eed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0d606a92dec82b7fa671c7dcc6c5dde9a802a2484d439ec20e774c48a9efb38461b03d8e673ab264c94d59187b8e2a51aa55cc5fc3154d356805833a482b03
|
7
|
+
data.tar.gz: bc12bfea9c17090e70fe3847db8aa4c904678185625c56b5f009b2be2fbbc35df2ba03f1f855391b7c6cbf51f81b815c3fc1c94628a0aee62773381508a2c368
|
data/LICENSE
CHANGED
data/README.md
CHANGED
data/docs/_schemas.md
CHANGED
@@ -36,10 +36,10 @@
|
|
36
36
|
* [Data Table Row Insert Multiple](#data-table-row-insert-multiple)
|
37
37
|
* [Data Table Row Insert](#data-table-row-insert)
|
38
38
|
* [Data Table Row Insert Result](#data-table-row-insert-result)
|
39
|
-
* [Data Table Row Insert
|
39
|
+
* [Data Table Row Insert Update](#data-table-row-insert-update)
|
40
40
|
* [Data Table Rows](#data-table-rows)
|
41
41
|
* [Data Table Rows Delete](#data-table-rows-delete)
|
42
|
-
* [Data Table Export](#data-table-export)
|
42
|
+
* [Data Table Rows Export](#data-table-rows-export)
|
43
43
|
* [Data Tables](#data-tables)
|
44
44
|
* [Device](#device)
|
45
45
|
* [Device Command](#device-command)
|
@@ -57,7 +57,7 @@
|
|
57
57
|
* [Device Recipe Post](#device-recipe-post)
|
58
58
|
* [Device Recipes](#device-recipes)
|
59
59
|
* [Device State](#device-state)
|
60
|
-
* [
|
60
|
+
* [Device State or States](#device-state-or-states)
|
61
61
|
* [Device States](#device-states)
|
62
62
|
* [Device Tag Filter](#device-tag-filter)
|
63
63
|
* [Devices](#devices)
|
@@ -108,7 +108,7 @@
|
|
108
108
|
* [File Schema](#file-schema)
|
109
109
|
* [File Patch](#file-patch)
|
110
110
|
* [File Post](#file-post)
|
111
|
-
* [File Post Response](#file-post-response)
|
111
|
+
* [File Upload Post Response](#file-upload-post-response)
|
112
112
|
* [Files Schema](#files-schema)
|
113
113
|
* [Workflow](#workflow)
|
114
114
|
* [Workflow Log](#workflow-log)
|
@@ -122,7 +122,7 @@
|
|
122
122
|
* [Workflow Version Post](#workflow-version-post)
|
123
123
|
* [Workflow Versions](#workflow-versions)
|
124
124
|
* [Workflows](#workflows)
|
125
|
-
* [
|
125
|
+
* [Workflows Import Post](#workflows-import-post)
|
126
126
|
* [Workflow Import Result](#workflow-import-result)
|
127
127
|
* [Github Login](#github-login)
|
128
128
|
* [Integration](#integration)
|
@@ -1925,12 +1925,12 @@ Results of a search of an application's resources
|
|
1925
1925
|
"_type": {
|
1926
1926
|
"type": "string",
|
1927
1927
|
"enum": [
|
1928
|
-
"
|
1928
|
+
"applicationApiToken",
|
1929
1929
|
"dashboard",
|
1930
1930
|
"dataTable",
|
1931
1931
|
"deviceRecipe",
|
1932
1932
|
"device",
|
1933
|
-
"
|
1933
|
+
"experienceDomain",
|
1934
1934
|
"event",
|
1935
1935
|
"experienceEndpoint",
|
1936
1936
|
"experienceGroup",
|
@@ -4615,7 +4615,12 @@ Schema for a single Data Table
|
|
4615
4615
|
{
|
4616
4616
|
"name": "myColumn1",
|
4617
4617
|
"dataType": "string",
|
4618
|
-
"
|
4618
|
+
"constraint": "unique"
|
4619
|
+
},
|
4620
|
+
{
|
4621
|
+
"name": "myColumn2",
|
4622
|
+
"dataType": "number",
|
4623
|
+
"constraint": "optional"
|
4619
4624
|
}
|
4620
4625
|
]
|
4621
4626
|
}
|
@@ -4674,7 +4679,7 @@ Schema for a single Data Table Column
|
|
4674
4679
|
|
4675
4680
|
```json
|
4676
4681
|
{
|
4677
|
-
"name": "
|
4682
|
+
"name": "myColumn3",
|
4678
4683
|
"dataType": "string",
|
4679
4684
|
"constraint": "optional",
|
4680
4685
|
"defaultValue": "aDefault"
|
@@ -4798,6 +4803,11 @@ Schema for the body of a Data Table creation request
|
|
4798
4803
|
"name": "myColumn1",
|
4799
4804
|
"dataType": "string",
|
4800
4805
|
"constraint": "unique"
|
4806
|
+
},
|
4807
|
+
{
|
4808
|
+
"name": "myColumn2",
|
4809
|
+
"dataType": "number",
|
4810
|
+
"constraint": "optional"
|
4801
4811
|
}
|
4802
4812
|
]
|
4803
4813
|
}
|
@@ -4905,12 +4915,12 @@ Schema for a data table query
|
|
4905
4915
|
{
|
4906
4916
|
"$or": [
|
4907
4917
|
{
|
4908
|
-
"
|
4909
|
-
"$ne":
|
4918
|
+
"myColumn1": {
|
4919
|
+
"$ne": "myValue"
|
4910
4920
|
}
|
4911
4921
|
},
|
4912
4922
|
{
|
4913
|
-
"
|
4923
|
+
"myColumn2": 5
|
4914
4924
|
}
|
4915
4925
|
]
|
4916
4926
|
}
|
@@ -4961,7 +4971,8 @@ Schema for a single Data Table Row
|
|
4961
4971
|
"id": "596fbb703fc088453872e609",
|
4962
4972
|
"creationDate": "2016-06-13T04:00:00.000Z",
|
4963
4973
|
"lastUpdated": "2016-06-13T04:00:00.000Z",
|
4964
|
-
"
|
4974
|
+
"myColumn1": "myValue",
|
4975
|
+
"myColumn2": 5
|
4965
4976
|
}
|
4966
4977
|
```
|
4967
4978
|
|
@@ -4978,7 +4989,7 @@ Schema for inserting data table rows
|
|
4978
4989
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4979
4990
|
"type": "array",
|
4980
4991
|
"items": {
|
4981
|
-
"title": "Data Table Row Insert
|
4992
|
+
"title": "Data Table Row Insert Update",
|
4982
4993
|
"description": "Schema for inserting or updating a data table row",
|
4983
4994
|
"type": "object",
|
4984
4995
|
"patternProperties": {
|
@@ -5021,7 +5032,7 @@ Schema for inserting a data table row or rows
|
|
5021
5032
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
5022
5033
|
"oneOf": [
|
5023
5034
|
{
|
5024
|
-
"title": "Data Table Row Insert
|
5035
|
+
"title": "Data Table Row Insert Update",
|
5025
5036
|
"description": "Schema for inserting or updating a data table row",
|
5026
5037
|
"type": "object",
|
5027
5038
|
"patternProperties": {
|
@@ -5041,7 +5052,7 @@ Schema for inserting a data table row or rows
|
|
5041
5052
|
"description": "Schema for inserting data table rows",
|
5042
5053
|
"type": "array",
|
5043
5054
|
"items": {
|
5044
|
-
"title": "Data Table Row Insert
|
5055
|
+
"title": "Data Table Row Insert Update",
|
5045
5056
|
"description": "Schema for inserting or updating a data table row",
|
5046
5057
|
"type": "object",
|
5047
5058
|
"patternProperties": {
|
@@ -5139,17 +5150,18 @@ Schema for a the result of a single or multiple row insert
|
|
5139
5150
|
"id": "596fbb703fc088453872e609",
|
5140
5151
|
"creationDate": "2016-06-13T04:00:00.000Z",
|
5141
5152
|
"lastUpdated": "2016-06-13T04:00:00.000Z",
|
5142
|
-
"
|
5153
|
+
"myColumn1": "myValue",
|
5154
|
+
"myColumn2": 5
|
5143
5155
|
}
|
5144
5156
|
```
|
5145
5157
|
|
5146
5158
|
<br/>
|
5147
5159
|
|
5148
|
-
## Data Table Row Insert
|
5160
|
+
## Data Table Row Insert Update
|
5149
5161
|
|
5150
5162
|
Schema for inserting or updating a data table row
|
5151
5163
|
|
5152
|
-
### <a name="data-table-row-insert
|
5164
|
+
### <a name="data-table-row-insert-update-schema"></a> Schema
|
5153
5165
|
|
5154
5166
|
```json
|
5155
5167
|
{
|
@@ -5168,7 +5180,7 @@ Schema for inserting or updating a data table row
|
|
5168
5180
|
"additionalProperties": false
|
5169
5181
|
}
|
5170
5182
|
```
|
5171
|
-
### <a name="data-table-row-insert
|
5183
|
+
### <a name="data-table-row-insert-update-example"></a> Example
|
5172
5184
|
|
5173
5185
|
```json
|
5174
5186
|
{
|
@@ -5263,7 +5275,8 @@ Schema for a collection of Data Table Rows
|
|
5263
5275
|
"id": "596fbb703fc088453872e609",
|
5264
5276
|
"creationDate": "2016-06-13T04:00:00.000Z",
|
5265
5277
|
"lastUpdated": "2016-06-13T04:00:00.000Z",
|
5266
|
-
"
|
5278
|
+
"myColumn1": "myValue",
|
5279
|
+
"myColumn2": 5
|
5267
5280
|
}
|
5268
5281
|
],
|
5269
5282
|
"count": 1,
|
@@ -5306,11 +5319,11 @@ Schema for response to data table rows removal
|
|
5306
5319
|
|
5307
5320
|
<br/>
|
5308
5321
|
|
5309
|
-
## Data Table Export
|
5322
|
+
## Data Table Rows Export
|
5310
5323
|
|
5311
5324
|
Schema for the body of a data table export
|
5312
5325
|
|
5313
|
-
### <a name="data-table-export-schema"></a> Schema
|
5326
|
+
### <a name="data-table-rows-export-schema"></a> Schema
|
5314
5327
|
|
5315
5328
|
```json
|
5316
5329
|
{
|
@@ -5434,7 +5447,7 @@ Schema for the body of a data table export
|
|
5434
5447
|
"additionalProperties": false
|
5435
5448
|
}
|
5436
5449
|
```
|
5437
|
-
### <a name="data-table-export-example"></a> Example
|
5450
|
+
### <a name="data-table-rows-export-example"></a> Example
|
5438
5451
|
|
5439
5452
|
```json
|
5440
5453
|
{
|
@@ -5442,12 +5455,12 @@ Schema for the body of a data table export
|
|
5442
5455
|
"query": {
|
5443
5456
|
"$or": [
|
5444
5457
|
{
|
5445
|
-
"
|
5446
|
-
"$ne":
|
5458
|
+
"myColumn1": {
|
5459
|
+
"$ne": "myValue"
|
5447
5460
|
}
|
5448
5461
|
},
|
5449
5462
|
{
|
5450
|
-
"
|
5463
|
+
"myColumn2": 5
|
5451
5464
|
}
|
5452
5465
|
]
|
5453
5466
|
},
|
@@ -5604,7 +5617,12 @@ Schema for a collection of Data Tables
|
|
5604
5617
|
{
|
5605
5618
|
"name": "myColumn1",
|
5606
5619
|
"dataType": "string",
|
5607
|
-
"
|
5620
|
+
"constraint": "unique"
|
5621
|
+
},
|
5622
|
+
{
|
5623
|
+
"name": "myColumn2",
|
5624
|
+
"dataType": "number",
|
5625
|
+
"constraint": "optional"
|
5608
5626
|
}
|
5609
5627
|
]
|
5610
5628
|
}
|
@@ -7214,11 +7232,11 @@ Schema for a single Device state
|
|
7214
7232
|
|
7215
7233
|
<br/>
|
7216
7234
|
|
7217
|
-
##
|
7235
|
+
## Device State or States
|
7218
7236
|
|
7219
7237
|
Schema for a single device state or an array of device states
|
7220
7238
|
|
7221
|
-
### <a name="
|
7239
|
+
### <a name="device-state-or-states-schema"></a> Schema
|
7222
7240
|
|
7223
7241
|
```json
|
7224
7242
|
{
|
@@ -7342,7 +7360,7 @@ Schema for a single device state or an array of device states
|
|
7342
7360
|
]
|
7343
7361
|
}
|
7344
7362
|
```
|
7345
|
-
### <a name="
|
7363
|
+
### <a name="device-state-or-states-example"></a> Example
|
7346
7364
|
|
7347
7365
|
```json
|
7348
7366
|
{
|
@@ -12144,11 +12162,11 @@ Schema to create a single file or directory
|
|
12144
12162
|
|
12145
12163
|
<br/>
|
12146
12164
|
|
12147
|
-
## File Post Response
|
12165
|
+
## File Upload Post Response
|
12148
12166
|
|
12149
12167
|
Schema to upload the file to s3
|
12150
12168
|
|
12151
|
-
### <a name="file-post-response-schema"></a> Schema
|
12169
|
+
### <a name="file-upload-post-response-schema"></a> Schema
|
12152
12170
|
|
12153
12171
|
```json
|
12154
12172
|
{
|
@@ -12261,7 +12279,7 @@ Schema to upload the file to s3
|
|
12261
12279
|
}
|
12262
12280
|
}
|
12263
12281
|
```
|
12264
|
-
### <a name="file-post-response-example"></a> Example
|
12282
|
+
### <a name="file-upload-post-response-example"></a> Example
|
12265
12283
|
|
12266
12284
|
```json
|
12267
12285
|
{
|
@@ -12563,6 +12581,7 @@ Schema for a single Workflow
|
|
12563
12581
|
"mqttTopic",
|
12564
12582
|
"redis",
|
12565
12583
|
"request",
|
12584
|
+
"serial",
|
12566
12585
|
"timer",
|
12567
12586
|
"udp",
|
12568
12587
|
"virtualButton",
|
@@ -13182,6 +13201,7 @@ Schema for the body of a Workflow modification request
|
|
13182
13201
|
"mqttTopic",
|
13183
13202
|
"redis",
|
13184
13203
|
"request",
|
13204
|
+
"serial",
|
13185
13205
|
"timer",
|
13186
13206
|
"udp",
|
13187
13207
|
"virtualButton",
|
@@ -13674,6 +13694,7 @@ Schema for the body of a Workflow creation request
|
|
13674
13694
|
"mqttTopic",
|
13675
13695
|
"redis",
|
13676
13696
|
"request",
|
13697
|
+
"serial",
|
13677
13698
|
"timer",
|
13678
13699
|
"udp",
|
13679
13700
|
"virtualButton",
|
@@ -14306,6 +14327,7 @@ Schema for a single Workflow Version
|
|
14306
14327
|
"mqttTopic",
|
14307
14328
|
"redis",
|
14308
14329
|
"request",
|
14330
|
+
"serial",
|
14309
14331
|
"timer",
|
14310
14332
|
"udp",
|
14311
14333
|
"virtualButton",
|
@@ -14835,6 +14857,7 @@ Schema for a single Workflow Version
|
|
14835
14857
|
"mqttTopic",
|
14836
14858
|
"redis",
|
14837
14859
|
"request",
|
14860
|
+
"serial",
|
14838
14861
|
"timer",
|
14839
14862
|
"udp",
|
14840
14863
|
"virtualButton",
|
@@ -15067,6 +15090,7 @@ Schema for the body of a Workflow Version creation request
|
|
15067
15090
|
"mqttTopic",
|
15068
15091
|
"redis",
|
15069
15092
|
"request",
|
15093
|
+
"serial",
|
15070
15094
|
"timer",
|
15071
15095
|
"udp",
|
15072
15096
|
"virtualButton",
|
@@ -15584,6 +15608,7 @@ Schema for a collection of Workflow Versions
|
|
15584
15608
|
"mqttTopic",
|
15585
15609
|
"redis",
|
15586
15610
|
"request",
|
15611
|
+
"serial",
|
15587
15612
|
"timer",
|
15588
15613
|
"udp",
|
15589
15614
|
"virtualButton",
|
@@ -16113,6 +16138,7 @@ Schema for a collection of Workflow Versions
|
|
16113
16138
|
"mqttTopic",
|
16114
16139
|
"redis",
|
16115
16140
|
"request",
|
16141
|
+
"serial",
|
16116
16142
|
"timer",
|
16117
16143
|
"udp",
|
16118
16144
|
"virtualButton",
|
@@ -16412,6 +16438,7 @@ Schema for a collection of Workflows
|
|
16412
16438
|
"mqttTopic",
|
16413
16439
|
"redis",
|
16414
16440
|
"request",
|
16441
|
+
"serial",
|
16415
16442
|
"timer",
|
16416
16443
|
"udp",
|
16417
16444
|
"virtualButton",
|
@@ -16943,11 +16970,11 @@ Schema for a collection of Workflows
|
|
16943
16970
|
|
16944
16971
|
<br/>
|
16945
16972
|
|
16946
|
-
##
|
16973
|
+
## Workflows Import Post
|
16947
16974
|
|
16948
16975
|
Schema for the body of a workflow import request
|
16949
16976
|
|
16950
|
-
### <a name="
|
16977
|
+
### <a name="workflows-import-post-schema"></a> Schema
|
16951
16978
|
|
16952
16979
|
```json
|
16953
16980
|
{
|
@@ -17015,6 +17042,7 @@ Schema for the body of a workflow import request
|
|
17015
17042
|
"mqttTopic",
|
17016
17043
|
"redis",
|
17017
17044
|
"request",
|
17045
|
+
"serial",
|
17018
17046
|
"timer",
|
17019
17047
|
"udp",
|
17020
17048
|
"virtualButton",
|
@@ -17525,6 +17553,7 @@ Schema for the body of a workflow import request
|
|
17525
17553
|
"mqttTopic",
|
17526
17554
|
"redis",
|
17527
17555
|
"request",
|
17556
|
+
"serial",
|
17528
17557
|
"timer",
|
17529
17558
|
"udp",
|
17530
17559
|
"virtualButton",
|
@@ -17950,7 +17979,7 @@ Schema for the body of a workflow import request
|
|
17950
17979
|
"additionalProperties": false
|
17951
17980
|
}
|
17952
17981
|
```
|
17953
|
-
### <a name="
|
17982
|
+
### <a name="workflows-import-post-example"></a> Example
|
17954
17983
|
|
17955
17984
|
```json
|
17956
17985
|
{
|
@@ -18082,6 +18111,7 @@ Schema for the result of a workflow import request
|
|
18082
18111
|
"mqttTopic",
|
18083
18112
|
"redis",
|
18084
18113
|
"request",
|
18114
|
+
"serial",
|
18085
18115
|
"timer",
|
18086
18116
|
"udp",
|
18087
18117
|
"virtualButton",
|
@@ -18611,6 +18641,7 @@ Schema for the result of a workflow import request
|
|
18611
18641
|
"mqttTopic",
|
18612
18642
|
"redis",
|
18613
18643
|
"request",
|
18644
|
+
"serial",
|
18614
18645
|
"timer",
|
18615
18646
|
"udp",
|
18616
18647
|
"virtualButton",
|
@@ -19140,6 +19171,7 @@ Schema for the result of a workflow import request
|
|
19140
19171
|
"mqttTopic",
|
19141
19172
|
"redis",
|
19142
19173
|
"request",
|
19174
|
+
"serial",
|
19143
19175
|
"timer",
|
19144
19176
|
"udp",
|
19145
19177
|
"virtualButton",
|
data/docs/dataTableRow.md
CHANGED
@@ -122,7 +122,7 @@ all.Application, all.Organization, all.User, dataTableRow.*, or dataTableRow.pat
|
|
122
122
|
| applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
|
123
123
|
| dataTableId | string | Y | ID associated with the data table | | 575ed78e7ae143cd83dc4aab |
|
124
124
|
| rowId | string | Y | ID associated with the data table row | | 596f832b128eda5cfe765443 |
|
125
|
-
| dataTableRow | [Data Table Row Insert
|
125
|
+
| dataTableRow | [Data Table Row Insert Update](_schemas.md#data-table-row-insert-update) | Y | Object containing updated properties for the data table row | | [Data Table Row Insert Update Example](_schemas.md#data-table-row-insert-update-example) |
|
126
126
|
| losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
|
127
127
|
|
128
128
|
#### Successful Responses
|
data/docs/dataTableRows.md
CHANGED
@@ -81,7 +81,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
|
|
81
81
|
| ---- | ---- | -------- | ----------- | ------- | ------- |
|
82
82
|
| applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
|
83
83
|
| dataTableId | string | Y | ID associated with the data table | | 575ed78e7ae143cd83dc4aab |
|
84
|
-
| exportData | [Data Table Export](_schemas.md#data-table-export) | Y | Object containing export specifications | | [Data Table Export Example](_schemas.md#data-table-export-example) |
|
84
|
+
| exportData | [Data Table Rows Export](_schemas.md#data-table-rows-export) | Y | Object containing export specifications | | [Data Table Rows Export Example](_schemas.md#data-table-rows-export-example) |
|
85
85
|
| losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
|
86
86
|
|
87
87
|
#### Successful Responses
|
data/docs/device.md
CHANGED
@@ -464,7 +464,7 @@ all.Application, all.Device, all.Organization, all.User, device.*, or device.sen
|
|
464
464
|
| ---- | ---- | -------- | ----------- | ------- | ------- |
|
465
465
|
| applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
|
466
466
|
| deviceId | string | Y | ID associated with the device | | 575ecf887ae143cd83dc4aa2 |
|
467
|
-
| deviceState | [
|
467
|
+
| deviceState | [Device State or States](_schemas.md#device-state-or-states) | Y | A single device state object, or an array of device state objects | | [Device State or States Example](_schemas.md#device-state-or-states-example) |
|
468
468
|
| losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
|
469
469
|
|
470
470
|
#### Successful Responses
|
data/docs/file.md
CHANGED
@@ -166,7 +166,7 @@ all.Application, all.Organization, all.User, file.*, or file.patch.
|
|
166
166
|
|
167
167
|
| Code | Type | Description |
|
168
168
|
| ---- | ---- | ----------- |
|
169
|
-
| 201 | [File Post Response](_schemas.md#file-post-response) | Successfully updated file and returned a post url to respond with |
|
169
|
+
| 201 | [File Upload Post Response](_schemas.md#file-upload-post-response) | Successfully updated file and returned a post url to respond with |
|
170
170
|
|
171
171
|
#### Error Responses
|
172
172
|
|
data/docs/files.md
CHANGED
@@ -86,7 +86,7 @@ all.Application, all.Organization, all.User, files.*, or files.post.
|
|
86
86
|
|
87
87
|
| Code | Type | Description |
|
88
88
|
| ---- | ---- | ----------- |
|
89
|
-
| 201 | [File Post Response](_schemas.md#file-post-response) | Successfully created file and returned a post url to respond with |
|
89
|
+
| 201 | [File Upload Post Response](_schemas.md#file-upload-post-response) | Successfully created file and returned a post url to respond with |
|
90
90
|
|
91
91
|
#### Error Responses
|
92
92
|
|
data/docs/flows.md
CHANGED
@@ -130,7 +130,7 @@ all.Application, all.Organization, all.User, flows.*, or flows.import.
|
|
130
130
|
| Name | Type | Required | Description | Default | Example |
|
131
131
|
| ---- | ---- | -------- | ----------- | ------- | ------- |
|
132
132
|
| applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
|
133
|
-
| importData | [
|
133
|
+
| importData | [Workflows Import Post](_schemas.md#workflows-import-post) | Y | New flow and flow version information | | [Workflows Import Post Example](_schemas.md#workflows-import-post-example) |
|
134
134
|
| losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
|
135
135
|
|
136
136
|
#### Successful Responses
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
data/lib/losant_rest/auth.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
data/lib/losant_rest/client.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -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.14.0
|
31
31
|
class Client
|
32
32
|
attr_accessor :auth_token, :url
|
33
33
|
|
@@ -266,7 +266,7 @@ module LosantRest
|
|
266
266
|
|
267
267
|
headers["Accept"] = "application/json"
|
268
268
|
headers["Content-Type"] = "application/json"
|
269
|
-
headers["Accept-Version"] = "^1.
|
269
|
+
headers["Accept-Version"] = "^1.14.0"
|
270
270
|
headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
|
271
271
|
path = self.url + options.fetch(:path, "")
|
272
272
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
data/lib/losant_rest/data.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2019 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|