losant_rest 2.0.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 (350) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +140925 -67028
  3. data/docs/application.md +27 -27
  4. data/docs/applicationApiToken.md +1 -1
  5. data/docs/applicationApiTokens.md +1 -1
  6. data/docs/applicationCertificate.md +3 -3
  7. data/docs/applicationCertificateAuthorities.md +2 -2
  8. data/docs/applicationCertificateAuthority.md +3 -3
  9. data/docs/applicationCertificates.md +5 -4
  10. data/docs/applicationDashboard.md +5 -5
  11. data/docs/applicationDashboards.md +2 -2
  12. data/docs/applicationJobLog.md +1 -1
  13. data/docs/applicationJobLogs.md +1 -1
  14. data/docs/applicationKey.md +3 -3
  15. data/docs/applicationKeys.md +2 -2
  16. data/docs/applicationTemplate.md +1 -1
  17. data/docs/applicationTemplates.md +3 -3
  18. data/docs/applications.md +5 -5
  19. data/docs/auditLog.md +1 -1
  20. data/docs/auditLogs.md +1 -1
  21. data/docs/auth.md +1 -1
  22. data/docs/credential.md +4 -4
  23. data/docs/credentials.md +2 -2
  24. data/docs/dashboard.md +4 -4
  25. data/docs/dashboards.md +3 -2
  26. data/docs/data.md +3 -3
  27. data/docs/dataTable.md +5 -5
  28. data/docs/dataTableRow.md +4 -4
  29. data/docs/dataTableRows.md +9 -9
  30. data/docs/dataTables.md +2 -2
  31. data/docs/device.md +15 -15
  32. data/docs/deviceAttribute.md +3 -3
  33. data/docs/deviceAttributes.md +2 -2
  34. data/docs/deviceRecipe.md +4 -4
  35. data/docs/deviceRecipes.md +2 -2
  36. data/docs/devices.md +14 -14
  37. data/docs/edgeDeployment.md +1 -1
  38. data/docs/edgeDeployments.md +7 -7
  39. data/docs/embeddedDeployment.md +1 -1
  40. data/docs/embeddedDeployments.md +8 -8
  41. data/docs/event.md +3 -3
  42. data/docs/events.md +6 -6
  43. data/docs/experience.md +3 -3
  44. data/docs/experienceDomain.md +3 -3
  45. data/docs/experienceDomains.md +2 -2
  46. data/docs/experienceEndpoint.md +4 -4
  47. data/docs/experienceEndpoints.md +3 -3
  48. data/docs/experienceGroup.md +3 -3
  49. data/docs/experienceGroups.md +2 -2
  50. data/docs/experienceSlug.md +3 -3
  51. data/docs/experienceSlugs.md +2 -2
  52. data/docs/experienceUser.md +3 -3
  53. data/docs/experienceUsers.md +2 -2
  54. data/docs/experienceVersion.md +3 -3
  55. data/docs/experienceVersions.md +2 -2
  56. data/docs/experienceView.md +4 -4
  57. data/docs/experienceViews.md +2 -2
  58. data/docs/file.md +9 -9
  59. data/docs/files.md +3 -3
  60. data/docs/flow.md +11 -11
  61. data/docs/flowVersion.md +6 -6
  62. data/docs/flowVersions.md +4 -4
  63. data/docs/flows.md +5 -5
  64. data/docs/instance.md +8 -8
  65. data/docs/instanceApiToken.md +1 -1
  66. data/docs/instanceApiTokens.md +2 -2
  67. data/docs/instanceAuditLog.md +1 -1
  68. data/docs/instanceAuditLogs.md +1 -1
  69. data/docs/instanceCustomNode.md +5 -5
  70. data/docs/instanceCustomNodes.md +2 -2
  71. data/docs/instanceMember.md +2 -2
  72. data/docs/instanceMembers.md +1 -1
  73. data/docs/instanceNotificationRule.md +5 -5
  74. data/docs/instanceNotificationRules.md +2 -2
  75. data/docs/instanceOrg.md +8 -8
  76. data/docs/instanceOrgInvite.md +3 -3
  77. data/docs/instanceOrgInvites.md +2 -2
  78. data/docs/instanceOrgMember.md +1 -1
  79. data/docs/instanceOrgMembers.md +3 -2
  80. data/docs/instanceOrgs.md +3 -3
  81. data/docs/instanceSandbox.md +7 -7
  82. data/docs/instanceSandboxes.md +1 -1
  83. data/docs/instances.md +1 -1
  84. data/docs/integration.md +3 -3
  85. data/docs/integrations.md +2 -2
  86. data/docs/me.md +21 -21
  87. data/docs/notebook.md +10 -10
  88. data/docs/notebooks.md +2 -2
  89. data/docs/org.md +14 -14
  90. data/docs/orgs.md +2 -2
  91. data/docs/privateFile.md +9 -9
  92. data/docs/privateFiles.md +3 -3
  93. data/docs/resourceJob.md +8 -8
  94. data/docs/resourceJobs.md +2 -2
  95. data/docs/userApiToken.md +3 -3
  96. data/docs/userApiTokens.md +4 -4
  97. data/docs/userOauthToken.md +125 -0
  98. data/docs/userOauthTokens.md +87 -0
  99. data/docs/webhook.md +3 -3
  100. data/docs/webhooks.md +2 -2
  101. data/lib/platform_rest/application.rb +21 -21
  102. data/lib/platform_rest/application_api_token.rb +1 -1
  103. data/lib/platform_rest/application_api_tokens.rb +1 -1
  104. data/lib/platform_rest/application_certificate.rb +3 -3
  105. data/lib/platform_rest/application_certificate_authorities.rb +2 -2
  106. data/lib/platform_rest/application_certificate_authority.rb +3 -3
  107. data/lib/platform_rest/application_certificates.rb +7 -4
  108. data/lib/platform_rest/application_dashboard.rb +5 -5
  109. data/lib/platform_rest/application_dashboards.rb +2 -2
  110. data/lib/platform_rest/application_job_log.rb +1 -1
  111. data/lib/platform_rest/application_job_logs.rb +1 -1
  112. data/lib/platform_rest/application_key.rb +3 -3
  113. data/lib/platform_rest/application_keys.rb +2 -2
  114. data/lib/platform_rest/application_template.rb +1 -1
  115. data/lib/platform_rest/application_templates.rb +3 -3
  116. data/lib/platform_rest/applications.rb +3 -3
  117. data/lib/platform_rest/audit_log.rb +1 -1
  118. data/lib/platform_rest/audit_logs.rb +1 -1
  119. data/lib/platform_rest/client.rb +10 -2
  120. data/lib/platform_rest/credential.rb +4 -4
  121. data/lib/platform_rest/credentials.rb +2 -2
  122. data/lib/platform_rest/dashboard.rb +4 -4
  123. data/lib/platform_rest/dashboards.rb +3 -2
  124. data/lib/platform_rest/data.rb +3 -3
  125. data/lib/platform_rest/data_table.rb +5 -5
  126. data/lib/platform_rest/data_table_row.rb +4 -4
  127. data/lib/platform_rest/data_table_rows.rb +9 -9
  128. data/lib/platform_rest/data_tables.rb +2 -2
  129. data/lib/platform_rest/device.rb +15 -15
  130. data/lib/platform_rest/device_attribute.rb +3 -3
  131. data/lib/platform_rest/device_attributes.rb +2 -2
  132. data/lib/platform_rest/device_recipe.rb +4 -4
  133. data/lib/platform_rest/device_recipes.rb +2 -2
  134. data/lib/platform_rest/devices.rb +14 -14
  135. data/lib/platform_rest/edge_deployment.rb +1 -1
  136. data/lib/platform_rest/edge_deployments.rb +7 -7
  137. data/lib/platform_rest/embedded_deployment.rb +1 -1
  138. data/lib/platform_rest/embedded_deployments.rb +8 -8
  139. data/lib/platform_rest/event.rb +3 -3
  140. data/lib/platform_rest/events.rb +6 -6
  141. data/lib/platform_rest/experience.rb +3 -3
  142. data/lib/platform_rest/experience_domain.rb +3 -3
  143. data/lib/platform_rest/experience_domains.rb +2 -2
  144. data/lib/platform_rest/experience_endpoint.rb +4 -4
  145. data/lib/platform_rest/experience_endpoints.rb +3 -3
  146. data/lib/platform_rest/experience_group.rb +3 -3
  147. data/lib/platform_rest/experience_groups.rb +2 -2
  148. data/lib/platform_rest/experience_slug.rb +3 -3
  149. data/lib/platform_rest/experience_slugs.rb +2 -2
  150. data/lib/platform_rest/experience_user.rb +3 -3
  151. data/lib/platform_rest/experience_users.rb +2 -2
  152. data/lib/platform_rest/experience_version.rb +3 -3
  153. data/lib/platform_rest/experience_versions.rb +2 -2
  154. data/lib/platform_rest/experience_view.rb +4 -4
  155. data/lib/platform_rest/experience_views.rb +2 -2
  156. data/lib/platform_rest/file.rb +6 -6
  157. data/lib/platform_rest/files.rb +2 -2
  158. data/lib/platform_rest/flow.rb +11 -11
  159. data/lib/platform_rest/flow_version.rb +6 -6
  160. data/lib/platform_rest/flow_versions.rb +3 -3
  161. data/lib/platform_rest/flows.rb +5 -5
  162. data/lib/platform_rest/instance.rb +8 -8
  163. data/lib/platform_rest/instance_api_token.rb +1 -1
  164. data/lib/platform_rest/instance_api_tokens.rb +2 -2
  165. data/lib/platform_rest/instance_audit_log.rb +1 -1
  166. data/lib/platform_rest/instance_audit_logs.rb +1 -1
  167. data/lib/platform_rest/instance_custom_node.rb +5 -5
  168. data/lib/platform_rest/instance_custom_nodes.rb +2 -2
  169. data/lib/platform_rest/instance_member.rb +2 -2
  170. data/lib/platform_rest/instance_members.rb +1 -1
  171. data/lib/platform_rest/instance_notification_rule.rb +5 -5
  172. data/lib/platform_rest/instance_notification_rules.rb +2 -2
  173. data/lib/platform_rest/instance_org.rb +8 -8
  174. data/lib/platform_rest/instance_org_invite.rb +3 -3
  175. data/lib/platform_rest/instance_org_invites.rb +3 -3
  176. data/lib/platform_rest/instance_org_member.rb +1 -1
  177. data/lib/platform_rest/instance_org_members.rb +3 -2
  178. data/lib/platform_rest/instance_orgs.rb +3 -3
  179. data/lib/platform_rest/instance_sandbox.rb +7 -7
  180. data/lib/platform_rest/instance_sandboxes.rb +1 -1
  181. data/lib/platform_rest/instances.rb +1 -1
  182. data/lib/platform_rest/integration.rb +3 -3
  183. data/lib/platform_rest/integrations.rb +2 -2
  184. data/lib/platform_rest/me.rb +21 -21
  185. data/lib/platform_rest/notebook.rb +9 -9
  186. data/lib/platform_rest/notebooks.rb +2 -2
  187. data/lib/platform_rest/org.rb +14 -14
  188. data/lib/platform_rest/orgs.rb +2 -2
  189. data/lib/platform_rest/private_file.rb +6 -6
  190. data/lib/platform_rest/private_files.rb +2 -2
  191. data/lib/platform_rest/resource_job.rb +8 -8
  192. data/lib/platform_rest/resource_jobs.rb +2 -2
  193. data/lib/platform_rest/user_api_token.rb +3 -3
  194. data/lib/platform_rest/user_api_tokens.rb +4 -4
  195. data/lib/platform_rest/user_oauth_token.rb +170 -0
  196. data/lib/platform_rest/user_oauth_tokens.rb +132 -0
  197. data/lib/platform_rest/version.rb +1 -1
  198. data/lib/platform_rest/webhook.rb +3 -3
  199. data/lib/platform_rest/webhooks.rb +2 -2
  200. data/lib/platform_rest.rb +2 -0
  201. data/schemas/advancedApplicationCertQuery.json +1885 -0
  202. data/schemas/advancedApplicationKeyQuery.json +763 -763
  203. data/schemas/apiToken.json +110 -1
  204. data/schemas/apiTokenPatch.json +100 -0
  205. data/schemas/apiTokenPost.json +118 -0
  206. data/schemas/apiTokens.json +120 -2
  207. data/schemas/application.json +15 -2
  208. data/schemas/applicationCertificate.json +90 -58
  209. data/schemas/applicationCertificateAuthorities.json +24 -0
  210. data/schemas/applicationCertificateAuthority.json +24 -0
  211. data/schemas/applicationCertificatePatch.json +32 -4
  212. data/schemas/applicationCertificatePost.json +28 -30
  213. data/schemas/applicationCertificates.json +90 -58
  214. data/schemas/applicationCreationByTemplateResult.json +15 -2
  215. data/schemas/applicationDashboardPost.json +183 -128
  216. data/schemas/applicationImportExecutions.json +3 -5
  217. data/schemas/applicationImportResult.json +674 -0
  218. data/schemas/applicationJobLog.json +129 -123
  219. data/schemas/applicationJobLogs.json +129 -123
  220. data/schemas/applicationKey.json +41 -41
  221. data/schemas/applicationKeyPatch.json +4 -4
  222. data/schemas/applicationKeyPost.json +36 -29
  223. data/schemas/applicationKeys.json +41 -41
  224. data/schemas/applicationSearchResult.json +10 -10
  225. data/schemas/applicationTemplates.json +9 -2
  226. data/schemas/applications.json +15 -2
  227. data/schemas/auditLog.json +2 -6
  228. data/schemas/auditLogs.json +2 -6
  229. data/schemas/authedDevice.json +3 -0
  230. data/schemas/credential.json +7 -0
  231. data/schemas/credentialLinkedResources.json +19724 -344
  232. data/schemas/credentialPatch.json +3 -0
  233. data/schemas/credentialPost.json +3 -0
  234. data/schemas/credentials.json +7 -0
  235. data/schemas/dashboard.json +203 -128
  236. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  237. data/schemas/dashboardPatch.json +183 -128
  238. data/schemas/dashboardPost.json +183 -128
  239. data/schemas/dashboardUpdateEventsResult.json +266 -0
  240. data/schemas/dashboards.json +203 -128
  241. data/schemas/dataTable.json +11 -0
  242. data/schemas/dataTableRowPatch.json +16 -0
  243. data/schemas/dataTableRowPost.json +39 -0
  244. data/schemas/dataTableRowPostResult.json +54 -0
  245. data/schemas/dataTables.json +11 -0
  246. data/schemas/device.json +259 -107
  247. data/schemas/deviceConnectionStatus.json +4 -0
  248. data/schemas/deviceLog.json +3 -0
  249. data/schemas/deviceRecipe.json +259 -108
  250. data/schemas/deviceRecipes.json +259 -108
  251. data/schemas/devices.json +287 -116
  252. data/schemas/edgeDeploymentRelease.json +4252 -39
  253. data/schemas/edgeDeployments.json +28 -0
  254. data/schemas/embeddedDeploymentRelease.json +2073 -0
  255. data/schemas/embeddedDeployments.json +25 -0
  256. data/schemas/error.json +14 -0
  257. data/schemas/event.json +4 -1
  258. data/schemas/eventPlusNewCount.json +4 -1
  259. data/schemas/events.json +4 -1
  260. data/schemas/experienceDomains.json +19 -0
  261. data/schemas/experienceEndpoint.json +19 -0
  262. data/schemas/experienceEndpoints.json +24 -0
  263. data/schemas/experienceLinkedResources.json +19728 -313
  264. data/schemas/experienceSlugs.json +19 -0
  265. data/schemas/experienceUsers.json +16 -2
  266. data/schemas/experienceVersions.json +25 -0
  267. data/schemas/experienceView.json +5 -0
  268. data/schemas/experienceViews.json +10 -0
  269. data/schemas/fileUploadPostResponse.json +92 -103
  270. data/schemas/files.json +5 -1
  271. data/schemas/flow.json +211 -46
  272. data/schemas/flowPatch.json +199 -46
  273. data/schemas/flowPost.json +199 -46
  274. data/schemas/flowStorageMetadata.json +2 -2
  275. data/schemas/flowVersion.json +450 -101
  276. data/schemas/flowVersionPost.json +199 -46
  277. data/schemas/flowVersions.json +9903 -113
  278. data/schemas/flows.json +9637 -46
  279. data/schemas/flowsImportPost.json +398 -92
  280. data/schemas/flowsImportResult.json +661 -147
  281. data/schemas/githubLogin.json +18 -0
  282. data/schemas/historicalSummaries.json +3 -2
  283. data/schemas/historicalSummary.json +3 -2
  284. data/schemas/instanceAuditLog.json +2 -6
  285. data/schemas/instanceAuditLogs.json +90 -1
  286. data/schemas/instanceCustomNode.json +41 -2
  287. data/schemas/instanceCustomNodePatch.json +59 -6
  288. data/schemas/instanceCustomNodePost.json +59 -6
  289. data/schemas/instanceCustomNodes.json +41 -2
  290. data/schemas/instanceOrg.json +4 -1
  291. data/schemas/instanceOrgInvite.json +102 -0
  292. data/schemas/instanceOrgInviteSent.json +12 -0
  293. data/schemas/instanceOrgInvites.json +145 -0
  294. data/schemas/instanceOrgMember.json +52 -0
  295. data/schemas/instanceOrgMemberPatch.json +2 -2
  296. data/schemas/instanceOrgMemberPost.json +4 -4
  297. data/schemas/instanceOrgMembers.json +105 -1
  298. data/schemas/instanceOrgPost.json +5 -5
  299. data/schemas/instanceOrgs.json +5 -2
  300. data/schemas/instanceSandbox.json +5 -1
  301. data/schemas/instanceSandboxes.json +9 -1
  302. data/schemas/integration.json +38 -39
  303. data/schemas/integrationPatch.json +8 -8
  304. data/schemas/integrationPost.json +8 -8
  305. data/schemas/integrations.json +38 -39
  306. data/schemas/jobEnqueuedResult.json +1 -1
  307. data/schemas/me.json +685 -88
  308. data/schemas/notebook.json +33 -21
  309. data/schemas/notebookExecutionLogs.json +20 -0
  310. data/schemas/notebookMinuteCounts.json +1 -1
  311. data/schemas/notebookPatch.json +29 -21
  312. data/schemas/notebookPost.json +29 -21
  313. data/schemas/notebooks.json +33 -21
  314. data/schemas/notificationRule.json +4 -0
  315. data/schemas/notificationRules.json +8 -0
  316. data/schemas/oauthClient.json +107 -0
  317. data/schemas/oauthClientPost.json +89 -0
  318. data/schemas/oauthDcrError.json +23 -0
  319. data/schemas/oauthError.json +31 -0
  320. data/schemas/org.json +16 -3
  321. data/schemas/orgInvite.json +2 -2
  322. data/schemas/orgInviteCollection.json +2 -2
  323. data/schemas/orgInvitePost.json +2 -2
  324. data/schemas/orgInvites.json +77 -82
  325. data/schemas/orgInvitesUser.json +44 -47
  326. data/schemas/orgMemberPatch.json +2 -2
  327. data/schemas/orgRoleInfo.json +2 -2
  328. data/schemas/orgs.json +16 -3
  329. data/schemas/paletteResponse.json +372 -364
  330. data/schemas/periodSummaries.json +1 -1
  331. data/schemas/recentItemList.json +226 -27
  332. data/schemas/resourceJob.json +33 -9
  333. data/schemas/resourceJobExecutionLogs.json +34 -20
  334. data/schemas/resourceJobExecutionOptions.json +1 -1
  335. data/schemas/resourceJobPatch.json +9 -9
  336. data/schemas/resourceJobPost.json +9 -9
  337. data/schemas/resourceJobs.json +33 -9
  338. data/schemas/samlResponse.json +18 -0
  339. data/schemas/tagValuesResponse.json +1 -2
  340. data/schemas/templateKeywords.json +1 -0
  341. data/schemas/timeSeriesData.json +36 -4
  342. data/schemas/userCredentials.json +18 -0
  343. data/schemas/userOauthToken.json +210 -0
  344. data/schemas/userOauthTokenPatch.json +123 -0
  345. data/schemas/userOauthTokenPost.json +197 -0
  346. data/schemas/userOauthTokens.json +251 -0
  347. data/schemas/userPost.json +18 -0
  348. data/schemas/validateContextError.json +71 -24
  349. data/schemas/validateContextSuccess.json +71 -24
  350. metadata +22 -1
