losant_rest 2.1.0 → 2.1.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.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +139101 -66992
  3. data/docs/application.md +6 -6
  4. data/docs/applicationCertificates.md +3 -2
  5. data/docs/applicationDashboard.md +1 -1
  6. data/docs/applications.md +1 -1
  7. data/docs/auth.md +1 -1
  8. data/docs/dashboard.md +1 -1
  9. data/docs/dashboards.md +1 -0
  10. data/docs/dataTableRow.md +1 -1
  11. data/docs/dataTableRows.md +3 -3
  12. data/docs/device.md +1 -1
  13. data/docs/edgeDeployments.md +3 -3
  14. data/docs/embeddedDeployments.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/file.md +4 -4
  17. data/docs/files.md +1 -1
  18. data/docs/flowVersions.md +1 -1
  19. data/docs/instanceApiTokens.md +1 -1
  20. data/docs/instanceMember.md +1 -1
  21. data/docs/instanceOrg.md +1 -1
  22. data/docs/instanceOrgInvite.md +2 -2
  23. data/docs/instanceOrgInvites.md +1 -1
  24. data/docs/instanceOrgMembers.md +2 -1
  25. data/docs/instanceOrgs.md +1 -1
  26. data/docs/me.md +1 -1
  27. data/docs/notebook.md +1 -1
  28. data/docs/org.md +1 -1
  29. data/docs/privateFile.md +4 -4
  30. data/docs/privateFiles.md +1 -1
  31. data/docs/resourceJob.md +2 -2
  32. data/docs/userApiTokens.md +2 -2
  33. data/lib/platform_rest/application.rb +1 -1
  34. data/lib/platform_rest/application_certificates.rb +5 -2
  35. data/lib/platform_rest/application_dashboard.rb +1 -1
  36. data/lib/platform_rest/client.rb +2 -2
  37. data/lib/platform_rest/dashboard.rb +1 -1
  38. data/lib/platform_rest/dashboards.rb +1 -0
  39. data/lib/platform_rest/data_table_row.rb +1 -1
  40. data/lib/platform_rest/data_table_rows.rb +3 -3
  41. data/lib/platform_rest/device.rb +1 -1
  42. data/lib/platform_rest/edge_deployments.rb +3 -3
  43. data/lib/platform_rest/embedded_deployments.rb +3 -3
  44. data/lib/platform_rest/experience.rb +1 -1
  45. data/lib/platform_rest/file.rb +2 -2
  46. data/lib/platform_rest/instance_api_tokens.rb +1 -1
  47. data/lib/platform_rest/instance_member.rb +1 -1
  48. data/lib/platform_rest/instance_org.rb +1 -1
  49. data/lib/platform_rest/instance_org_invite.rb +2 -2
  50. data/lib/platform_rest/instance_org_invites.rb +2 -2
  51. data/lib/platform_rest/instance_org_members.rb +2 -1
  52. data/lib/platform_rest/instance_orgs.rb +1 -1
  53. data/lib/platform_rest/me.rb +1 -1
  54. data/lib/platform_rest/notebook.rb +1 -1
  55. data/lib/platform_rest/org.rb +1 -1
  56. data/lib/platform_rest/private_file.rb +2 -2
  57. data/lib/platform_rest/resource_job.rb +2 -2
  58. data/lib/platform_rest/user_api_tokens.rb +2 -2
  59. data/lib/platform_rest/version.rb +1 -1
  60. data/schemas/advancedApplicationCertQuery.json +1885 -0
  61. data/schemas/advancedApplicationKeyQuery.json +763 -763
  62. data/schemas/apiToken.json +10 -1
  63. data/schemas/apiTokens.json +20 -2
  64. data/schemas/application.json +15 -2
  65. data/schemas/applicationCertificate.json +90 -58
  66. data/schemas/applicationCertificateAuthorities.json +24 -0
  67. data/schemas/applicationCertificateAuthority.json +24 -0
  68. data/schemas/applicationCertificatePatch.json +32 -4
  69. data/schemas/applicationCertificatePost.json +28 -30
  70. data/schemas/applicationCertificates.json +90 -58
  71. data/schemas/applicationCreationByTemplateResult.json +15 -2
  72. data/schemas/applicationDashboardPost.json +179 -128
  73. data/schemas/applicationImportExecutions.json +3 -5
  74. data/schemas/applicationImportResult.json +674 -0
  75. data/schemas/applicationJobLog.json +129 -123
  76. data/schemas/applicationJobLogs.json +129 -123
  77. data/schemas/applicationKey.json +41 -41
  78. data/schemas/applicationKeyPatch.json +4 -4
  79. data/schemas/applicationKeyPost.json +36 -29
  80. data/schemas/applicationKeys.json +41 -41
  81. data/schemas/applicationSearchResult.json +10 -10
  82. data/schemas/applicationTemplates.json +9 -2
  83. data/schemas/applications.json +15 -2
  84. data/schemas/auditLog.json +2 -6
  85. data/schemas/auditLogs.json +2 -6
  86. data/schemas/authedDevice.json +3 -0
  87. data/schemas/credential.json +7 -0
  88. data/schemas/credentialLinkedResources.json +19724 -344
  89. data/schemas/credentialPatch.json +3 -0
  90. data/schemas/credentialPost.json +3 -0
  91. data/schemas/credentials.json +7 -0
  92. data/schemas/dashboard.json +199 -128
  93. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  94. data/schemas/dashboardPatch.json +179 -128
  95. data/schemas/dashboardPost.json +179 -128
  96. data/schemas/dashboardUpdateEventsResult.json +266 -0
  97. data/schemas/dashboards.json +199 -128
  98. data/schemas/dataTable.json +11 -0
  99. data/schemas/dataTableRowPatch.json +16 -0
  100. data/schemas/dataTableRowPost.json +39 -0
  101. data/schemas/dataTableRowPostResult.json +54 -0
  102. data/schemas/dataTables.json +11 -0
  103. data/schemas/device.json +259 -107
  104. data/schemas/deviceConnectionStatus.json +4 -0
  105. data/schemas/deviceLog.json +3 -0
  106. data/schemas/deviceRecipe.json +259 -108
  107. data/schemas/deviceRecipes.json +259 -108
  108. data/schemas/devices.json +287 -116
  109. data/schemas/edgeDeploymentRelease.json +4252 -39
  110. data/schemas/edgeDeployments.json +28 -0
  111. data/schemas/embeddedDeploymentRelease.json +2073 -0
  112. data/schemas/embeddedDeployments.json +25 -0
  113. data/schemas/error.json +14 -0
  114. data/schemas/event.json +4 -1
  115. data/schemas/eventPlusNewCount.json +4 -1
  116. data/schemas/events.json +4 -1
  117. data/schemas/experienceDomains.json +19 -0
  118. data/schemas/experienceEndpoint.json +19 -0
  119. data/schemas/experienceEndpoints.json +24 -0
  120. data/schemas/experienceLinkedResources.json +19728 -313
  121. data/schemas/experienceSlugs.json +19 -0
  122. data/schemas/experienceUsers.json +16 -2
  123. data/schemas/experienceVersions.json +25 -0
  124. data/schemas/experienceView.json +5 -0
  125. data/schemas/experienceViews.json +10 -0
  126. data/schemas/fileUploadPostResponse.json +92 -103
  127. data/schemas/files.json +5 -1
  128. data/schemas/flow.json +211 -46
  129. data/schemas/flowPatch.json +199 -46
  130. data/schemas/flowPost.json +199 -46
  131. data/schemas/flowStorageMetadata.json +2 -2
  132. data/schemas/flowVersion.json +450 -101
  133. data/schemas/flowVersionPost.json +199 -46
  134. data/schemas/flowVersions.json +9903 -113
  135. data/schemas/flows.json +9637 -46
  136. data/schemas/flowsImportPost.json +398 -92
  137. data/schemas/flowsImportResult.json +661 -147
  138. data/schemas/historicalSummaries.json +3 -2
  139. data/schemas/historicalSummary.json +3 -2
  140. data/schemas/instanceAuditLog.json +2 -6
  141. data/schemas/instanceAuditLogs.json +90 -1
  142. data/schemas/instanceCustomNode.json +41 -2
  143. data/schemas/instanceCustomNodePatch.json +59 -6
  144. data/schemas/instanceCustomNodePost.json +59 -6
  145. data/schemas/instanceCustomNodes.json +41 -2
  146. data/schemas/instanceOrg.json +4 -1
  147. data/schemas/instanceOrgInvite.json +102 -0
  148. data/schemas/instanceOrgInviteSent.json +12 -0
  149. data/schemas/instanceOrgInvites.json +145 -0
  150. data/schemas/instanceOrgMember.json +52 -0
  151. data/schemas/instanceOrgMembers.json +105 -1
  152. data/schemas/instanceOrgPost.json +1 -1
  153. data/schemas/instanceOrgs.json +5 -2
  154. data/schemas/instanceSandbox.json +5 -1
  155. data/schemas/instanceSandboxes.json +9 -1
  156. data/schemas/integration.json +38 -39
  157. data/schemas/integrationPatch.json +8 -8
  158. data/schemas/integrationPost.json +8 -8
  159. data/schemas/integrations.json +38 -39
  160. data/schemas/jobEnqueuedResult.json +1 -1
  161. data/schemas/me.json +685 -88
  162. data/schemas/notebook.json +33 -21
  163. data/schemas/notebookExecutionLogs.json +20 -0
  164. data/schemas/notebookMinuteCounts.json +1 -1
  165. data/schemas/notebookPatch.json +29 -21
  166. data/schemas/notebookPost.json +29 -21
  167. data/schemas/notebooks.json +33 -21
  168. data/schemas/notificationRule.json +4 -0
  169. data/schemas/notificationRules.json +8 -0
  170. data/schemas/org.json +14 -1
  171. data/schemas/orgInvites.json +77 -82
  172. data/schemas/orgInvitesUser.json +44 -47
  173. data/schemas/orgs.json +14 -1
  174. data/schemas/paletteResponse.json +372 -364
  175. data/schemas/periodSummaries.json +1 -1
  176. data/schemas/recentItemList.json +226 -27
  177. data/schemas/resourceJob.json +33 -9
  178. data/schemas/resourceJobExecutionLogs.json +34 -20
  179. data/schemas/resourceJobExecutionOptions.json +1 -1
  180. data/schemas/resourceJobPatch.json +9 -9
  181. data/schemas/resourceJobPost.json +9 -9
  182. data/schemas/resourceJobs.json +33 -9
  183. data/schemas/tagValuesResponse.json +1 -2
  184. data/schemas/templateKeywords.json +1 -0
  185. data/schemas/timeSeriesData.json +36 -4
  186. data/schemas/userOauthToken.json +4 -1
  187. data/schemas/userOauthTokenPost.json +1 -1
  188. data/schemas/userOauthTokens.json +4 -1
  189. data/schemas/validateContextError.json +71 -24
  190. data/schemas/validateContextSuccess.json +71 -24
  191. metadata +10 -1
