losant_rest 2.0.0 → 2.1.0

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 (232) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +2454 -666
  3. data/docs/application.md +21 -21
  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 +2 -2
  10. data/docs/applicationDashboard.md +4 -4
  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 +4 -4
  19. data/docs/auditLog.md +1 -1
  20. data/docs/auditLogs.md +1 -1
  21. data/docs/credential.md +4 -4
  22. data/docs/credentials.md +2 -2
  23. data/docs/dashboard.md +3 -3
  24. data/docs/dashboards.md +2 -2
  25. data/docs/data.md +3 -3
  26. data/docs/dataTable.md +5 -5
  27. data/docs/dataTableRow.md +3 -3
  28. data/docs/dataTableRows.md +6 -6
  29. data/docs/dataTables.md +2 -2
  30. data/docs/device.md +14 -14
  31. data/docs/deviceAttribute.md +3 -3
  32. data/docs/deviceAttributes.md +2 -2
  33. data/docs/deviceRecipe.md +4 -4
  34. data/docs/deviceRecipes.md +2 -2
  35. data/docs/devices.md +14 -14
  36. data/docs/edgeDeployment.md +1 -1
  37. data/docs/edgeDeployments.md +4 -4
  38. data/docs/embeddedDeployment.md +1 -1
  39. data/docs/embeddedDeployments.md +5 -5
  40. data/docs/event.md +3 -3
  41. data/docs/events.md +6 -6
  42. data/docs/experience.md +2 -2
  43. data/docs/experienceDomain.md +3 -3
  44. data/docs/experienceDomains.md +2 -2
  45. data/docs/experienceEndpoint.md +4 -4
  46. data/docs/experienceEndpoints.md +3 -3
  47. data/docs/experienceGroup.md +3 -3
  48. data/docs/experienceGroups.md +2 -2
  49. data/docs/experienceSlug.md +3 -3
  50. data/docs/experienceSlugs.md +2 -2
  51. data/docs/experienceUser.md +3 -3
  52. data/docs/experienceUsers.md +2 -2
  53. data/docs/experienceVersion.md +3 -3
  54. data/docs/experienceVersions.md +2 -2
  55. data/docs/experienceView.md +4 -4
  56. data/docs/experienceViews.md +2 -2
  57. data/docs/file.md +5 -5
  58. data/docs/files.md +2 -2
  59. data/docs/flow.md +11 -11
  60. data/docs/flowVersion.md +6 -6
  61. data/docs/flowVersions.md +3 -3
  62. data/docs/flows.md +5 -5
  63. data/docs/instance.md +8 -8
  64. data/docs/instanceApiToken.md +1 -1
  65. data/docs/instanceApiTokens.md +1 -1
  66. data/docs/instanceAuditLog.md +1 -1
  67. data/docs/instanceAuditLogs.md +1 -1
  68. data/docs/instanceCustomNode.md +5 -5
  69. data/docs/instanceCustomNodes.md +2 -2
  70. data/docs/instanceMember.md +1 -1
  71. data/docs/instanceMembers.md +1 -1
  72. data/docs/instanceNotificationRule.md +5 -5
  73. data/docs/instanceNotificationRules.md +2 -2
  74. data/docs/instanceOrg.md +7 -7
  75. data/docs/instanceOrgInvite.md +1 -1
  76. data/docs/instanceOrgInvites.md +1 -1
  77. data/docs/instanceOrgMember.md +1 -1
  78. data/docs/instanceOrgMembers.md +1 -1
  79. data/docs/instanceOrgs.md +2 -2
  80. data/docs/instanceSandbox.md +7 -7
  81. data/docs/instanceSandboxes.md +1 -1
  82. data/docs/instances.md +1 -1
  83. data/docs/integration.md +3 -3
  84. data/docs/integrations.md +2 -2
  85. data/docs/me.md +20 -20
  86. data/docs/notebook.md +9 -9
  87. data/docs/notebooks.md +2 -2
  88. data/docs/org.md +13 -13
  89. data/docs/orgs.md +2 -2
  90. data/docs/privateFile.md +5 -5
  91. data/docs/privateFiles.md +2 -2
  92. data/docs/resourceJob.md +6 -6
  93. data/docs/resourceJobs.md +2 -2
  94. data/docs/userApiToken.md +3 -3
  95. data/docs/userApiTokens.md +2 -2
  96. data/docs/userOauthToken.md +125 -0
  97. data/docs/userOauthTokens.md +87 -0
  98. data/docs/webhook.md +3 -3
  99. data/docs/webhooks.md +2 -2
  100. data/lib/platform_rest/application.rb +20 -20
  101. data/lib/platform_rest/application_api_token.rb +1 -1
  102. data/lib/platform_rest/application_api_tokens.rb +1 -1
  103. data/lib/platform_rest/application_certificate.rb +3 -3
  104. data/lib/platform_rest/application_certificate_authorities.rb +2 -2
  105. data/lib/platform_rest/application_certificate_authority.rb +3 -3
  106. data/lib/platform_rest/application_certificates.rb +2 -2
  107. data/lib/platform_rest/application_dashboard.rb +4 -4
  108. data/lib/platform_rest/application_dashboards.rb +2 -2
  109. data/lib/platform_rest/application_job_log.rb +1 -1
  110. data/lib/platform_rest/application_job_logs.rb +1 -1
  111. data/lib/platform_rest/application_key.rb +3 -3
  112. data/lib/platform_rest/application_keys.rb +2 -2
  113. data/lib/platform_rest/application_template.rb +1 -1
  114. data/lib/platform_rest/application_templates.rb +3 -3
  115. data/lib/platform_rest/applications.rb +3 -3
  116. data/lib/platform_rest/audit_log.rb +1 -1
  117. data/lib/platform_rest/audit_logs.rb +1 -1
  118. data/lib/platform_rest/client.rb +10 -2
  119. data/lib/platform_rest/credential.rb +4 -4
  120. data/lib/platform_rest/credentials.rb +2 -2
  121. data/lib/platform_rest/dashboard.rb +3 -3
  122. data/lib/platform_rest/dashboards.rb +2 -2
  123. data/lib/platform_rest/data.rb +3 -3
  124. data/lib/platform_rest/data_table.rb +5 -5
  125. data/lib/platform_rest/data_table_row.rb +3 -3
  126. data/lib/platform_rest/data_table_rows.rb +6 -6
  127. data/lib/platform_rest/data_tables.rb +2 -2
  128. data/lib/platform_rest/device.rb +14 -14
  129. data/lib/platform_rest/device_attribute.rb +3 -3
  130. data/lib/platform_rest/device_attributes.rb +2 -2
  131. data/lib/platform_rest/device_recipe.rb +4 -4
  132. data/lib/platform_rest/device_recipes.rb +2 -2
  133. data/lib/platform_rest/devices.rb +14 -14
  134. data/lib/platform_rest/edge_deployment.rb +1 -1
  135. data/lib/platform_rest/edge_deployments.rb +4 -4
  136. data/lib/platform_rest/embedded_deployment.rb +1 -1
  137. data/lib/platform_rest/embedded_deployments.rb +5 -5
  138. data/lib/platform_rest/event.rb +3 -3
  139. data/lib/platform_rest/events.rb +6 -6
  140. data/lib/platform_rest/experience.rb +2 -2
  141. data/lib/platform_rest/experience_domain.rb +3 -3
  142. data/lib/platform_rest/experience_domains.rb +2 -2
  143. data/lib/platform_rest/experience_endpoint.rb +4 -4
  144. data/lib/platform_rest/experience_endpoints.rb +3 -3
  145. data/lib/platform_rest/experience_group.rb +3 -3
  146. data/lib/platform_rest/experience_groups.rb +2 -2
  147. data/lib/platform_rest/experience_slug.rb +3 -3
  148. data/lib/platform_rest/experience_slugs.rb +2 -2
  149. data/lib/platform_rest/experience_user.rb +3 -3
  150. data/lib/platform_rest/experience_users.rb +2 -2
  151. data/lib/platform_rest/experience_version.rb +3 -3
  152. data/lib/platform_rest/experience_versions.rb +2 -2
  153. data/lib/platform_rest/experience_view.rb +4 -4
  154. data/lib/platform_rest/experience_views.rb +2 -2
  155. data/lib/platform_rest/file.rb +4 -4
  156. data/lib/platform_rest/files.rb +2 -2
  157. data/lib/platform_rest/flow.rb +11 -11
  158. data/lib/platform_rest/flow_version.rb +6 -6
  159. data/lib/platform_rest/flow_versions.rb +3 -3
  160. data/lib/platform_rest/flows.rb +5 -5
  161. data/lib/platform_rest/instance.rb +8 -8
  162. data/lib/platform_rest/instance_api_token.rb +1 -1
  163. data/lib/platform_rest/instance_api_tokens.rb +1 -1
  164. data/lib/platform_rest/instance_audit_log.rb +1 -1
  165. data/lib/platform_rest/instance_audit_logs.rb +1 -1
  166. data/lib/platform_rest/instance_custom_node.rb +5 -5
  167. data/lib/platform_rest/instance_custom_nodes.rb +2 -2
  168. data/lib/platform_rest/instance_member.rb +1 -1
  169. data/lib/platform_rest/instance_members.rb +1 -1
  170. data/lib/platform_rest/instance_notification_rule.rb +5 -5
  171. data/lib/platform_rest/instance_notification_rules.rb +2 -2
  172. data/lib/platform_rest/instance_org.rb +7 -7
  173. data/lib/platform_rest/instance_org_invite.rb +1 -1
  174. data/lib/platform_rest/instance_org_invites.rb +1 -1
  175. data/lib/platform_rest/instance_org_member.rb +1 -1
  176. data/lib/platform_rest/instance_org_members.rb +1 -1
  177. data/lib/platform_rest/instance_orgs.rb +2 -2
  178. data/lib/platform_rest/instance_sandbox.rb +7 -7
  179. data/lib/platform_rest/instance_sandboxes.rb +1 -1
  180. data/lib/platform_rest/instances.rb +1 -1
  181. data/lib/platform_rest/integration.rb +3 -3
  182. data/lib/platform_rest/integrations.rb +2 -2
  183. data/lib/platform_rest/me.rb +20 -20
  184. data/lib/platform_rest/notebook.rb +8 -8
  185. data/lib/platform_rest/notebooks.rb +2 -2
  186. data/lib/platform_rest/org.rb +13 -13
  187. data/lib/platform_rest/orgs.rb +2 -2
  188. data/lib/platform_rest/private_file.rb +4 -4
  189. data/lib/platform_rest/private_files.rb +2 -2
  190. data/lib/platform_rest/resource_job.rb +6 -6
  191. data/lib/platform_rest/resource_jobs.rb +2 -2
  192. data/lib/platform_rest/user_api_token.rb +3 -3
  193. data/lib/platform_rest/user_api_tokens.rb +2 -2
  194. data/lib/platform_rest/user_oauth_token.rb +170 -0
  195. data/lib/platform_rest/user_oauth_tokens.rb +132 -0
  196. data/lib/platform_rest/version.rb +1 -1
  197. data/lib/platform_rest/webhook.rb +3 -3
  198. data/lib/platform_rest/webhooks.rb +2 -2
  199. data/lib/platform_rest.rb +2 -0
  200. data/schemas/apiToken.json +100 -0
  201. data/schemas/apiTokenPatch.json +100 -0
  202. data/schemas/apiTokenPost.json +118 -0
  203. data/schemas/apiTokens.json +100 -0
  204. data/schemas/applicationDashboardPost.json +4 -0
  205. data/schemas/dashboard.json +4 -0
  206. data/schemas/dashboardPatch.json +4 -0
  207. data/schemas/dashboardPost.json +4 -0
  208. data/schemas/dashboards.json +4 -0
  209. data/schemas/githubLogin.json +18 -0
  210. data/schemas/instanceOrgMemberPatch.json +2 -2
  211. data/schemas/instanceOrgMemberPost.json +4 -4
  212. data/schemas/instanceOrgPost.json +4 -4
  213. data/schemas/oauthClient.json +107 -0
  214. data/schemas/oauthClientPost.json +89 -0
  215. data/schemas/oauthDcrError.json +23 -0
  216. data/schemas/oauthError.json +31 -0
  217. data/schemas/org.json +2 -2
  218. data/schemas/orgInvite.json +2 -2
  219. data/schemas/orgInviteCollection.json +2 -2
  220. data/schemas/orgInvitePost.json +2 -2
  221. data/schemas/orgInvites.json +2 -2
  222. data/schemas/orgMemberPatch.json +2 -2
  223. data/schemas/orgRoleInfo.json +2 -2
  224. data/schemas/orgs.json +2 -2
  225. data/schemas/samlResponse.json +18 -0
  226. data/schemas/userCredentials.json +18 -0
  227. data/schemas/userOauthToken.json +207 -0
  228. data/schemas/userOauthTokenPatch.json +123 -0
  229. data/schemas/userOauthTokenPost.json +197 -0
  230. data/schemas/userOauthTokens.json +248 -0
  231. data/schemas/userPost.json +18 -0
  232. metadata +13 -1