@@ -29,6 +29,10 @@
29
29
  "type": "string",
30
30
  "format": "date-time"
31
31
  },
32
+ "lastExecutionRequested": {
33
+ "type": "string",
34
+ "format": "date-time"
35
+ },
32
36
  "name": {
33
37
  "type": "string",
34
38
  "minLength": 1,
@@ -57,8 +61,12 @@
57
61
  },
58
62
  "inputs": {
59
63
  "type": "array",
64
+ "maxItems": 100,
60
65
  "items": {
61
- "maxItems": 100,
66
+ "type": "object",
67
+ "discriminator": {
68
+ "propertyName": "inputType"
69
+ },
62
70
  "oneOf": [
63
71
  {
64
72
  "type": "object",
@@ -79,7 +87,7 @@
79
87
  "type": "string",
80
88
  "minLength": 4,
81
89
  "maxLength": 255,
82
- "pattern": ".*{{.+}}.*"
90
+ "pattern": ".*\\{\\{.+\\}\\}.*"
83
91
  }
84
92
  ]
85
93
  },
@@ -99,7 +107,7 @@
99
107
  "type": "string",
100
108
  "minLength": 4,
101
109
  "maxLength": 255,
102
- "pattern": ".*{{.+}}.*"
110
+ "pattern": ".*\\{\\{.+\\}\\}.*"
103
111
  }
