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.
- checksums.yaml +4 -4
- data/docs/_schemas.md +140925 -67028
- data/docs/application.md +27 -27
- data/docs/applicationApiToken.md +1 -1
- data/docs/applicationApiTokens.md +1 -1
- data/docs/applicationCertificate.md +3 -3
- data/docs/applicationCertificateAuthorities.md +2 -2
- data/docs/applicationCertificateAuthority.md +3 -3
- data/docs/applicationCertificates.md +5 -4
- data/docs/applicationDashboard.md +5 -5
- data/docs/applicationDashboards.md +2 -2
- data/docs/applicationJobLog.md +1 -1
- data/docs/applicationJobLogs.md +1 -1
- data/docs/applicationKey.md +3 -3
- data/docs/applicationKeys.md +2 -2
- data/docs/applicationTemplate.md +1 -1
- data/docs/applicationTemplates.md +3 -3
- data/docs/applications.md +5 -5
- data/docs/auditLog.md +1 -1
- data/docs/auditLogs.md +1 -1
- data/docs/auth.md +1 -1
- data/docs/credential.md +4 -4
- data/docs/credentials.md +2 -2
- data/docs/dashboard.md +4 -4
- data/docs/dashboards.md +3 -2
- data/docs/data.md +3 -3
- data/docs/dataTable.md +5 -5
- data/docs/dataTableRow.md +4 -4
- data/docs/dataTableRows.md +9 -9
- data/docs/dataTables.md +2 -2
- data/docs/device.md +15 -15
- data/docs/deviceAttribute.md +3 -3
- data/docs/deviceAttributes.md +2 -2
- data/docs/deviceRecipe.md +4 -4
- data/docs/deviceRecipes.md +2 -2
- data/docs/devices.md +14 -14
- data/docs/edgeDeployment.md +1 -1
- data/docs/edgeDeployments.md +7 -7
- data/docs/embeddedDeployment.md +1 -1
- data/docs/embeddedDeployments.md +8 -8
- data/docs/event.md +3 -3
- data/docs/events.md +6 -6
- data/docs/experience.md +3 -3
- data/docs/experienceDomain.md +3 -3
- data/docs/experienceDomains.md +2 -2
- data/docs/experienceEndpoint.md +4 -4
- data/docs/experienceEndpoints.md +3 -3
- data/docs/experienceGroup.md +3 -3
- data/docs/experienceGroups.md +2 -2
- data/docs/experienceSlug.md +3 -3
- data/docs/experienceSlugs.md +2 -2
- data/docs/experienceUser.md +3 -3
- data/docs/experienceUsers.md +2 -2
- data/docs/experienceVersion.md +3 -3
- data/docs/experienceVersions.md +2 -2
- data/docs/experienceView.md +4 -4
- data/docs/experienceViews.md +2 -2
- data/docs/file.md +9 -9
- data/docs/files.md +3 -3
- data/docs/flow.md +11 -11
- data/docs/flowVersion.md +6 -6
- data/docs/flowVersions.md +4 -4
- data/docs/flows.md +5 -5
- data/docs/instance.md +8 -8
- data/docs/instanceApiToken.md +1 -1
- data/docs/instanceApiTokens.md +2 -2
- data/docs/instanceAuditLog.md +1 -1
- data/docs/instanceAuditLogs.md +1 -1
- data/docs/instanceCustomNode.md +5 -5
- data/docs/instanceCustomNodes.md +2 -2
- data/docs/instanceMember.md +2 -2
- data/docs/instanceMembers.md +1 -1
- data/docs/instanceNotificationRule.md +5 -5
- data/docs/instanceNotificationRules.md +2 -2
- data/docs/instanceOrg.md +8 -8
- data/docs/instanceOrgInvite.md +3 -3
- data/docs/instanceOrgInvites.md +2 -2
- data/docs/instanceOrgMember.md +1 -1
- data/docs/instanceOrgMembers.md +3 -2
- data/docs/instanceOrgs.md +3 -3
- data/docs/instanceSandbox.md +7 -7
- data/docs/instanceSandboxes.md +1 -1
- data/docs/instances.md +1 -1
- data/docs/integration.md +3 -3
- data/docs/integrations.md +2 -2
- data/docs/me.md +21 -21
- data/docs/notebook.md +10 -10
- data/docs/notebooks.md +2 -2
- data/docs/org.md +14 -14
- data/docs/orgs.md +2 -2
- data/docs/privateFile.md +9 -9
- data/docs/privateFiles.md +3 -3
- data/docs/resourceJob.md +8 -8
- data/docs/resourceJobs.md +2 -2
- data/docs/userApiToken.md +3 -3
- data/docs/userApiTokens.md +4 -4
- data/docs/userOauthToken.md +125 -0
- data/docs/userOauthTokens.md +87 -0
- data/docs/webhook.md +3 -3
- data/docs/webhooks.md +2 -2
- data/lib/platform_rest/application.rb +21 -21
- data/lib/platform_rest/application_api_token.rb +1 -1
- data/lib/platform_rest/application_api_tokens.rb +1 -1
- data/lib/platform_rest/application_certificate.rb +3 -3
- data/lib/platform_rest/application_certificate_authorities.rb +2 -2
- data/lib/platform_rest/application_certificate_authority.rb +3 -3
- data/lib/platform_rest/application_certificates.rb +7 -4
- data/lib/platform_rest/application_dashboard.rb +5 -5
- data/lib/platform_rest/application_dashboards.rb +2 -2
- data/lib/platform_rest/application_job_log.rb +1 -1
- data/lib/platform_rest/application_job_logs.rb +1 -1
- data/lib/platform_rest/application_key.rb +3 -3
- data/lib/platform_rest/application_keys.rb +2 -2
- data/lib/platform_rest/application_template.rb +1 -1
- data/lib/platform_rest/application_templates.rb +3 -3
- data/lib/platform_rest/applications.rb +3 -3
- data/lib/platform_rest/audit_log.rb +1 -1
- data/lib/platform_rest/audit_logs.rb +1 -1
- data/lib/platform_rest/client.rb +10 -2
- data/lib/platform_rest/credential.rb +4 -4
- data/lib/platform_rest/credentials.rb +2 -2
- data/lib/platform_rest/dashboard.rb +4 -4
- data/lib/platform_rest/dashboards.rb +3 -2
- data/lib/platform_rest/data.rb +3 -3
- data/lib/platform_rest/data_table.rb +5 -5
- data/lib/platform_rest/data_table_row.rb +4 -4
- data/lib/platform_rest/data_table_rows.rb +9 -9
- data/lib/platform_rest/data_tables.rb +2 -2
- data/lib/platform_rest/device.rb +15 -15
- data/lib/platform_rest/device_attribute.rb +3 -3
- data/lib/platform_rest/device_attributes.rb +2 -2
- data/lib/platform_rest/device_recipe.rb +4 -4
- data/lib/platform_rest/device_recipes.rb +2 -2
- data/lib/platform_rest/devices.rb +14 -14
- data/lib/platform_rest/edge_deployment.rb +1 -1
- data/lib/platform_rest/edge_deployments.rb +7 -7
- data/lib/platform_rest/embedded_deployment.rb +1 -1
- data/lib/platform_rest/embedded_deployments.rb +8 -8
- data/lib/platform_rest/event.rb +3 -3
- data/lib/platform_rest/events.rb +6 -6
- data/lib/platform_rest/experience.rb +3 -3
- data/lib/platform_rest/experience_domain.rb +3 -3
- data/lib/platform_rest/experience_domains.rb +2 -2
- data/lib/platform_rest/experience_endpoint.rb +4 -4
- data/lib/platform_rest/experience_endpoints.rb +3 -3
- data/lib/platform_rest/experience_group.rb +3 -3
- data/lib/platform_rest/experience_groups.rb +2 -2
- data/lib/platform_rest/experience_slug.rb +3 -3
- data/lib/platform_rest/experience_slugs.rb +2 -2
- data/lib/platform_rest/experience_user.rb +3 -3
- data/lib/platform_rest/experience_users.rb +2 -2
- data/lib/platform_rest/experience_version.rb +3 -3
- data/lib/platform_rest/experience_versions.rb +2 -2
- data/lib/platform_rest/experience_view.rb +4 -4
- data/lib/platform_rest/experience_views.rb +2 -2
- data/lib/platform_rest/file.rb +6 -6
- data/lib/platform_rest/files.rb +2 -2
- data/lib/platform_rest/flow.rb +11 -11
- data/lib/platform_rest/flow_version.rb +6 -6
- data/lib/platform_rest/flow_versions.rb +3 -3
- data/lib/platform_rest/flows.rb +5 -5
- data/lib/platform_rest/instance.rb +8 -8
- data/lib/platform_rest/instance_api_token.rb +1 -1
- data/lib/platform_rest/instance_api_tokens.rb +2 -2
- data/lib/platform_rest/instance_audit_log.rb +1 -1
- data/lib/platform_rest/instance_audit_logs.rb +1 -1
- data/lib/platform_rest/instance_custom_node.rb +5 -5
- data/lib/platform_rest/instance_custom_nodes.rb +2 -2
- data/lib/platform_rest/instance_member.rb +2 -2
- data/lib/platform_rest/instance_members.rb +1 -1
- data/lib/platform_rest/instance_notification_rule.rb +5 -5
- data/lib/platform_rest/instance_notification_rules.rb +2 -2
- data/lib/platform_rest/instance_org.rb +8 -8
- data/lib/platform_rest/instance_org_invite.rb +3 -3
- data/lib/platform_rest/instance_org_invites.rb +3 -3
- data/lib/platform_rest/instance_org_member.rb +1 -1
- data/lib/platform_rest/instance_org_members.rb +3 -2
- data/lib/platform_rest/instance_orgs.rb +3 -3
- data/lib/platform_rest/instance_sandbox.rb +7 -7
- data/lib/platform_rest/instance_sandboxes.rb +1 -1
- data/lib/platform_rest/instances.rb +1 -1
- data/lib/platform_rest/integration.rb +3 -3
- data/lib/platform_rest/integrations.rb +2 -2
- data/lib/platform_rest/me.rb +21 -21
- data/lib/platform_rest/notebook.rb +9 -9
- data/lib/platform_rest/notebooks.rb +2 -2
- data/lib/platform_rest/org.rb +14 -14
- data/lib/platform_rest/orgs.rb +2 -2
- data/lib/platform_rest/private_file.rb +6 -6
- data/lib/platform_rest/private_files.rb +2 -2
- data/lib/platform_rest/resource_job.rb +8 -8
- data/lib/platform_rest/resource_jobs.rb +2 -2
- data/lib/platform_rest/user_api_token.rb +3 -3
- data/lib/platform_rest/user_api_tokens.rb +4 -4
- data/lib/platform_rest/user_oauth_token.rb +170 -0
- data/lib/platform_rest/user_oauth_tokens.rb +132 -0
- data/lib/platform_rest/version.rb +1 -1
- data/lib/platform_rest/webhook.rb +3 -3
- data/lib/platform_rest/webhooks.rb +2 -2
- data/lib/platform_rest.rb +2 -0
- data/schemas/advancedApplicationCertQuery.json +1885 -0
- data/schemas/advancedApplicationKeyQuery.json +763 -763
- data/schemas/apiToken.json +110 -1
- data/schemas/apiTokenPatch.json +100 -0
- data/schemas/apiTokenPost.json +118 -0
- data/schemas/apiTokens.json +120 -2
- data/schemas/application.json +15 -2
- data/schemas/applicationCertificate.json +90 -58
- data/schemas/applicationCertificateAuthorities.json +24 -0
- data/schemas/applicationCertificateAuthority.json +24 -0
- data/schemas/applicationCertificatePatch.json +32 -4
- data/schemas/applicationCertificatePost.json +28 -30
- data/schemas/applicationCertificates.json +90 -58
- data/schemas/applicationCreationByTemplateResult.json +15 -2
- data/schemas/applicationDashboardPost.json +183 -128
- data/schemas/applicationImportExecutions.json +3 -5
- data/schemas/applicationImportResult.json +674 -0
- data/schemas/applicationJobLog.json +129 -123
- data/schemas/applicationJobLogs.json +129 -123
- data/schemas/applicationKey.json +41 -41
- data/schemas/applicationKeyPatch.json +4 -4
- data/schemas/applicationKeyPost.json +36 -29
- data/schemas/applicationKeys.json +41 -41
- data/schemas/applicationSearchResult.json +10 -10
- data/schemas/applicationTemplates.json +9 -2
- data/schemas/applications.json +15 -2
- data/schemas/auditLog.json +2 -6
- data/schemas/auditLogs.json +2 -6
- data/schemas/authedDevice.json +3 -0
- data/schemas/credential.json +7 -0
- data/schemas/credentialLinkedResources.json +19724 -344
- data/schemas/credentialPatch.json +3 -0
- data/schemas/credentialPost.json +3 -0
- data/schemas/credentials.json +7 -0
- data/schemas/dashboard.json +203 -128
- data/schemas/dashboardBlockSuggestCodePost.json +19 -0
- data/schemas/dashboardPatch.json +183 -128
- data/schemas/dashboardPost.json +183 -128
- data/schemas/dashboardUpdateEventsResult.json +266 -0
- data/schemas/dashboards.json +203 -128
- data/schemas/dataTable.json +11 -0
- data/schemas/dataTableRowPatch.json +16 -0
- data/schemas/dataTableRowPost.json +39 -0
- data/schemas/dataTableRowPostResult.json +54 -0
- data/schemas/dataTables.json +11 -0
- data/schemas/device.json +259 -107
- data/schemas/deviceConnectionStatus.json +4 -0
- data/schemas/deviceLog.json +3 -0
- data/schemas/deviceRecipe.json +259 -108
- data/schemas/deviceRecipes.json +259 -108
- data/schemas/devices.json +287 -116
- data/schemas/edgeDeploymentRelease.json +4252 -39
- data/schemas/edgeDeployments.json +28 -0
- data/schemas/embeddedDeploymentRelease.json +2073 -0
- data/schemas/embeddedDeployments.json +25 -0
- data/schemas/error.json +14 -0
- data/schemas/event.json +4 -1
- data/schemas/eventPlusNewCount.json +4 -1
- data/schemas/events.json +4 -1
- data/schemas/experienceDomains.json +19 -0
- data/schemas/experienceEndpoint.json +19 -0
- data/schemas/experienceEndpoints.json +24 -0
- data/schemas/experienceLinkedResources.json +19728 -313
- data/schemas/experienceSlugs.json +19 -0
- data/schemas/experienceUsers.json +16 -2
- data/schemas/experienceVersions.json +25 -0
- data/schemas/experienceView.json +5 -0
- data/schemas/experienceViews.json +10 -0
- data/schemas/fileUploadPostResponse.json +92 -103
- data/schemas/files.json +5 -1
- data/schemas/flow.json +211 -46
- data/schemas/flowPatch.json +199 -46
- data/schemas/flowPost.json +199 -46
- data/schemas/flowStorageMetadata.json +2 -2
- data/schemas/flowVersion.json +450 -101
- data/schemas/flowVersionPost.json +199 -46
- data/schemas/flowVersions.json +9903 -113
- data/schemas/flows.json +9637 -46
- data/schemas/flowsImportPost.json +398 -92
- data/schemas/flowsImportResult.json +661 -147
- data/schemas/githubLogin.json +18 -0
- data/schemas/historicalSummaries.json +3 -2
- data/schemas/historicalSummary.json +3 -2
- data/schemas/instanceAuditLog.json +2 -6
- data/schemas/instanceAuditLogs.json +90 -1
- data/schemas/instanceCustomNode.json +41 -2
- data/schemas/instanceCustomNodePatch.json +59 -6
- data/schemas/instanceCustomNodePost.json +59 -6
- data/schemas/instanceCustomNodes.json +41 -2
- data/schemas/instanceOrg.json +4 -1
- data/schemas/instanceOrgInvite.json +102 -0
- data/schemas/instanceOrgInviteSent.json +12 -0
- data/schemas/instanceOrgInvites.json +145 -0
- data/schemas/instanceOrgMember.json +52 -0
- data/schemas/instanceOrgMemberPatch.json +2 -2
- data/schemas/instanceOrgMemberPost.json +4 -4
- data/schemas/instanceOrgMembers.json +105 -1
- data/schemas/instanceOrgPost.json +5 -5
- data/schemas/instanceOrgs.json +5 -2
- data/schemas/instanceSandbox.json +5 -1
- data/schemas/instanceSandboxes.json +9 -1
- data/schemas/integration.json +38 -39
- data/schemas/integrationPatch.json +8 -8
- data/schemas/integrationPost.json +8 -8
- data/schemas/integrations.json +38 -39
- data/schemas/jobEnqueuedResult.json +1 -1
- data/schemas/me.json +685 -88
- data/schemas/notebook.json +33 -21
- data/schemas/notebookExecutionLogs.json +20 -0
- data/schemas/notebookMinuteCounts.json +1 -1
- data/schemas/notebookPatch.json +29 -21
- data/schemas/notebookPost.json +29 -21
- data/schemas/notebooks.json +33 -21
- data/schemas/notificationRule.json +4 -0
- data/schemas/notificationRules.json +8 -0
- data/schemas/oauthClient.json +107 -0
- data/schemas/oauthClientPost.json +89 -0
- data/schemas/oauthDcrError.json +23 -0
- data/schemas/oauthError.json +31 -0
- data/schemas/org.json +16 -3
- data/schemas/orgInvite.json +2 -2
- data/schemas/orgInviteCollection.json +2 -2
- data/schemas/orgInvitePost.json +2 -2
- data/schemas/orgInvites.json +77 -82
- data/schemas/orgInvitesUser.json +44 -47
- data/schemas/orgMemberPatch.json +2 -2
- data/schemas/orgRoleInfo.json +2 -2
- data/schemas/orgs.json +16 -3
- data/schemas/paletteResponse.json +372 -364
- data/schemas/periodSummaries.json +1 -1
- data/schemas/recentItemList.json +226 -27
- data/schemas/resourceJob.json +33 -9
- data/schemas/resourceJobExecutionLogs.json +34 -20
- data/schemas/resourceJobExecutionOptions.json +1 -1
- data/schemas/resourceJobPatch.json +9 -9
- data/schemas/resourceJobPost.json +9 -9
- data/schemas/resourceJobs.json +33 -9
- data/schemas/samlResponse.json +18 -0
- data/schemas/tagValuesResponse.json +1 -2
- data/schemas/templateKeywords.json +1 -0
- data/schemas/timeSeriesData.json +36 -4
- data/schemas/userCredentials.json +18 -0
- data/schemas/userOauthToken.json +210 -0
- data/schemas/userOauthTokenPatch.json +123 -0
- data/schemas/userOauthTokenPost.json +197 -0
- data/schemas/userOauthTokens.json +251 -0
- data/schemas/userPost.json +18 -0
- data/schemas/validateContextError.json +71 -24
- data/schemas/validateContextSuccess.json +71 -24
- metadata +22 -1
data/docs/webhooks.md
CHANGED
|
@@ -24,7 +24,7 @@ puts result
|
|
|
24
24
|
#### Authentication
|
|
25
25
|
The client must be configured with a valid api access token to call this
|
|
26
26
|
action. The token must include at least one of the following scopes:
|
|
27
|
-
all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, webhooks.*, or webhooks.get.
|
|
27
|
+
all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, webhooks.*, or webhooks.get.
|
|
28
28
|
|
|
29
29
|
#### Available Parameters
|
|
30
30
|
|
|
@@ -69,7 +69,7 @@ puts result
|
|
|
69
69
|
#### Authentication
|
|
70
70
|
The client must be configured with a valid api access token to call this
|
|
71
71
|
action. The token must include at least one of the following scopes:
|
|
72
|
-
all.Application, all.Organization, all.User, webhooks.*, or webhooks.post.
|
|
72
|
+
all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, webhooks.*, or webhooks.post.
|
|
73
73
|
|
|
74
74
|
#### Available Parameters
|
|
75
75
|
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Organization, all.User, application.*, or application.applyTemplate.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, application.*, or application.applyTemplate.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID of the associated application
|
|
@@ -85,7 +85,7 @@ module PlatformRest
|
|
|
85
85
|
# The client must be configured with a valid api
|
|
86
86
|
# access token to call this action. The token
|
|
87
87
|
# must include at least one of the following scopes:
|
|
88
|
-
# all.Application, all.Organization, all.User, application.*, or application.archiveData.
|
|
88
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, application.*, or application.archiveData.
|
|
89
89
|
#
|
|
90
90
|
# Parameters:
|
|
91
91
|
# * {string} applicationId - ID of the associated application
|
|
@@ -132,7 +132,7 @@ module PlatformRest
|
|
|
132
132
|
# The client must be configured with a valid api
|
|
133
133
|
# access token to call this action. The token
|
|
134
134
|
# must include at least one of the following scopes:
|
|
135
|
-
# all.Application, all.Organization, all.User, application.*, or application.backfillArchiveData.
|
|
135
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, application.*, or application.backfillArchiveData.
|
|
136
136
|
#
|
|
137
137
|
# Parameters:
|
|
138
138
|
# * {string} applicationId - ID of the associated application
|
|
@@ -176,7 +176,7 @@ module PlatformRest
|
|
|
176
176
|
# The client must be configured with a valid api
|
|
177
177
|
# access token to call this action. The token
|
|
178
178
|
# must include at least one of the following scopes:
|
|
179
|
-
# all.Application, all.Organization, all.User, application.*, or application.clone.
|
|
179
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, application.*, or application.clone.
|
|
180
180
|
#
|
|
181
181
|
# Parameters:
|
|
182
182
|
# * {string} applicationId - ID of the associated application
|
|
@@ -225,7 +225,7 @@ module PlatformRest
|
|
|
225
225
|
# The client must be configured with a valid api
|
|
226
226
|
# access token to call this action. The token
|
|
227
227
|
# must include at least one of the following scopes:
|
|
228
|
-
# all.Application, all.Organization, all.User, application.*, or application.delete.
|
|
228
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, application.*, or application.delete.
|
|
229
229
|
#
|
|
230
230
|
# Parameters:
|
|
231
231
|
# * {string} applicationId - ID of the associated application
|
|
@@ -269,7 +269,7 @@ module PlatformRest
|
|
|
269
269
|
# The client must be configured with a valid api
|
|
270
270
|
# access token to call this action. The token
|
|
271
271
|
# must include at least one of the following scopes:
|
|
272
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, application.*, or application.deviceCounts.
|
|
272
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, application.*, or application.deviceCounts.
|
|
273
273
|
#
|
|
274
274
|
# Parameters:
|
|
275
275
|
# * {string} applicationId - ID of the associated application
|
|
@@ -317,7 +317,7 @@ module PlatformRest
|
|
|
317
317
|
# The client must be configured with a valid api
|
|
318
318
|
# access token to call this action. The token
|
|
319
319
|
# must include at least one of the following scopes:
|
|
320
|
-
# all.Application, all.Organization, all.User, application.*, or application.export.
|
|
320
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, application.*, or application.export.
|
|
321
321
|
#
|
|
322
322
|
# Parameters:
|
|
323
323
|
# * {string} applicationId - ID of the associated application
|
|
@@ -365,7 +365,7 @@ module PlatformRest
|
|
|
365
365
|
# The client must be configured with a valid api
|
|
366
366
|
# access token to call this action. The token
|
|
367
367
|
# must include at least one of the following scopes:
|
|
368
|
-
# all.Application, all.Organization, all.User, application.*, or application.fullDataTablesArchive.
|
|
368
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, application.*, or application.fullDataTablesArchive.
|
|
369
369
|
#
|
|
370
370
|
# Parameters:
|
|
371
371
|
# * {string} applicationId - ID of the associated application
|
|
@@ -375,7 +375,7 @@ module PlatformRest
|
|
|
375
375
|
# * {boolean} _embedded - Return embedded resources in response
|
|
376
376
|
#
|
|
377
377
|
# Responses:
|
|
378
|
-
# * 202 - Enqueued a job to archive all selected data tables
|
|
378
|
+
# * 202 - Enqueued a job to archive all selected data tables to this application archive location (https://api.losant.com/#/definitions/jobEnqueuedResult)
|
|
379
379
|
#
|
|
380
380
|
# Errors:
|
|
381
381
|
# * 400 - Error if malformed request (https://api.losant.com/#/definitions/error)
|
|
@@ -409,7 +409,7 @@ module PlatformRest
|
|
|
409
409
|
# The client must be configured with a valid api
|
|
410
410
|
# access token to call this action. The token
|
|
411
411
|
# must include at least one of the following scopes:
|
|
412
|
-
# all.Application, all.Organization, all.User, application.*, or application.fullEventsArchive.
|
|
412
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, application.*, or application.fullEventsArchive.
|
|
413
413
|
#
|
|
414
414
|
# Parameters:
|
|
415
415
|
# * {string} applicationId - ID of the associated application
|
|
@@ -453,7 +453,7 @@ module PlatformRest
|
|
|
453
453
|
# The client must be configured with a valid api
|
|
454
454
|
# access token to call this action. The token
|
|
455
455
|
# must include at least one of the following scopes:
|
|
456
|
-
# all.Application, all.Application.cli, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.cli, all.User.read, application.*, or application.get.
|
|
456
|
+
# all.Application, all.Application.bounded, all.Application.cli, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.cli, all.User.read, application.*, or application.get.
|
|
457
457
|
#
|
|
458
458
|
# Parameters:
|
|
459
459
|
# * {string} applicationId - ID of the associated application
|
|
@@ -501,7 +501,7 @@ module PlatformRest
|
|
|
501
501
|
# The client must be configured with a valid api
|
|
502
502
|
# access token to call this action. The token
|
|
503
503
|
# must include at least one of the following scopes:
|
|
504
|
-
# all.Application, all.Application.cli, all.Organization, all.User, all.User.cli, application.*, or application.patch.
|
|
504
|
+
# all.Application, all.Application.bounded, all.Application.cli, all.Organization, all.Organization.bounded, all.User, all.User.bounded, all.User.cli, application.*, or application.patch.
|
|
505
505
|
#
|
|
506
506
|
# Parameters:
|
|
507
507
|
# * {string} applicationId - ID of the associated application
|
|
@@ -548,7 +548,7 @@ module PlatformRest
|
|
|
548
548
|
# The client must be configured with a valid api
|
|
549
549
|
# access token to call this action. The token
|
|
550
550
|
# must include at least one of the following scopes:
|
|
551
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, application.*, or application.importLogs.
|
|
551
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, application.*, or application.importLogs.
|
|
552
552
|
#
|
|
553
553
|
# Parameters:
|
|
554
554
|
# * {string} applicationId - ID of the associated application
|
|
@@ -596,7 +596,7 @@ module PlatformRest
|
|
|
596
596
|
# The client must be configured with a valid api
|
|
597
597
|
# access token to call this action. The token
|
|
598
598
|
# must include at least one of the following scopes:
|
|
599
|
-
# all.Application, all.Organization, all.User, application.*, or application.mqttPublishMessage.
|
|
599
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, application.*, or application.mqttPublishMessage.
|
|
600
600
|
#
|
|
601
601
|
# Parameters:
|
|
602
602
|
# * {string} applicationId - ID of the associated application
|
|
@@ -643,7 +643,7 @@ module PlatformRest
|
|
|
643
643
|
# The client must be configured with a valid api
|
|
644
644
|
# access token to call this action. The token
|
|
645
645
|
# must include at least one of the following scopes:
|
|
646
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, application.*, or application.notebookMinuteCounts.
|
|
646
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, application.*, or application.notebookMinuteCounts.
|
|
647
647
|
#
|
|
648
648
|
# Parameters:
|
|
649
649
|
# * {string} applicationId - ID of the associated application
|
|
@@ -691,7 +691,7 @@ module PlatformRest
|
|
|
691
691
|
# The client must be configured with a valid api
|
|
692
692
|
# access token to call this action. The token
|
|
693
693
|
# must include at least one of the following scopes:
|
|
694
|
-
# all.Application, all.Application.cli, all.Organization, all.User, all.User.cli, application.*, or application.patch.
|
|
694
|
+
# all.Application, all.Application.bounded, all.Application.cli, all.Organization, all.Organization.bounded, all.User, all.User.bounded, all.User.cli, application.*, or application.patch.
|
|
695
695
|
#
|
|
696
696
|
# Parameters:
|
|
697
697
|
# * {string} applicationId - ID of the associated application
|
|
@@ -742,7 +742,7 @@ module PlatformRest
|
|
|
742
742
|
# The client must be configured with a valid api
|
|
743
743
|
# access token to call this action. The token
|
|
744
744
|
# must include at least one of the following scopes:
|
|
745
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, application.*, or application.payloadCounts.
|
|
745
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, application.*, or application.payloadCounts.
|
|
746
746
|
#
|
|
747
747
|
# Parameters:
|
|
748
748
|
# * {string} applicationId - ID of the associated application
|
|
@@ -792,7 +792,7 @@ module PlatformRest
|
|
|
792
792
|
# The client must be configured with a valid api
|
|
793
793
|
# access token to call this action. The token
|
|
794
794
|
# must include at least one of the following scopes:
|
|
795
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, application.*, or application.payloadCountsBreakdown.
|
|
795
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, application.*, or application.payloadCountsBreakdown.
|
|
796
796
|
#
|
|
797
797
|
# Parameters:
|
|
798
798
|
# * {string} applicationId - ID of the associated application
|
|
@@ -846,7 +846,7 @@ module PlatformRest
|
|
|
846
846
|
# The client must be configured with a valid api
|
|
847
847
|
# access token to call this action. The token
|
|
848
848
|
# must include at least one of the following scopes:
|
|
849
|
-
# all.Application, all.Application.cli, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.cli, all.User.read, application.*, or application.get.
|
|
849
|
+
# all.Application, all.Application.bounded, all.Application.cli, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.cli, all.User.read, application.*, or application.get.
|
|
850
850
|
#
|
|
851
851
|
# Parameters:
|
|
852
852
|
# * {string} applicationId - ID of the associated application
|
|
@@ -890,7 +890,7 @@ module PlatformRest
|
|
|
890
890
|
# The client must be configured with a valid api
|
|
891
891
|
# access token to call this action. The token
|
|
892
892
|
# must include at least one of the following scopes:
|
|
893
|
-
# all.Application, all.Application.cli, all.Organization, all.User, all.User.cli, application.*, or application.patch.
|
|
893
|
+
# all.Application, all.Application.bounded, all.Application.cli, all.Organization, all.Organization.bounded, all.User, all.User.bounded, all.User.cli, application.*, or application.patch.
|
|
894
894
|
#
|
|
895
895
|
# Parameters:
|
|
896
896
|
# * {string} applicationId - ID of the associated application
|
|
@@ -937,7 +937,7 @@ module PlatformRest
|
|
|
937
937
|
# The client must be configured with a valid api
|
|
938
938
|
# access token to call this action. The token
|
|
939
939
|
# must include at least one of the following scopes:
|
|
940
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, application.*, or application.search.
|
|
940
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, application.*, or application.search.
|
|
941
941
|
#
|
|
942
942
|
# Parameters:
|
|
943
943
|
# * {string} applicationId - ID of the associated application
|
|
@@ -83,7 +83,7 @@ module PlatformRest
|
|
|
83
83
|
# The client must be configured with a valid api
|
|
84
84
|
# access token to call this action. The token
|
|
85
85
|
# must include at least one of the following scopes:
|
|
86
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationApiToken.*, or applicationApiToken.get.
|
|
86
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationApiToken.*, or applicationApiToken.get.
|
|
87
87
|
#
|
|
88
88
|
# Parameters:
|
|
89
89
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationApiTokens.*, or applicationApiTokens.get.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationApiTokens.*, or applicationApiTokens.get.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Organization, all.User, applicationCertificate.*, or applicationCertificate.delete.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationCertificate.*, or applicationCertificate.delete.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -83,7 +83,7 @@ module PlatformRest
|
|
|
83
83
|
# The client must be configured with a valid api
|
|
84
84
|
# access token to call this action. The token
|
|
85
85
|
# must include at least one of the following scopes:
|
|
86
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationCertificate.*, or applicationCertificate.get.
|
|
86
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationCertificate.*, or applicationCertificate.get.
|
|
87
87
|
#
|
|
88
88
|
# Parameters:
|
|
89
89
|
# * {string} applicationId - ID associated with the application
|
|
@@ -129,7 +129,7 @@ module PlatformRest
|
|
|
129
129
|
# The client must be configured with a valid api
|
|
130
130
|
# access token to call this action. The token
|
|
131
131
|
# must include at least one of the following scopes:
|
|
132
|
-
# all.Application, all.Organization, all.User, applicationCertificate.*, or applicationCertificate.patch.
|
|
132
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationCertificate.*, or applicationCertificate.patch.
|
|
133
133
|
#
|
|
134
134
|
# Parameters:
|
|
135
135
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationCertificateAuthorities.*, or applicationCertificateAuthorities.get.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationCertificateAuthorities.*, or applicationCertificateAuthorities.get.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -93,7 +93,7 @@ module PlatformRest
|
|
|
93
93
|
# The client must be configured with a valid api
|
|
94
94
|
# access token to call this action. The token
|
|
95
95
|
# must include at least one of the following scopes:
|
|
96
|
-
# all.Application, all.Organization, all.User, applicationCertificateAuthorities.*, or applicationCertificateAuthorities.post.
|
|
96
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationCertificateAuthorities.*, or applicationCertificateAuthorities.post.
|
|
97
97
|
#
|
|
98
98
|
# Parameters:
|
|
99
99
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Organization, all.User, applicationCertificateAuthority.*, or applicationCertificateAuthority.delete.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationCertificateAuthority.*, or applicationCertificateAuthority.delete.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -83,7 +83,7 @@ module PlatformRest
|
|
|
83
83
|
# The client must be configured with a valid api
|
|
84
84
|
# access token to call this action. The token
|
|
85
85
|
# must include at least one of the following scopes:
|
|
86
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationCertificateAuthority.*, or applicationCertificateAuthority.get.
|
|
86
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationCertificateAuthority.*, or applicationCertificateAuthority.get.
|
|
87
87
|
#
|
|
88
88
|
# Parameters:
|
|
89
89
|
# * {string} applicationId - ID associated with the application
|
|
@@ -129,7 +129,7 @@ module PlatformRest
|
|
|
129
129
|
# The client must be configured with a valid api
|
|
130
130
|
# access token to call this action. The token
|
|
131
131
|
# must include at least one of the following scopes:
|
|
132
|
-
# all.Application, all.Organization, all.User, applicationCertificateAuthority.*, or applicationCertificateAuthority.patch.
|
|
132
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationCertificateAuthority.*, or applicationCertificateAuthority.patch.
|
|
133
133
|
#
|
|
134
134
|
# Parameters:
|
|
135
135
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,16 +37,17 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationCertificates.*, or applicationCertificates.get.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationCertificates.*, or applicationCertificates.get.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
44
|
-
# * {string} sortField - Field to sort the results by. Accepted values are: certificateInfo.commonName, status, id, creationDate, lastUpdated
|
|
44
|
+
# * {string} sortField - Field to sort the results by. Accepted values are: name, certificateInfo.commonName, status, id, creationDate, lastUpdated
|
|
45
45
|
# * {string} sortDirection - Direction to sort the results by. Accepted values are: asc, desc
|
|
46
46
|
# * {string} page - Which page of results to return
|
|
47
47
|
# * {string} perPage - How many items to return per page
|
|
48
|
-
# * {string} filterField - Field to filter the results by. Blank or not provided means no filtering. Accepted values are: certificateInfo.commonName, status
|
|
48
|
+
# * {string} filterField - Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name, certificateInfo.commonName, status
|
|
49
49
|
# * {string} filter - Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering.
|
|
50
|
+
# * {hash} query - Application certificate filter JSON object which overrides the filterField and filter parameters. (https://api.losant.com/#/definitions/advancedApplicationCertQuery)
|
|
50
51
|
# * {string} losantdomain - Domain scope of request (rarely needed)
|
|
51
52
|
# * {boolean} _actions - Return resource actions in response
|
|
52
53
|
# * {boolean} _links - Return resource link in response
|
|
@@ -72,6 +73,8 @@ module PlatformRest
|
|
|
72
73
|
query_params[:perPage] = params[:perPage] if params.has_key?(:perPage)
|
|
73
74
|
query_params[:filterField] = params[:filterField] if params.has_key?(:filterField)
|
|
74
75
|
query_params[:filter] = params[:filter] if params.has_key?(:filter)
|
|
76
|
+
query_params[:query] = params[:query] if params.has_key?(:query)
|
|
77
|
+
query_params[:query] = JSON.dump(query_params[:query]) if query_params.has_key?(:query)
|
|
75
78
|
headers[:losantdomain] = params[:losantdomain] if params.has_key?(:losantdomain)
|
|
76
79
|
query_params[:_actions] = params[:_actions] if params.has_key?(:_actions)
|
|
77
80
|
query_params[:_links] = params[:_links] if params.has_key?(:_links)
|
|
@@ -93,7 +96,7 @@ module PlatformRest
|
|
|
93
96
|
# The client must be configured with a valid api
|
|
94
97
|
# access token to call this action. The token
|
|
95
98
|
# must include at least one of the following scopes:
|
|
96
|
-
# all.Application, all.Organization, all.User, applicationCertificates.*, or applicationCertificates.post.
|
|
99
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationCertificates.*, or applicationCertificates.post.
|
|
97
100
|
#
|
|
98
101
|
# Parameters:
|
|
99
102
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Organization, all.User, applicationDashboard.*, or applicationDashboard.delete.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationDashboard.*, or applicationDashboard.delete.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} dashboardId - ID of the associated dashboard
|
|
@@ -83,7 +83,7 @@ module PlatformRest
|
|
|
83
83
|
# The client must be configured with a valid api
|
|
84
84
|
# access token to call this action. The token
|
|
85
85
|
# must include at least one of the following scopes:
|
|
86
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationDashboard.*, or applicationDashboard.get.
|
|
86
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationDashboard.*, or applicationDashboard.get.
|
|
87
87
|
#
|
|
88
88
|
# Parameters:
|
|
89
89
|
# * {string} dashboardId - ID of the associated dashboard
|
|
@@ -129,7 +129,7 @@ module PlatformRest
|
|
|
129
129
|
# The client must be configured with a valid api
|
|
130
130
|
# access token to call this action. The token
|
|
131
131
|
# must include at least one of the following scopes:
|
|
132
|
-
# all.Application, all.Organization, all.User, applicationDashboard.*, or applicationDashboard.patch.
|
|
132
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationDashboard.*, or applicationDashboard.patch.
|
|
133
133
|
#
|
|
134
134
|
# Parameters:
|
|
135
135
|
# * {string} dashboardId - ID of the associated dashboard
|
|
@@ -141,7 +141,7 @@ module PlatformRest
|
|
|
141
141
|
# * {boolean} _embedded - Return embedded resources in response
|
|
142
142
|
#
|
|
143
143
|
# Responses:
|
|
144
|
-
# * 200 -
|
|
144
|
+
# * 200 - Updated dashboard information (https://api.losant.com/#/definitions/dashboard)
|
|
145
145
|
#
|
|
146
146
|
# Errors:
|
|
147
147
|
# * 400 - Error if malformed request (https://api.losant.com/#/definitions/error)
|
|
@@ -178,7 +178,7 @@ module PlatformRest
|
|
|
178
178
|
# The client must be configured with a valid api
|
|
179
179
|
# access token to call this action. The token
|
|
180
180
|
# must include at least one of the following scopes:
|
|
181
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationDashboard.*, or applicationDashboard.sendReport.
|
|
181
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationDashboard.*, or applicationDashboard.sendReport.
|
|
182
182
|
#
|
|
183
183
|
# Parameters:
|
|
184
184
|
# * {string} dashboardId - ID of the associated dashboard
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationDashboards.*, or applicationDashboards.get.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationDashboards.*, or applicationDashboards.get.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -93,7 +93,7 @@ module PlatformRest
|
|
|
93
93
|
# The client must be configured with a valid api
|
|
94
94
|
# access token to call this action. The token
|
|
95
95
|
# must include at least one of the following scopes:
|
|
96
|
-
# all.Application, all.Organization, all.User, applicationDashboards.*, or applicationDashboards.post.
|
|
96
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationDashboards.*, or applicationDashboards.post.
|
|
97
97
|
#
|
|
98
98
|
# Parameters:
|
|
99
99
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationJobLog.*, or applicationJobLog.get.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationJobLog.*, or applicationJobLog.get.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationJobLogs.*, or applicationJobLogs.get.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationJobLogs.*, or applicationJobLogs.get.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Organization, all.User, applicationKey.*, or applicationKey.delete.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationKey.*, or applicationKey.delete.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -83,7 +83,7 @@ module PlatformRest
|
|
|
83
83
|
# The client must be configured with a valid api
|
|
84
84
|
# access token to call this action. The token
|
|
85
85
|
# must include at least one of the following scopes:
|
|
86
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationKey.*, or applicationKey.get.
|
|
86
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationKey.*, or applicationKey.get.
|
|
87
87
|
#
|
|
88
88
|
# Parameters:
|
|
89
89
|
# * {string} applicationId - ID associated with the application
|
|
@@ -129,7 +129,7 @@ module PlatformRest
|
|
|
129
129
|
# The client must be configured with a valid api
|
|
130
130
|
# access token to call this action. The token
|
|
131
131
|
# must include at least one of the following scopes:
|
|
132
|
-
# all.Application, all.Organization, all.User, applicationKey.*, or applicationKey.patch.
|
|
132
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationKey.*, or applicationKey.patch.
|
|
133
133
|
#
|
|
134
134
|
# Parameters:
|
|
135
135
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationKeys.*, or applicationKeys.get.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applicationKeys.*, or applicationKeys.get.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -96,7 +96,7 @@ module PlatformRest
|
|
|
96
96
|
# The client must be configured with a valid api
|
|
97
97
|
# access token to call this action. The token
|
|
98
98
|
# must include at least one of the following scopes:
|
|
99
|
-
# all.Application, all.Organization, all.User, applicationKeys.*, or applicationKeys.post.
|
|
99
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, applicationKeys.*, or applicationKeys.post.
|
|
100
100
|
#
|
|
101
101
|
# Parameters:
|
|
102
102
|
# * {string} applicationId - ID associated with the application
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.User, all.User.read, applicationTemplate.*,
|
|
40
|
+
# all.User, all.User.bounded, all.User.read, applicationTemplate.*, applicationTemplate.get, only.User, only.User.bounded, or only.User.read.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} templateId - ID associated with the template
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.User, all.User.read, applicationTemplates.*,
|
|
40
|
+
# all.User, all.User.bounded, all.User.read, applicationTemplates.*, applicationTemplates.get, only.User, only.User.bounded, or only.User.read.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} sortField - Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated
|
|
@@ -94,7 +94,7 @@ module PlatformRest
|
|
|
94
94
|
# The client must be configured with a valid api
|
|
95
95
|
# access token to call this action. The token
|
|
96
96
|
# must include at least one of the following scopes:
|
|
97
|
-
# all.User, all.User.read, applicationTemplates.*,
|
|
97
|
+
# all.User, all.User.bounded, all.User.read, applicationTemplates.*, applicationTemplates.getCategories, only.User, only.User.bounded, or only.User.read.
|
|
98
98
|
#
|
|
99
99
|
# Parameters:
|
|
100
100
|
# * {string} baseId - ID of the category to begin from
|
|
@@ -137,7 +137,7 @@ module PlatformRest
|
|
|
137
137
|
# The client must be configured with a valid api
|
|
138
138
|
# access token to call this action. The token
|
|
139
139
|
# must include at least one of the following scopes:
|
|
140
|
-
# all.User, all.User.read, applicationTemplates.*,
|
|
140
|
+
# all.User, all.User.bounded, all.User.read, applicationTemplates.*, applicationTemplates.getUniqueKeywords, only.User, only.User.bounded, or only.User.read.
|
|
141
141
|
#
|
|
142
142
|
# Parameters:
|
|
143
143
|
# * {string} losantdomain - Domain scope of request (rarely needed)
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Organization, all.Organization.read, all.User, all.User.cli, all.User.read, applications.*,
|
|
40
|
+
# all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.cli, all.User.read, applications.*, applications.get, only.Organization, only.Organization.bounded, or only.Organization.read.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} sortField - Field to sort the results by. Accepted values are: name, id, creationDate, ownerId, lastUpdated
|
|
@@ -96,7 +96,7 @@ module PlatformRest
|
|
|
96
96
|
# The client must be configured with a valid api
|
|
97
97
|
# access token to call this action. The token
|
|
98
98
|
# must include at least one of the following scopes:
|
|
99
|
-
# all.Organization, all.Organization.read, all.User, all.User.read, applications.*,
|
|
99
|
+
# all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, applications.*, applications.periodSummaries, only.Organization, only.Organization.bounded, or only.Organization.read.
|
|
100
100
|
#
|
|
101
101
|
# Parameters:
|
|
102
102
|
# * {string} start - Start of range for resource count queries (ms since epoch)
|
|
@@ -163,7 +163,7 @@ module PlatformRest
|
|
|
163
163
|
# The client must be configured with a valid api
|
|
164
164
|
# access token to call this action. The token
|
|
165
165
|
# must include at least one of the following scopes:
|
|
166
|
-
# all.Organization, all.User, applications.*,
|
|
166
|
+
# all.Organization, all.Organization.bounded, all.User, all.User.bounded, applications.*, applications.post, only.Organization, or only.Organization.bounded.
|
|
167
167
|
#
|
|
168
168
|
# Parameters:
|
|
169
169
|
# * {hash} application - New application information (https://api.losant.com/#/definitions/applicationPost)
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Organization, all.Organization.read, all.User, all.User.read, auditLog.*,
|
|
40
|
+
# all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, auditLog.*, auditLog.get, only.Organization, only.Organization.bounded, or only.Organization.read.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} orgId - ID associated with the organization
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Organization, all.Organization.read, all.User, all.User.read, auditLogs.*,
|
|
40
|
+
# all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, auditLogs.*, auditLogs.get, only.Organization, only.Organization.bounded, or only.Organization.read.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} orgId - ID associated with the organization
|
data/lib/platform_rest/client.rb
CHANGED
|
@@ -27,7 +27,7 @@ module PlatformRest
|
|
|
27
27
|
#
|
|
28
28
|
# User API for accessing platform data
|
|
29
29
|
#
|
|
30
|
-
# Built For Version 1.
|
|
30
|
+
# Built For Version 1.30.1
|
|
31
31
|
class Client
|
|
32
32
|
attr_accessor :auth_token, :url
|
|
33
33
|
|
|
@@ -416,6 +416,14 @@ module PlatformRest
|
|
|
416
416
|
@user_api_tokens ||= UserApiTokens.new(self)
|
|
417
417
|
end
|
|
418
418
|
|
|
419
|
+
def user_oauth_token
|
|
420
|
+
@user_oauth_token ||= UserOauthToken.new(self)
|
|
421
|
+
end
|
|
422
|
+
|
|
423
|
+
def user_oauth_tokens
|
|
424
|
+
@user_oauth_tokens ||= UserOauthTokens.new(self)
|
|
425
|
+
end
|
|
426
|
+
|
|
419
427
|
def webhook
|
|
420
428
|
@webhook ||= Webhook.new(self)
|
|
421
429
|
end
|
|
@@ -430,7 +438,7 @@ module PlatformRest
|
|
|
430
438
|
|
|
431
439
|
headers["Accept"] = "application/json"
|
|
432
440
|
headers["Content-Type"] = "application/json"
|
|
433
|
-
headers["Accept-Version"] = "^1.
|
|
441
|
+
headers["Accept-Version"] = "^1.30.1"
|
|
434
442
|
headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
|
|
435
443
|
path = self.url + options.fetch(:path, "")
|
|
436
444
|
|
|
@@ -37,7 +37,7 @@ module PlatformRest
|
|
|
37
37
|
# The client must be configured with a valid api
|
|
38
38
|
# access token to call this action. The token
|
|
39
39
|
# must include at least one of the following scopes:
|
|
40
|
-
# all.Application, all.Organization, all.User, credential.*, or credential.delete.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, credential.*, or credential.delete.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -83,7 +83,7 @@ module PlatformRest
|
|
|
83
83
|
# The client must be configured with a valid api
|
|
84
84
|
# access token to call this action. The token
|
|
85
85
|
# must include at least one of the following scopes:
|
|
86
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, credential.*, or credential.get.
|
|
86
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, credential.*, or credential.get.
|
|
87
87
|
#
|
|
88
88
|
# Parameters:
|
|
89
89
|
# * {string} applicationId - ID associated with the application
|
|
@@ -129,7 +129,7 @@ module PlatformRest
|
|
|
129
129
|
# The client must be configured with a valid api
|
|
130
130
|
# access token to call this action. The token
|
|
131
131
|
# must include at least one of the following scopes:
|
|
132
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, credential.*, or credential.linkedResources.
|
|
132
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, credential.*, or credential.linkedResources.
|
|
133
133
|
#
|
|
134
134
|
# Parameters:
|
|
135
135
|
# * {string} applicationId - ID associated with the application
|
|
@@ -177,7 +177,7 @@ module PlatformRest
|
|
|
177
177
|
# The client must be configured with a valid api
|
|
178
178
|
# access token to call this action. The token
|
|
179
179
|
# must include at least one of the following scopes:
|
|
180
|
-
# all.Application, all.Organization, all.User, credential.*, or credential.patch.
|
|
180
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, credential.*, or credential.patch.
|
|
181
181
|
#
|
|
182
182
|
# Parameters:
|
|
183
183
|
# * {string} applicationId - ID associated with the application
|