@@ -111,139 +111,145 @@
111
111
  }
112
112
  },
113
113
  "input": {
114
- "callbackUrl": {
115
- "type": "string",
116
- "format": "uri",
117
- "maxLength": 1024
118
- },
119
- "emails": {
120
- "type": "array",
121
- "items": {
114
+ "type": "object",
115
+ "properties": {
116
+ "callbackUrl": {
122
117
  "type": "string",
123
- "format": "email",
118
+ "format": "uri",
124
119
  "maxLength": 1024
120
+ },
121
+ "emails": {
122
+ "type": "array",
123
+ "items": {
124
+ "type": "string",
125
+ "format": "email",
126
+ "maxLength": 1024
127
+ }
128
+ },
129
+ "start": {
130
+ "type": "number"
131
+ },
132
+ "end": {
133
+ "type": "number"
134
+ },
135
+ "gatewayId": {
136
+ "type": "string",
137
+ "pattern": "^[A-Fa-f\\d]{24}$"
138
+ },
139
+ "parentId": {
140
+ "type": "string",
141
+ "pattern": "^[A-Fa-f\\d]{24}$"
142
+ },
143
+ "query": {
144
+ "type": "string"
145
+ },
146
+ "ownerId": {
147
+ "type": "string",
148
+ "pattern": "^[A-Fa-f\\d]{24}$"
149
+ },
150
+ "ownerType": {
151
+ "type": "string",
152
+ "enum": [
153
+ "user",
154
+ "organization"
155
+ ]
156
+ },
157
+ "fileUrl": {
158
+ "type": "string",
159
+ "format": "uri",
160
+ "maxLength": 1024
161
+ },
162
+ "templateContext": {
163
+ "type": "string"
125
164
  }
126
- },
127
- "start": {
128
- "type": "number"
129
- },
130
- "end": {
131
- "type": "number"
132
- },
133
- "gatewayId": {
134
- "type": "string",
135
- "pattern": "^[A-Fa-f\\d]{24}$"
136
- },
137
- "parentId": {
138
- "type": "string",
139
- "pattern": "^[A-Fa-f\\d]{24}$"
140
- },
141
- "query": {
142
- "type": "string"
143
- },
144
- "ownerId": {
145
- "type": "string",
146
- "pattern": "^[A-Fa-f\\d]{24}$"
147
- },
148
- "ownerType": {
149
- "type": "string",
150
- "enum": [
151
- "user",
152
- "organization"
153
- ]
154
- },
155
- "fileUrl": {
156
- "type": "string",
157
- "format": "uri",
158
- "maxLength": 1024
159
- },
160
- "templateContext": {
161
- "type": "string"
162
165
  }
163
166
  },
164
167
  "output": {
165
- "downloadUrls": {
166
- "type": "array",
167
- "items": {
168
+ "type": "object",
169
+ "properties": {
170
+ "downloadUrls": {
171
+ "type": "array",
172
+ "items": {
173
+ "type": "string",
174
+ "format": "uri",
175
+ "maxLength": 1024
176
+ }
177
+ },
178
+ "devicesDirectory": {
179
+ "type": "string"
180
+ },
181
+ "eventsDirectory": {
182
+ "type": "string"
183
+ },
184
+ "dataTablesDirectory": {
185
+ "type": "string"
186
+ },
187
+ "created": {
188
+ "type": "number"
189
+ },
190
+ "failed": {
191
+ "type": "number"
192
+ },
193
+ "removed": {
194
+ "type": "number"
195
+ },
196
+ "restored": {
197
+ "type": "number"
198
+ },
199
+ "repoUrl": {
200
+ "type": "string"
201
+ },
202
+ "commit": {
203
+ "type": "string"
204
+ },
205
+ "noChanges": {
206
+ "type": "boolean"
207
+ },
208
+ "applicationId": {
168
209
  "type": "string",
169
- "format": "uri",
170
- "maxLength": 1024
171
- }
172
- },
173
- "devicesDirectory": {
174
- "type": "string"
175
- },
176
- "eventsDirectory": {
177
- "type": "string"
178
- },
179
- "dataTablesDirectory": {
180
- "type": "string"
181
- },
182
- "created": {
183
- "type": "number"
184
- },
185
- "failed": {
186
- "type": "number"
187
- },
188
- "removed": {
189
- "type": "number"
190
- },
191
- "restored": {
192
- "type": "number"
193
- },
194
- "repoUrl": {
195
- "type": "string"
196
- },
197
- "commit": {
198
- "type": "string"
199
- },
200
- "noChanges": {
201
- "type": "boolean"
202
- },
203
- "applicationId": {
204
- "type": "string",
205
- "pattern": "^[A-Fa-f\\d]{24}$"
206
- },
207
- "validationErrors": {
208
- "type": "array",
209
- "items": {
210
- "type": "object",
211
- "properties": {
212
- "type": {
213
- "type": "string"
214
- },
215
- "name": {
216
- "type": "string"
217
- },
218
- "id": {
219
- "type": "string"
220
- },
221
- "message": {
222
- "type": "string"
210
+ "pattern": "^[A-Fa-f\\d]{24}$"
211
+ },
212
+ "validationErrors": {
213
+ "type": "array",
214
+ "items": {
215
+ "type": "object",
216
+ "properties": {
217
+ "type": {
218
+ "type": "string"
219
+ },
220
+ "name": {
221
+ "type": "string"
222
+ },
223
+ "id": {
224
+ "type": "string"
225
+ },
226
+ "message": {
227
+ "type": "string"
228
+ }
223
229
  }
224
230
  }
231
+ },
232
+ "skippedDeviceNotFound": {
233
+ "type": "number"
234
+ },
235
+ "skippedDateTooOld": {
236
+ "type": "number"
237
+ },
238
+ "skippedDateInFuture": {
239
+ "type": "number"
240
+ },
241
+ "skippedInvalidDate": {
242
+ "type": "number"
243
+ },
244
+ "skippedNoValidAttributes": {
245
+ "type": "number"
246
+ },
247
+ "written": {
248
+ "type": "number"
249
+ },
250
+ "eeaBundleVersion": {
251
+ "type": "string"
225
252
  }
226
- },
227
- "skippedDeviceNotFound": {
228
- "type": "number"
229
- },
230
- "skippedDateTooOld": {
231
- "type": "number"
232
- },
233
- "skippedDateInFuture": {
234
- "type": "number"
235
- },
236
- "skippedInvalidDate": {
237
- "type": "number"
238
- },
239
- "skippedNoValidAttributes": {
240
- "type": "number"
241
- },
242
- "written": {
243
- "type": "number"
244
- },
245
- "eeaBundleVersion": {
246
- "type": "string"
247
253
  }
248
254
  }
249
255
  }
@@ -118,139 +118,145 @@
118
118
  }
119
119
  },
120
120
  "input": {
121
- "callbackUrl": {
122
- "type": "string",
123
- "format": "uri",
124
- "maxLength": 1024
125
- },
126
- "emails": {
127
- "type": "array",
128
- "items": {
121
+ "type": "object",
122
+ "properties": {
123
+ "callbackUrl": {
129
124
  "type": "string",
130
- "format": "email",
125
+ "format": "uri",
131
126
  "maxLength": 1024
127
+ },
128
+ "emails": {
129
+ "type": "array",
130
+ "items": {
131
+ "type": "string",
132
+ "format": "email",
133
+ "maxLength": 1024
134
+ }
135
+ },
136
+ "start": {
137
+ "type": "number"
138
+ },
139
+ "end": {
140
+ "type": "number"
141
+ },
142
+ "gatewayId": {
143
+ "type": "string",
144
+ "pattern": "^[A-Fa-f\\d]{24}$"
145
+ },
146
+ "parentId": {
147
+ "type": "string",
148
+ "pattern": "^[A-Fa-f\\d]{24}$"
149
+ },
150
+ "query": {
151
+ "type": "string"
152
+ },
153
+ "ownerId": {
154
+ "type": "string",
155
+ "pattern": "^[A-Fa-f\\d]{24}$"
156
+ },
157
+ "ownerType": {
158
+ "type": "string",
159
+ "enum": [
160
+ "user",
161
+ "organization"
162
+ ]
163
+ },
164
+ "fileUrl": {
165
+ "type": "string",
166
+ "format": "uri",
167
+ "maxLength": 1024
168
+ },
169
+ "templateContext": {
170
+ "type": "string"
132
171
  }
133
- },
134
- "start": {
135
- "type": "number"
136
- },
137
- "end": {
138
- "type": "number"
139
- },
140
- "gatewayId": {
141
- "type": "string",
142
- "pattern": "^[A-Fa-f\\d]{24}$"
143
- },
144
- "parentId": {
145
- "type": "string",
146
- "pattern": "^[A-Fa-f\\d]{24}$"
147
- },
148
- "query": {
149
- "type": "string"
150
- },
151
- "ownerId": {
152
- "type": "string",
153
- "pattern": "^[A-Fa-f\\d]{24}$"
154
- },
155
- "ownerType": {
156
- "type": "string",
157
- "enum": [
158
- "user",
159
- "organization"
160
- ]
161
- },
162
- "fileUrl": {
163
- "type": "string",
164
- "format": "uri",
165
- "maxLength": 1024
166
- },
167
- "templateContext": {
168
- "type": "string"
169
172
  }
170
173
  },
171
174
  "output": {
172
- "downloadUrls": {
173
- "type": "array",
174
- "items": {
175
+ "type": "object",
176
+ "properties": {
177
+ "downloadUrls": {
178
+ "type": "array",
179
+ "items": {
180
+ "type": "string",
181
+ "format": "uri",
182
+ "maxLength": 1024
183
+ }
184
+ },
185
+ "devicesDirectory": {
186
+ "type": "string"
187
+ },
188
+ "eventsDirectory": {
189
+ "type": "string"
190
+ },
191
+ "dataTablesDirectory": {
192
+ "type": "string"
193
+ },
194
+ "created": {
195
+ "type": "number"
196
+ },
197
+ "failed": {
198
+ "type": "number"
199
+ },
200
+ "removed": {
201
+ "type": "number"
202
+ },
203
+ "restored": {
204
+ "type": "number"
205
+ },
206
+ "repoUrl": {
207
+ "type": "string"
208
+ },
209
+ "commit": {
210
+ "type": "string"
211
+ },
212
+ "noChanges": {
213
+ "type": "boolean"
214
+ },
215
+ "applicationId": {
175
216
  "type": "string",
176
- "format": "uri",
177
- "maxLength": 1024
178
- }
179
- },
180
- "devicesDirectory": {
181
- "type": "string"
182
- },
183
- "eventsDirectory": {
184
- "type": "string"
185
- },
186
- "dataTablesDirectory": {
187
- "type": "string"
188
- },
189
- "created": {
190
- "type": "number"
191
- },
192
- "failed": {
193
- "type": "number"
194
- },
195
- "removed": {
196
- "type": "number"
197
- },
198
- "restored": {
199
- "type": "number"
200
- },
201
- "repoUrl": {
202
- "type": "string"
203
- },
204
- "commit": {
205
- "type": "string"
206
- },
207
- "noChanges": {
208
- "type": "boolean"
209
- },
210
- "applicationId": {
211
- "type": "string",
212
- "pattern": "^[A-Fa-f\\d]{24}$"
213
- },
214
- "validationErrors": {
215
- "type": "array",
216
- "items": {
217
- "type": "object",
218
- "properties": {
219
- "type": {
220
- "type": "string"
221
- },
222
- "name": {
223
- "type": "string"
224
- },
225
- "id": {
226
- "type": "string"
227
- },
228
- "message": {
229
- "type": "string"
217
+ "pattern": "^[A-Fa-f\\d]{24}$"
218
+ },
219
+ "validationErrors": {
220
+ "type": "array",
221
+ "items": {
222
+ "type": "object",
223
+ "properties": {
224
+ "type": {
225
+ "type": "string"
226
+ },
227
+ "name": {
228
+ "type": "string"
229
+ },
230
+ "id": {
231
+ "type": "string"
232
+ },
233
+ "message": {
234
+ "type": "string"
235
+ }
230
236
  }
231
237
  }
238
+ },
239
+ "skippedDeviceNotFound": {
240
+ "type": "number"
241
+ },
242
+ "skippedDateTooOld": {
243
+ "type": "number"
244
+ },
245
+ "skippedDateInFuture": {
246
+ "type": "number"
247
+ },
248
+ "skippedInvalidDate": {
249
+ "type": "number"
250
+ },
251
+ "skippedNoValidAttributes": {
252
+ "type": "number"
253
+ },
254
+ "written": {
255
+ "type": "number"
256
+ },
257
+ "eeaBundleVersion": {
258
+ "type": "string"
232
259
  }
233
- },
234
- "skippedDeviceNotFound": {
235
- "type": "number"
236
- },
237
- "skippedDateTooOld": {
238
- "type": "number"
239
- },
240
- "skippedDateInFuture": {
241
- "type": "number"
242
- },
243
- "skippedInvalidDate": {
244
- "type": "number"
245
- },
246
- "skippedNoValidAttributes": {
247
- "type": "number"
248
- },
249
- "written": {
250
- "type": "number"
251
- },
252
- "eeaBundleVersion": {
253
- "type": "string"
254
260
  }
255
261
  }
256
262
  }
@@ -6,10 +6,6 @@
6
6
  "type": "string",
7
7
  "pattern": "^[A-Fa-f\\d]{24}$"
8
8
  },
9
- "applicationKeyId": {
10
- "type": "string",
11
- "pattern": "^[A-Fa-f\\d]{24}$"
12
- },
13
9
  "applicationId": {
14
10
  "type": "string",
15
11
  "pattern": "^[A-Fa-f\\d]{24}$"
@@ -18,6 +14,10 @@
18
14
  "type": "string",
19
15
  "format": "date-time"
20
16
  },
17
+ "lastUpdated": {
18
+ "type": "string",
19
+ "format": "date-time"
20
+ },
21
21
  "createdById": {
22
22
  "type": "string",
23
23
  "pattern": "^[A-Fa-f\\d]{24}$"
@@ -30,10 +30,6 @@
30
30
  "apiToken"
31
31
  ]
32
32
  },
33
- "lastUpdated": {
34
- "type": "string",
35
- "format": "date-time"
36
- },
37
33
  "lastUpdatedById": {
38
34
  "type": "string",
39
35
  "pattern": "^[A-Fa-f\\d]{24}$"
@@ -46,9 +42,6 @@
46
42
  "apiToken"
47
43
  ]
48
44
  },
49
- "key": {
50
- "type": "string"
51
- },
52
45
  "status": {
53
46
  "type": "string",
54
47
  "enum": [
@@ -56,42 +49,15 @@
56
49
  "inactive"
57
50
  ]
58
51
  },
59
- "deviceIds": {
60
- "type": "array",
61
- "items": {
62
- "type": "string",
63
- "pattern": "^[A-Fa-f\\d]{24}$"
64
- },
65
- "maxItems": 1000
66
- },
67
- "deviceTags": {
68
- "type": "array",
69
- "items": {
70
- "type": "object",
71
- "properties": {
72
- "key": {
73
- "type": "string",
74
- "pattern": "^[0-9a-zA-Z_-]{1,255}$"
75
- },
76
- "value": {
77
- "type": "string",
78
- "minLength": 1,
79
- "maxLength": 255
80
- }
81
- },
82
- "additionalProperties": false
83
- },
84
- "maxItems": 100
52
+ "description": {
53
+ "type": "string",
54
+ "maxLength": 32767
85
55
  },
86
56
  "name": {
87
57
  "type": "string",
88
58
  "minLength": 1,
89
59
  "maxLength": 255
90
60
  },
91
- "description": {
92
- "type": "string",
93
- "maxLength": 32767
94
- },
95
61
  "filterType": {
96
62
  "oneOf": [
97
63
  {
@@ -141,6 +107,40 @@
141
107
  "type": "string",
142
108
  "maxLength": 48
143
109
  }
110
+ },
111
+ "applicationKeyId": {
112
+ "type": "string",
113
+ "pattern": "^[A-Fa-f\\d]{24}$"
114
+ },
115
+ "key": {
116
+ "type": "string"
117
+ },
118
+ "deviceIds": {
119
+ "type": "array",
120
+ "items": {
121
+ "type": "string",
122
+ "pattern": "^[A-Fa-f\\d]{24}$"
123
+ },
124
+ "maxItems": 1000
125
+ },
126
+ "deviceTags": {
127
+ "type": "array",
128
+ "items": {
129
+ "type": "object",
130
+ "properties": {
131
+ "key": {
132
+ "type": "string",
133
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
134
+ },
135
+ "value": {
136
+ "type": "string",
137
+ "minLength": 1,
138
+ "maxLength": 255
139
+ }
140
+ },
141
+ "additionalProperties": false
142
+ },
143
+ "maxItems": 100
144
144
  }
145
145
  }
146
146
  }
@@ -9,6 +9,10 @@
9
9
  "inactive"
10
10
  ]
11
11
  },
12
+ "description": {
13
+ "type": "string",
14
+ "maxLength": 32767
15
+ },
12
16
  "name": {
13
17
  "oneOf": [
14
18
  {
@@ -21,10 +25,6 @@
21
25
  }
22
26
  ]
23
27
  },
24
- "description": {
25
- "type": "string",
26
- "maxLength": 32767
27
- },
28
28
  "filterType": {
29
29
  "oneOf": [
30
30
  {