104
112
  ]
105
113
  },
@@ -125,7 +133,7 @@
125
133
  "type": "string",
126
134
  "minLength": 4,
127
135
  "maxLength": 255,
128
- "pattern": ".*{{.+}}.*"
136
+ "pattern": ".*\\{\\{.+\\}\\}.*"
129
137
  }
130
138
  ]
131
139
  }
@@ -176,7 +184,7 @@
176
184
  "type": "string",
177
185
  "minLength": 4,
178
186
  "maxLength": 255,
179
- "pattern": ".*{{.+}}.*"
187
+ "pattern": ".*\\{\\{.+\\}\\}.*"
180
188
  }
181
189
  ]
182
190
  },
@@ -196,7 +204,7 @@
196
204
  "type": "string",
197
205
  "minLength": 4,
198
206
  "maxLength": 255,
199
- "pattern": ".*{{.+}}.*"
207
+ "pattern": ".*\\{\\{.+\\}\\}.*"
200
208
  }
201
209
  ]
202
210
  },
@@ -222,7 +230,7 @@
222
230
  "type": "string",
223
231
  "minLength": 4,
224
232
  "maxLength": 255,
225
- "pattern": ".*{{.+}}.*"
233
+ "pattern": ".*\\{\\{.+\\}\\}.*"
226
234
  }