@@ -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
@@ -89,7 +89,7 @@
89
89
  ],
90
90
  "additionalProperties": false
91
91
  },
92
- "maxItems": 1000
92
+ "maxItems": 100
93
93
  },
94
94
  "dashboardRoles": {
95
95
  "type": "array",
@@ -115,7 +115,7 @@
115
115
  ],
116
116
  "additionalProperties": false
117
117
  },
118
- "maxItems": 1000
118
+ "maxItems": 100
119
119
  },
120
120
  "twoFactorAuthEnabled": {
121
121
  "type": "boolean"
@@ -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"
@@ -51,7 +51,7 @@
51
51
  ],
52
52
  "additionalProperties": false
53
53
  },
54
- "maxItems": 1000
54
+ "maxItems": 100
55
55
  },
56
56
  "dashboardRoles": {
57
57
  "type": "array",
@@ -77,7 +77,7 @@
77
77
  ],
78
78
  "additionalProperties": false
79
79
  },
80
- "maxItems": 1000
80
+ "maxItems": 100
81
81
  },
82
82
  "inviteDate": {
83
83
  "type": "string",
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "additionalProperties": false
42
42
  },
43
- "maxItems": 1000
43
+ "maxItems": 100
44
44
  },
45
45
  "dashboardRoles": {
46
46
  "type": "array",
@@ -66,7 +66,7 @@
66
66
  ],