227
235
  ]
228
236
  }
@@ -265,7 +273,7 @@
265
273
  "type": "string",
266
274
  "minLength": 4,
267
275
  "maxLength": 255,
268
- "pattern": ".*{{.+}}.*"
276
+ "pattern": ".*\\{\\{.+\\}\\}.*"
269
277
  }
270
278
  ]
271
279
  },
@@ -285,7 +293,7 @@
285
293
  "type": "string",
286
294
  "minLength": 4,
287
295
  "maxLength": 255,
288
- "pattern": ".*{{.+}}.*"
296
+ "pattern": ".*\\{\\{.+\\}\\}.*"
289
297
  }
290
298
  ]
291
299
  },
@@ -311,7 +319,7 @@
311
319
  "type": "string",
312
320
  "minLength": 4,
313
321
  "maxLength": 255,
314
- "pattern": ".*{{.+}}.*"
322
+ "pattern": ".*\\{\\{.+\\}\\}.*"
315
323
  }
316
324
  ]
317
325
  }
@@ -354,7 +362,7 @@
354
362
  "type": "string",
355
363
  "minLength": 4,
356
364
  "maxLength": 255,
357
- "pattern": ".*{{.+}}.*"
365
+ "pattern": ".*\\{\\{.+\\}\\}.*"
358
366
  }
359
367
  ]
360
368
  },
@@ -368,7 +376,7 @@
368
376
  "type": "string",
369
377
  "minLength": 4,
370
378
  "maxLength": 255,
371
- "pattern": ".*{{.+}}.*"
379
+ "pattern": ".*\\{\\{.+\\}\\}.*"
372
380
  }
373
381
  ]
374
382
  },
@@ -403,7 +411,7 @@
403
411
  "type": "string",
404
412
  "minLength": 4,
405
413
  "maxLength": 255,
406
- "pattern": ".*{{.+}}.*"
414
+ "pattern": ".*\\{\\{.+\\}\\}.*"
407
415
  }
408
416
  ]
409
417
  },
@@ -445,7 +453,7 @@
445
453
  "type": "string",
446
454
  "minLength": 4,
447
455
  "maxLength": 255,
448
- "pattern": ".*{{.+}}.*"
456
+ "pattern": ".*\\{\\{.+\\}\\}.*"
449
457
  }
450
458
  ]
451
459
  },
@@ -481,7 +489,7 @@
481
489
  "type": "string",
482
490
  "minLength": 4,
483
491
  "maxLength": 255,
484
- "pattern": ".*{{.+}}.*"
492
+ "pattern": ".*\\{\\{.+\\}\\}.*"
485
493
  }