67
67
  "additionalProperties": false
68
68
  },
69
- "maxItems": 1000
69
+ "maxItems": 100
70
70
  }
71
71
  },
72
72
  "additionalProperties": false,
@@ -36,7 +36,7 @@
36
36
  ],
37
37
  "additionalProperties": false
38
38
  },
39
- "maxItems": 1000
39
+ "maxItems": 100
40
40
  },
41
41
  "dashboardRoles": {
42
42
  "type": "array",
@@ -62,7 +62,7 @@
62
62
  ],
63
63
  "additionalProperties": false
64
64
  },
65
- "maxItems": 1000
65
+ "maxItems": 100
66
66
  }
67
67
  },
68
68
  "additionalProperties": false
data/schemas/orgs.json CHANGED
@@ -96,7 +96,7 @@
96
96
  ],
97
97
  "additionalProperties": false
98
98
  },
99
- "maxItems": 1000
99
+ "maxItems": 100
100
100
  },
101
101
  "dashboardRoles": {
102
102
  "type": "array",
@@ -122,7 +122,7 @@
122
122
  ],
123
123
  "additionalProperties": false
124
124
  },
125
- "maxItems": 1000
125
+ "maxItems": 100
126
126
  },
127
127
  "twoFactorAuthEnabled": {
128
128
  "type": "boolean"
@@ -23,6 +23,7 @@
23
23
  "type": "string",
24
24
  "enum": [
25
25
  "all.Application",
26
+ "all.Application.bounded",
26
27
  "all.Application.read",
27
28
  "all.Application.cli",
28
29
  "all.Device",
@@ -349,7 +350,11 @@
349
350
  "type": "string",
350
351
  "enum": [
351
352
  "all.Organization",
353
+ "all.Organization.bounded",
352
354
  "all.Organization.read",
355
+ "only.Organization",
356
+ "only.Organization.bounded",
357
+ "only.Organization.read",
353
358
  "applications.*",
354
359
  "auditLog.*",
355
360
  "auditLogs.*",
@@ -392,6 +397,7 @@
392
397
  "type": "string",
393
398
  "enum": [
394
399
  "all.Instance",
400
+ "all.Instance.bounded",
395
401
  "all.Instance.read",
396
402
  "instance.*",
397
403
  "instance.get",
@@ -480,8 +486,12 @@
480
486
  "type": "string",
481
487
  "enum": [
482
488
  "all.User",
489
+ "all.User.bounded",
483
490
  "all.User.read",
484
491
  "all.User.cli",
492
+ "only.User",
493
+ "only.User.bounded",
494
+ "only.User.read",
485
495
  "userApiToken.*",
486
496
  "userApiToken.get",
487
497
  "userApiToken.patch",
@@ -489,6 +499,13 @@
489
499
  "userApiTokens.*",
490
500
  "userApiTokens.get",
491
501
  "userApiTokens.post",
502
+ "userOauthToken.*",
503
+ "userOauthToken.get",
504
+ "userOauthToken.patch",
505
+ "userOauthToken.delete",
506
+ "userOauthTokens.*",
507
+ "userOauthTokens.get",
508
+ "userOauthTokens.post",
492
509
  "applicationTemplate.*",
493
510
  "applicationTemplate.get",
494
511
  "applicationTemplates.*",
@@ -518,6 +535,7 @@
518
535
  "me.invite",
519
536
  "me.invites",
520
537
  "me.respondToInvite",
538
+ "me.refreshToken",
521
539
  "orgs.*",
522
540
  "orgs.get",
523
541
  "orgs.post"
@@ -27,6 +27,7 @@
27
27
  "type": "string",
28
28
  "enum": [
29
29
  "all.Application",
30
+ "all.Application.bounded",
30
31
  "all.Application.read",
31
32
  "all.Application.cli",
32
33
  "all.Device",
@@ -353,7 +354,11 @@
353
354
  "type": "string",
354
355
  "enum": [
355
356
  "all.Organization",
357
+ "all.Organization.bounded",
356
358
  "all.Organization.read",
359
+ "only.Organization",
360
+ "only.Organization.bounded",
361
+ "only.Organization.read",
357
362
  "applications.*",
358
363
  "auditLog.*",
359
364
  "auditLogs.*",
@@ -396,6 +401,7 @@
396
401
  "type": "string",
397
402
  "enum": [
398
403
  "all.Instance",
404
+ "all.Instance.bounded",
399
405
  "all.Instance.read",
400
406
  "instance.*",
401
407
  "instance.get",
@@ -484,8 +490,12 @@
484
490
  "type": "string",
485
491
  "enum": [
486
492
  "all.User",
493
+ "all.User.bounded",
487
494
  "all.User.read",
488
495
  "all.User.cli",
496
+ "only.User",
497
+ "only.User.bounded",
498
+ "only.User.read",
489
499
  "userApiToken.*",
490
500
  "userApiToken.get",
491
501
  "userApiToken.patch",
@@ -493,6 +503,13 @@
493
503
  "userApiTokens.*",
494
504
  "userApiTokens.get",
495
505
  "userApiTokens.post",
506
+ "userOauthToken.*",
507
+ "userOauthToken.get",
508
+ "userOauthToken.patch",
509
+ "userOauthToken.delete",
510
+ "userOauthTokens.*",
511
+ "userOauthTokens.get",
512
+ "userOauthTokens.post",
496
513
  "applicationTemplate.*",
497
514
  "applicationTemplate.get",
498
515
  "applicationTemplates.*",
@@ -522,6 +539,7 @@
522
539
  "me.invite",
523
540
  "me.invites",
524
541
  "me.respondToInvite",
542
+ "me.refreshToken",
525
543
  "orgs.*",
526
544
  "orgs.get",
527
545
  "orgs.post"