486
494
  ]
487
495
  },
@@ -506,8 +514,12 @@
506
514
  },
507
515
  "outputs": {
508
516
  "type": "array",
517
+ "maxItems": 100,
509
518
  "items": {
510
- "maxItems": 100,
519
+ "type": "object",
520
+ "discriminator": {
521
+ "propertyName": "outputType"
522
+ },
511
523
  "oneOf": [
512
524
  {
513
525
  "type": "object",
@@ -528,7 +540,7 @@
528
540
  "type": "string",
529
541
  "minLength": 4,
530
542
  "maxLength": 255,
531
- "pattern": ".*{{.+}}.*"
543
+ "pattern": ".*\\{\\{.+\\}\\}.*"
532
544
  }
533
545
  ]
534
546
  },
@@ -542,7 +554,7 @@
542
554
  "type": "string",
543
555
  "minLength": 4,
544
556
  "maxLength": 255,
545
- "pattern": ".*{{.+}}.*"
557
+ "pattern": ".*\\{\\{.+\\}\\}.*"
546
558
  }
547
559
  ]
548
560
  },
@@ -579,7 +591,7 @@
579
591
  "type": "string",
580
592
  "minLength": 4,
581
593
  "maxLength": 255,
582
- "pattern": ".*{{.+}}.*"
594
+ "pattern": ".*\\{\\{.+\\}\\}.*"
583
595
  }
584
596
  ]
585
597
  },
@@ -623,7 +635,7 @@
623
635
  "type": "string",
624
636
  "minLength": 4,
625
637
  "maxLength": 255,
626
- "pattern": ".*{{.+}}.*"
638
+ "pattern": ".*\\{\\{.+\\}\\}.*"
627
639
  }
628
640
  ]
629
641
  },
@@ -701,7 +713,7 @@
701
713
  "type": "string",
702
714
  "minLength": 4,
703
715
  "maxLength": 255,
704
- "pattern": ".*{{.+}}.*"
716
+ "pattern": ".*\\{\\{.+\\}\\}.*"
705
717
  }
706
718
  ]
707
719
  }
@@ -20,6 +20,10 @@
20
20
  "instance"
21
21
  ]
22
22
  },
23
+ "instanceId": {
24
+ "type": "string",
25
+ "pattern": "^[A-Fa-f\\d]{24}$"
26
+ },
23
27
  "creationDate": {
24
28
  "type": "string",
25
29
  "format": "date-time"
@@ -27,6 +27,10 @@
27
27
  "instance"
28
28
  ]
29
29
  },
30
+ "instanceId": {
31
+ "type": "string",
32
+ "pattern": "^[A-Fa-f\\d]{24}$"
33
+ },
30
34
  "creationDate": {
31
35
  "type": "string",
32
36
  "format": "date-time"
@@ -207,6 +211,10 @@
207
211
  "enum": [
208
212
  "instance"
209
213
  ]
214
+ },
215
+ "instanceId": {
216
+ "type": "string",
217
+ "pattern": "^[A-Fa-f\\d]{24}$"
210
218
  }
211
219
  }
212
220
  }
@@ -0,0 +1,107 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "client_id": {
6
+ "type": "string",
7
+ "description": "Unique client identifier"
8
+ },
9
+ "client_secret": {
10
+ "type": "string",
11
+ "description": "Client secret (only included in registration response)"
12
+ },
13
+ "client_id_issued_at": {
14
+ "type": "integer",
15
+ "description": "Time at which the client_id was issued (seconds since epoch)"
16
+ },
17
+ "client_secret_expires_at": {
18
+ "type": "integer",
19
+ "description": "Time at which the client_secret will expire or 0 if it will not expire (seconds since epoch)"
20
+ },
21
+ "client_name": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 255,
25
+ "description": "Human-readable name of the client"
26
+ },
27
+ "client_uri": {
28
+ "type": "string",
29
+ "format": "uri",
30
+ "maxLength": 1024
31
+ },
32
+ "logo_uri": {
33
+ "type": "string",
34
+ "format": "uri",
35
+ "maxLength": 32768,
36
+ "description": "URL of the client's logo. May be an http(s) URL or a data:image/* URI."
37
+ },
38
+ "redirect_uris": {
39
+ "type": "array",
40
+ "minItems": 1,
41
+ "maxItems": 25,
42
+ "items": {
43
+ "type": "string",
44
+ "format": "uri",
45
+ "maxLength": 1024
46
+ },
47
+ "description": "Array of redirect URIs for use in redirect-based flows"
48
+ },
49
+ "grant_types": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string",
53
+ "enum": [
54
+ "authorization_code",
55
+ "refresh_token"
56
+ ]
57
+ },
58
+ "description": "Array of OAuth 2.0 grant types"
59
+ },
60
+ "response_types": {
61
+ "type": "array",
62
+ "items": {
63
+ "type": "string",
64
+ "enum": [
65
+ "code"
66
+ ]
67
+ },
68
+ "description": "Array of OAuth 2.0 response types"
69
+ },
70
+ "token_endpoint_auth_method": {
71
+ "type": "string",
72
+ "description": "Authentication method for the token endpoint",
73
+ "enum": [
74
+ "client_secret_basic",
75
+ "client_secret_post",
76
+ "none"
77
+ ]
78
+ },
79
+ "scope": {
80
+ "type": "string",
81
+ "maxLength": 1024,
82
+ "description": "Space-separated list of requested scope values"
83
+ },
84
+ "tos_uri": {
85
+ "type": "string",
86
+ "format": "uri",
87
+ "maxLength": 1024
88
+ },
89
+ "policy_uri": {
90
+ "type": "string",
91
+ "format": "uri",
92
+ "maxLength": 1024
93
+ },
94
+ "creationDate": {
95
+ "type": "string",
96
+ "format": "date-time"
97
+ },
98
+ "lastUpdated": {
99
+ "type": "string",
100
+ "format": "date-time"
101
+ },
102
+ "id": {
103
+ "type": "string",
104
+ "pattern": "^[A-Fa-f\\d]{24}$"
105
+ }
106
+ }
107
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "client_name": {
6
+ "type": "string",
7
+ "minLength": 1,
8
+ "maxLength": 255,
9
+ "description": "Human-readable name of the client"
10
+ },
11
+ "client_uri": {
12
+ "type": "string",
13
+ "format": "uri",
14
+ "maxLength": 1024
15
+ },
16
+ "logo_uri": {
17
+ "type": "string",
18
+ "format": "uri",
19
+ "maxLength": 32768,
20
+ "description": "URL of the client's logo. May be an http(s) URL or a data:image/* URI."
21
+ },
22
+ "redirect_uris": {
23
+ "type": "array",
24
+ "minItems": 1,
25
+ "maxItems": 25,
26
+ "items": {
27
+ "type": "string",
28
+ "format": "uri",
29
+ "maxLength": 1024
30
+ },
31
+ "description": "Array of redirect URIs for use in redirect-based flows"
32
+ },
33
+ "grant_types": {
34
+ "type": "array",
35
+ "items": {
36
+ "type": "string",
37
+ "enum": [
38
+ "authorization_code",
39
+ "refresh_token"
40
+ ]
41
+ },
42
+ "description": "Array of OAuth 2.0 grant types"
43
+ },
44
+ "response_types": {
45
+ "type": "array",
46
+ "items": {
47
+ "type": "string",
48
+ "enum": [
49
+ "code"
50
+ ]
51
+ },
52
+ "description": "Array of OAuth 2.0 response types"
53
+ },
54
+ "token_endpoint_auth_method": {
55
+ "type": "string",
56
+ "description": "Authentication method for the token endpoint",
57
+ "enum": [
58
+ "client_secret_basic",
59
+ "client_secret_post",
60
+ "none"
61
+ ]
62
+ },
63
+ "scope": {
64
+ "type": "string",
65
+ "maxLength": 1024,
66
+ "description": "Space-separated list of requested scope values"
67
+ },
68
+ "contacts": {
69
+ "type": "array",
70
+ "maxItems": 10,
71
+ "items": {
72
+ "type": "string",
73
+ "format": "email",
74
+ "maxLength": 1024
75
+ },
76
+ "description": "Contact email addresses (stored but not returned in responses)"
77
+ },
78
+ "tos_uri": {
79
+ "type": "string",
80
+ "format": "uri",
81
+ "maxLength": 1024
82
+ },
83
+ "policy_uri": {
84
+ "type": "string",
85
+ "format": "uri",
86
+ "maxLength": 1024
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "error": {
6
+ "type": "string",
7
+ "enum": [
8
+ "invalid_redirect_uri",
9
+ "invalid_client_metadata",
10
+ "invalid_software_statement",
11
+ "unapproved_software_statement"
12
+ ],
13
+ "description": "OAuth 2.0 DCR error code"
14
+ },
15
+ "error_description": {
16
+ "type": "string",
17
+ "description": "Human-readable error description"
18
+ }
19
+ },
20
+ "required": [
21
+ "error"
22
+ ]
23
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "error": {
6
+ "type": "string",
7
+ "enum": [
8
+ "invalid_request",
9
+ "invalid_client",
10
+ "invalid_grant",
11
+ "unauthorized_client",
12
+ "unsupported_grant_type",
13
+ "invalid_scope",
14
+ "invalid_target",
15
+ "temporarily_unavailable"
16
+ ],
17
+ "description": "OAuth 2.0 error code"
18
+ },
19
+ "error_description": {
20
+ "type": "string",
21
+ "description": "Human-readable error description"
22
+ },
23
+ "error_uri": {
24
+ "type": "string",
25
+ "description": "URI identifying a human-readable web page with information about the error"
26
+ }
27
+ },
28
+ "required": [
29
+ "error"
30
+ ]
31
+ }
data/schemas/org.json CHANGED
@@ -27,6 +27,16 @@
27
27
  "type": "string",
28
28
  "maxLength": 32767
29
29
  },
30
+ "_currentRole": {
31
+ "type": "string",
32
+ "enum": [
33
+ "admin",
34
+ "edit",
35
+ "collaborate",
36
+ "view",
37
+ "none"
38
+ ]
39
+ },
30
40
  "members": {
31
41
  "type": "array",
32
42
  "items": {
@@ -89,7 +99,7 @@
89
99
  ],
90
100
  "additionalProperties": false
91
101
  },
92
- "maxItems": 1000
102
+ "maxItems": 100
93
103
  },
94
104
  "dashboardRoles": {
95
105
  "type": "array",
@@ -115,7 +125,7 @@
115
125
  ],
116
126
  "additionalProperties": false
117
127
  },
118
- "maxItems": 1000
128
+ "maxItems": 100
119
129
  },
120
130
  "twoFactorAuthEnabled": {
121
131
  "type": "boolean"
@@ -530,7 +540,7 @@
530
540
  "type": "integer"
531
541
  },
532
542
  "minutesThisPeriod": {
533
- "type": "integer"
543
+ "type": "number"
534
544
  },
535
545
  "runsThisPeriod": {
536
546
  "type": "integer"
@@ -581,6 +591,9 @@
581
591
  "minLength": 3
582
592
  }
583
593
  },
594
+ "auditLogEnabled": {
595
+ "type": "boolean"
596
+ },
584
597
  "disabledAt": {
585
598
  "oneOf": [
586
599
  {
@@ -45,7 +45,7 @@
45
45
  ],
46
46
  "additionalProperties": false
47
47
  },
48
- "maxItems": 1000
48
+ "maxItems": 100
49
49
  },
50
50
  "dashboardRoles": {
51
51
  "type": "array",
@@ -71,7 +71,7 @@
71
71
  ],
72
72
  "additionalProperties": false
73
73
  },
74
- "maxItems": 1000
74
+ "maxItems": 100
75
75
  },
76
76
  "inviteDate": {
77
77
  "type": "string",
@@ -52,7 +52,7 @@
52
52
  ],
53
53
  "additionalProperties": false
54
54
  },
55
- "maxItems": 1000
55
+ "maxItems": 100
56
56
  },
57
57
  "dashboardRoles": {
58
58
  "type": "array",
@@ -78,7 +78,7 @@
78
78
  ],
79
79
  "additionalProperties": false
80
80
  },
81
- "maxItems": 1000
81
+ "maxItems": 100
82
82
  },
83
83
  "inviteDate": {
84
84
  "type": "string",
@@ -41,7 +41,7 @@
41
41
  ],
42
42
  "additionalProperties": false
43
43
  },
44
- "maxItems": 1000
44
+ "maxItems": 100
45
45
  },
46
46
  "dashboardRoles": {
47
47
  "type": "array",
@@ -67,7 +67,7 @@
67
67
  ],
68
68
  "additionalProperties": false
69
69
  },
70
- "maxItems": 1000
70
+ "maxItems": 100
71
71
  },
72
72
  "disallowTransfer": {
73
73
  "type": "boolean"