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
|
@@ -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, credentials.*, or credentials.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, credentials.*, or credentials.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, credentials.*, or credentials.post.
|
|
96
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, credentials.*, or credentials.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.Organization, all.User, dashboard.*,
|
|
40
|
+
# all.Organization, all.Organization.bounded, all.User, all.User.bounded, dashboard.*, dashboard.delete, only.Organization, or only.Organization.bounded.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} dashboardId - ID of the associated dashboard
|
|
@@ -124,7 +124,7 @@ module PlatformRest
|
|
|
124
124
|
# The client must be configured with a valid api
|
|
125
125
|
# access token to call this action. The token
|
|
126
126
|
# must include at least one of the following scopes:
|
|
127
|
-
# all.Organization, all.User, dashboard.*,
|
|
127
|
+
# all.Organization, all.Organization.bounded, all.User, all.User.bounded, dashboard.*, dashboard.patch, only.Organization, or only.Organization.bounded.
|
|
128
128
|
#
|
|
129
129
|
# Parameters:
|
|
130
130
|
# * {string} dashboardId - ID of the associated dashboard
|
|
@@ -135,7 +135,7 @@ module PlatformRest
|
|
|
135
135
|
# * {boolean} _embedded - Return embedded resources in response
|
|
136
136
|
#
|
|
137
137
|
# Responses:
|
|
138
|
-
# * 200 -
|
|
138
|
+
# * 200 - Updated dashboard information (https://api.losant.com/#/definitions/dashboard)
|
|
139
139
|
#
|
|
140
140
|
# Errors:
|
|
141
141
|
# * 400 - Error if malformed request (https://api.losant.com/#/definitions/error)
|
|
@@ -171,7 +171,7 @@ module PlatformRest
|
|
|
171
171
|
# The client must be configured with a valid api
|
|
172
172
|
# access token to call this action. The token
|
|
173
173
|
# must include at least one of the following scopes:
|
|
174
|
-
# all.Organization, all.User, dashboard.*,
|
|
174
|
+
# all.Organization, all.Organization.bounded, all.User, all.User.bounded, dashboard.*, dashboard.sendReport, only.Organization, or only.Organization.bounded.
|
|
175
175
|
#
|
|
176
176
|
# Parameters:
|
|
177
177
|
# * {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.Organization, all.Organization.read, all.User, all.User.read, dashboards.*,
|
|
40
|
+
# all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, dashboards.*, dashboards.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, applicationId, 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.Organization, all.User, dashboards.*,
|
|
97
|
+
# all.Organization, all.Organization.bounded, all.User, all.User.bounded, dashboards.*, dashboards.post, only.Organization, or only.Organization.bounded.
|
|
98
98
|
#
|
|
99
99
|
# Parameters:
|
|
100
100
|
# * {hash} dashboard - New dashboard information (https://api.losant.com/#/definitions/dashboardPost)
|
|
@@ -108,6 +108,7 @@ module PlatformRest
|
|
|
108
108
|
#
|
|
109
109
|
# Errors:
|
|
110
110
|
# * 400 - Error if malformed request (https://api.losant.com/#/definitions/error)
|
|
111
|
+
# * 404 - Error if associated application or organization was not found (https://api.losant.com/#/definitions/error)
|
|
111
112
|
def post(params = {})
|
|
112
113
|
params = Utils.symbolize_hash_keys(params)
|
|
113
114
|
query_params = { _actions: false, _links: true, _embedded: true }
|
data/lib/platform_rest/data.rb
CHANGED
|
@@ -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.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, data.*, or data.export.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, data.*, or data.export.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -84,7 +84,7 @@ module PlatformRest
|
|
|
84
84
|
# The client must be configured with a valid api
|
|
85
85
|
# access token to call this action. The token
|
|
86
86
|
# must include at least one of the following scopes:
|
|
87
|
-
# all.Application, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, data.*, or data.lastValueQuery.
|
|
87
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, data.*, or data.lastValueQuery.
|
|
88
88
|
#
|
|
89
89
|
# Parameters:
|
|
90
90
|
# * {string} applicationId - ID associated with the application
|
|
@@ -131,7 +131,7 @@ module PlatformRest
|
|
|
131
131
|
# The client must be configured with a valid api
|
|
132
132
|
# access token to call this action. The token
|
|
133
133
|
# must include at least one of the following scopes:
|
|
134
|
-
# all.Application, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, data.*, or data.timeSeriesQuery.
|
|
134
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, data.*, or data.timeSeriesQuery.
|
|
135
135
|
#
|
|
136
136
|
# Parameters:
|
|
137
137
|
# * {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, dataTable.*, or dataTable.addColumn.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, dataTable.*, or dataTable.addColumn.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -86,7 +86,7 @@ module PlatformRest
|
|
|
86
86
|
# The client must be configured with a valid api
|
|
87
87
|
# access token to call this action. The token
|
|
88
88
|
# must include at least one of the following scopes:
|
|
89
|
-
# all.Application, all.Organization, all.User, dataTable.*, or dataTable.delete.
|
|
89
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, dataTable.*, or dataTable.delete.
|
|
90
90
|
#
|
|
91
91
|
# Parameters:
|
|
92
92
|
# * {string} applicationId - ID associated with the 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.Application.cli, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.cli, all.User.read, dataTable.*, or dataTable.get.
|
|
135
|
+
# 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, dataTable.*, or dataTable.get.
|
|
136
136
|
#
|
|
137
137
|
# Parameters:
|
|
138
138
|
# * {string} applicationId - ID associated with the application
|
|
@@ -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.Organization, all.User, dataTable.*, or dataTable.patch.
|
|
181
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, dataTable.*, or dataTable.patch.
|
|
182
182
|
#
|
|
183
183
|
# Parameters:
|
|
184
184
|
# * {string} applicationId - ID associated with the application
|
|
@@ -227,7 +227,7 @@ module PlatformRest
|
|
|
227
227
|
# The client must be configured with a valid api
|
|
228
228
|
# access token to call this action. The token
|
|
229
229
|
# must include at least one of the following scopes:
|
|
230
|
-
# all.Application, all.Organization, all.User, dataTable.*, or dataTable.removeColumn.
|
|
230
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, dataTable.*, or dataTable.removeColumn.
|
|
231
231
|
#
|
|
232
232
|
# Parameters:
|
|
233
233
|
# * {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, dataTableRow.*, or dataTableRow.delete.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, dataTableRow.*, or dataTableRow.delete.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the 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.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, dataTableRow.*, or dataTableRow.get.
|
|
88
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, dataTableRow.*, or dataTableRow.get.
|
|
89
89
|
#
|
|
90
90
|
# Parameters:
|
|
91
91
|
# * {string} applicationId - ID associated with the application
|
|
@@ -133,13 +133,13 @@ module PlatformRest
|
|
|
133
133
|
# The client must be configured with a valid api
|
|
134
134
|
# access token to call this action. The token
|
|
135
135
|
# must include at least one of the following scopes:
|
|
136
|
-
# all.Application, all.Organization, all.User, dataTableRow.*, or dataTableRow.patch.
|
|
136
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, dataTableRow.*, or dataTableRow.patch.
|
|
137
137
|
#
|
|
138
138
|
# Parameters:
|
|
139
139
|
# * {string} applicationId - ID associated with the application
|
|
140
140
|
# * {string} dataTableId - ID associated with the data table
|
|
141
141
|
# * {string} rowId - ID associated with the data table row
|
|
142
|
-
# * {hash} dataTableRow - Object containing updated properties for the data table row (https://api.losant.com/#/definitions/
|
|
142
|
+
# * {hash} dataTableRow - Object containing updated properties for the data table row (https://api.losant.com/#/definitions/dataTableRowPatch)
|
|
143
143
|
# * {string} losantdomain - Domain scope of request (rarely needed)
|
|
144
144
|
# * {boolean} _actions - Return resource actions in response
|
|
145
145
|
# * {boolean} _links - Return resource link in response
|
|
@@ -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, dataTableRows.*, or dataTableRows.delete.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, dataTableRows.*, or dataTableRows.delete.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -87,7 +87,7 @@ module PlatformRest
|
|
|
87
87
|
# The client must be configured with a valid api
|
|
88
88
|
# access token to call this action. The token
|
|
89
89
|
# must include at least one of the following scopes:
|
|
90
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, dataTableRows.*, or dataTableRows.export.
|
|
90
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, dataTableRows.*, or dataTableRows.export.
|
|
91
91
|
#
|
|
92
92
|
# Parameters:
|
|
93
93
|
# * {string} applicationId - ID associated with the application
|
|
@@ -136,7 +136,7 @@ module PlatformRest
|
|
|
136
136
|
# The client must be configured with a valid api
|
|
137
137
|
# access token to call this action. The token
|
|
138
138
|
# must include at least one of the following scopes:
|
|
139
|
-
# all.Application, all.Application.cli, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.cli, all.User.read, dataTableRows.*, or dataTableRows.get.
|
|
139
|
+
# 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, dataTableRows.*, or dataTableRows.get.
|
|
140
140
|
#
|
|
141
141
|
# Parameters:
|
|
142
142
|
# * {string} applicationId - ID associated with the application
|
|
@@ -186,25 +186,25 @@ module PlatformRest
|
|
|
186
186
|
body: body)
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
-
#
|
|
189
|
+
# Creates new row(s) in a data table
|
|
190
190
|
#
|
|
191
191
|
# Authentication:
|
|
192
192
|
# The client must be configured with a valid api
|
|
193
193
|
# access token to call this action. The token
|
|
194
194
|
# must include at least one of the following scopes:
|
|
195
|
-
# all.Application, all.Organization, all.User, dataTableRows.*, or dataTableRows.post.
|
|
195
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, dataTableRows.*, or dataTableRows.post.
|
|
196
196
|
#
|
|
197
197
|
# Parameters:
|
|
198
198
|
# * {string} applicationId - ID associated with the application
|
|
199
199
|
# * {string} dataTableId - ID associated with the data table
|
|
200
|
-
# * {hash} dataTableRow - The row(s) to
|
|
200
|
+
# * {hash} dataTableRow - The row(s) to create (https://api.losant.com/#/definitions/dataTableRowPost)
|
|
201
201
|
# * {string} losantdomain - Domain scope of request (rarely needed)
|
|
202
202
|
# * {boolean} _actions - Return resource actions in response
|
|
203
203
|
# * {boolean} _links - Return resource link in response
|
|
204
204
|
# * {boolean} _embedded - Return embedded resources in response
|
|
205
205
|
#
|
|
206
206
|
# Responses:
|
|
207
|
-
# * 201 - Successfully created data table row, or bulk
|
|
207
|
+
# * 201 - Successfully created data table row, or bulk creation information (https://api.losant.com/#/definitions/dataTableRowPostResult)
|
|
208
208
|
#
|
|
209
209
|
# Errors:
|
|
210
210
|
# * 400 - Error if malformed request (https://api.losant.com/#/definitions/error)
|
|
@@ -241,7 +241,7 @@ module PlatformRest
|
|
|
241
241
|
# The client must be configured with a valid api
|
|
242
242
|
# access token to call this action. The token
|
|
243
243
|
# must include at least one of the following scopes:
|
|
244
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, dataTableRows.*, or dataTableRows.query.
|
|
244
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, dataTableRows.*, or dataTableRows.query.
|
|
245
245
|
#
|
|
246
246
|
# Parameters:
|
|
247
247
|
# * {string} applicationId - ID associated with the application
|
|
@@ -299,7 +299,7 @@ module PlatformRest
|
|
|
299
299
|
# The client must be configured with a valid api
|
|
300
300
|
# access token to call this action. The token
|
|
301
301
|
# must include at least one of the following scopes:
|
|
302
|
-
# all.Application, all.Organization, all.User, dataTableRows.*, or dataTableRows.truncate.
|
|
302
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, dataTableRows.*, or dataTableRows.truncate.
|
|
303
303
|
#
|
|
304
304
|
# Parameters:
|
|
305
305
|
# * {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.cli, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.cli, all.User.read, dataTables.*, or dataTables.get.
|
|
40
|
+
# 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, dataTables.*, or dataTables.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, dataTables.*, or dataTables.post.
|
|
96
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, dataTables.*, or dataTables.post.
|
|
97
97
|
#
|
|
98
98
|
# Parameters:
|
|
99
99
|
# * {string} applicationId - ID associated with the application
|
data/lib/platform_rest/device.rb
CHANGED
|
@@ -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, device.*, or device.delete.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, device.*, or device.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, device.*, or device.export.
|
|
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, device.*, or device.export.
|
|
87
87
|
#
|
|
88
88
|
# Parameters:
|
|
89
89
|
# * {string} applicationId - ID associated with the application
|
|
@@ -141,7 +141,7 @@ module PlatformRest
|
|
|
141
141
|
# The client must be configured with a valid api
|
|
142
142
|
# access token to call this action. The token
|
|
143
143
|
# must include at least one of the following scopes:
|
|
144
|
-
# all.Application, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, device.*, or device.get.
|
|
144
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, device.*, or device.get.
|
|
145
145
|
#
|
|
146
146
|
# Parameters:
|
|
147
147
|
# * {string} applicationId - ID associated with the application
|
|
@@ -187,13 +187,13 @@ module PlatformRest
|
|
|
187
187
|
body: body)
|
|
188
188
|
end
|
|
189
189
|
|
|
190
|
-
# Retrieve the last known
|
|
190
|
+
# Retrieve the last known command(s) sent to the device
|
|
191
191
|
#
|
|
192
192
|
# Authentication:
|
|
193
193
|
# The client must be configured with a valid api
|
|
194
194
|
# access token to call this action. The token
|
|
195
195
|
# must include at least one of the following scopes:
|
|
196
|
-
# all.Application, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, device.*, or device.getCommand.
|
|
196
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, device.*, or device.getCommand.
|
|
197
197
|
#
|
|
198
198
|
# Parameters:
|
|
199
199
|
# * {string} applicationId - ID associated with the application
|
|
@@ -251,7 +251,7 @@ module PlatformRest
|
|
|
251
251
|
# The client must be configured with a valid api
|
|
252
252
|
# access token to call this action. The token
|
|
253
253
|
# must include at least one of the following scopes:
|
|
254
|
-
# all.Application, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, device.*, or device.getCompositeState.
|
|
254
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, device.*, or device.getCompositeState.
|
|
255
255
|
#
|
|
256
256
|
# Parameters:
|
|
257
257
|
# * {string} applicationId - ID associated with the application
|
|
@@ -303,7 +303,7 @@ module PlatformRest
|
|
|
303
303
|
# The client must be configured with a valid api
|
|
304
304
|
# access token to call this action. The token
|
|
305
305
|
# must include at least one of the following scopes:
|
|
306
|
-
# all.Application, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, device.*, or device.getLogEntries.
|
|
306
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, device.*, or device.getLogEntries.
|
|
307
307
|
#
|
|
308
308
|
# Parameters:
|
|
309
309
|
# * {string} applicationId - ID associated with the application
|
|
@@ -361,7 +361,7 @@ module PlatformRest
|
|
|
361
361
|
# The client must be configured with a valid api
|
|
362
362
|
# access token to call this action. The token
|
|
363
363
|
# must include at least one of the following scopes:
|
|
364
|
-
# all.Application, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, device.*, or device.getState.
|
|
364
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, device.*, or device.getState.
|
|
365
365
|
#
|
|
366
366
|
# Parameters:
|
|
367
367
|
# * {string} applicationId - ID associated with the application
|
|
@@ -419,7 +419,7 @@ module PlatformRest
|
|
|
419
419
|
# The client must be configured with a valid api
|
|
420
420
|
# access token to call this action. The token
|
|
421
421
|
# must include at least one of the following scopes:
|
|
422
|
-
# all.Application, all.Organization, all.User, device.*, or device.patch.
|
|
422
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, device.*, or device.patch.
|
|
423
423
|
#
|
|
424
424
|
# Parameters:
|
|
425
425
|
# * {string} applicationId - ID associated with the application
|
|
@@ -472,7 +472,7 @@ module PlatformRest
|
|
|
472
472
|
# The client must be configured with a valid api
|
|
473
473
|
# access token to call this action. The token
|
|
474
474
|
# must include at least one of the following scopes:
|
|
475
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, device.*, or device.payloadCounts.
|
|
475
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, device.*, or device.payloadCounts.
|
|
476
476
|
#
|
|
477
477
|
# Parameters:
|
|
478
478
|
# * {string} applicationId - ID associated with the application
|
|
@@ -522,7 +522,7 @@ module PlatformRest
|
|
|
522
522
|
# The client must be configured with a valid api
|
|
523
523
|
# access token to call this action. The token
|
|
524
524
|
# must include at least one of the following scopes:
|
|
525
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, device.*, or device.payloadCountsBreakdown.
|
|
525
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, device.*, or device.payloadCountsBreakdown.
|
|
526
526
|
#
|
|
527
527
|
# Parameters:
|
|
528
528
|
# * {string} applicationId - ID associated with the application
|
|
@@ -574,7 +574,7 @@ module PlatformRest
|
|
|
574
574
|
# The client must be configured with a valid api
|
|
575
575
|
# access token to call this action. The token
|
|
576
576
|
# must include at least one of the following scopes:
|
|
577
|
-
# all.Application, all.Organization, all.User, device.*, or device.removeData.
|
|
577
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, device.*, or device.removeData.
|
|
578
578
|
#
|
|
579
579
|
# Parameters:
|
|
580
580
|
# * {string} applicationId - ID associated with the application
|
|
@@ -624,7 +624,7 @@ module PlatformRest
|
|
|
624
624
|
# The client must be configured with a valid api
|
|
625
625
|
# access token to call this action. The token
|
|
626
626
|
# must include at least one of the following scopes:
|
|
627
|
-
# all.Application, all.Device, all.Organization, all.User, device.*, or device.sendCommand.
|
|
627
|
+
# all.Application, all.Application.bounded, all.Device, all.Organization, all.Organization.bounded, all.User, all.User.bounded, device.*, or device.sendCommand.
|
|
628
628
|
#
|
|
629
629
|
# Parameters:
|
|
630
630
|
# * {string} applicationId - ID associated with the application
|
|
@@ -673,7 +673,7 @@ module PlatformRest
|
|
|
673
673
|
# The client must be configured with a valid api
|
|
674
674
|
# access token to call this action. The token
|
|
675
675
|
# must include at least one of the following scopes:
|
|
676
|
-
# all.Application, all.Device, all.Organization, all.User, device.*, or device.sendState.
|
|
676
|
+
# all.Application, all.Application.bounded, all.Device, all.Organization, all.Organization.bounded, all.User, all.User.bounded, device.*, or device.sendState.
|
|
677
677
|
#
|
|
678
678
|
# Parameters:
|
|
679
679
|
# * {string} applicationId - ID associated with the application
|
|
@@ -722,7 +722,7 @@ module PlatformRest
|
|
|
722
722
|
# The client must be configured with a valid api
|
|
723
723
|
# access token to call this action. The token
|
|
724
724
|
# must include at least one of the following scopes:
|
|
725
|
-
# all.Application, all.Device, all.Organization, all.User, device.*, or device.setConnectionStatus.
|
|
725
|
+
# all.Application, all.Application.bounded, all.Device, all.Organization, all.Organization.bounded, all.User, all.User.bounded, device.*, or device.setConnectionStatus.
|
|
726
726
|
#
|
|
727
727
|
# Parameters:
|
|
728
728
|
# * {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, deviceAttribute.*, or deviceAttribute.delete.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, deviceAttribute.*, or deviceAttribute.delete.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the 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.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, deviceAttribute.*, or deviceAttribute.get.
|
|
88
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, deviceAttribute.*, or deviceAttribute.get.
|
|
89
89
|
#
|
|
90
90
|
# Parameters:
|
|
91
91
|
# * {string} applicationId - ID associated with the application
|
|
@@ -133,7 +133,7 @@ module PlatformRest
|
|
|
133
133
|
# The client must be configured with a valid api
|
|
134
134
|
# access token to call this action. The token
|
|
135
135
|
# must include at least one of the following scopes:
|
|
136
|
-
# all.Application, all.Organization, all.User, deviceAttribute.*, or deviceAttribute.patch.
|
|
136
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, deviceAttribute.*, or deviceAttribute.patch.
|
|
137
137
|
#
|
|
138
138
|
# Parameters:
|
|
139
139
|
# * {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.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, deviceAttributes.*, or deviceAttributes.get.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, deviceAttributes.*, or deviceAttributes.get.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -91,7 +91,7 @@ module PlatformRest
|
|
|
91
91
|
# The client must be configured with a valid api
|
|
92
92
|
# access token to call this action. The token
|
|
93
93
|
# must include at least one of the following scopes:
|
|
94
|
-
# all.Application, all.Organization, all.User, deviceAttributes.*, or deviceAttributes.post.
|
|
94
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, deviceAttributes.*, or deviceAttributes.post.
|
|
95
95
|
#
|
|
96
96
|
# Parameters:
|
|
97
97
|
# * {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, deviceRecipe.*, or deviceRecipe.bulkCreate.
|
|
40
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, deviceRecipe.*, or deviceRecipe.bulkCreate.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -87,7 +87,7 @@ module PlatformRest
|
|
|
87
87
|
# The client must be configured with a valid api
|
|
88
88
|
# access token to call this action. The token
|
|
89
89
|
# must include at least one of the following scopes:
|
|
90
|
-
# all.Application, all.Organization, all.User, deviceRecipe.*, or deviceRecipe.delete.
|
|
90
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, deviceRecipe.*, or deviceRecipe.delete.
|
|
91
91
|
#
|
|
92
92
|
# Parameters:
|
|
93
93
|
# * {string} applicationId - ID associated with the application
|
|
@@ -133,7 +133,7 @@ module PlatformRest
|
|
|
133
133
|
# The client must be configured with a valid api
|
|
134
134
|
# access token to call this action. The token
|
|
135
135
|
# must include at least one of the following scopes:
|
|
136
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, deviceRecipe.*, or deviceRecipe.get.
|
|
136
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, deviceRecipe.*, or deviceRecipe.get.
|
|
137
137
|
#
|
|
138
138
|
# Parameters:
|
|
139
139
|
# * {string} applicationId - ID associated with the application
|
|
@@ -183,7 +183,7 @@ module PlatformRest
|
|
|
183
183
|
# The client must be configured with a valid api
|
|
184
184
|
# access token to call this action. The token
|
|
185
185
|
# must include at least one of the following scopes:
|
|
186
|
-
# all.Application, all.Organization, all.User, deviceRecipe.*, or deviceRecipe.patch.
|
|
186
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, deviceRecipe.*, or deviceRecipe.patch.
|
|
187
187
|
#
|
|
188
188
|
# Parameters:
|
|
189
189
|
# * {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, deviceRecipes.*, or deviceRecipes.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, deviceRecipes.*, or deviceRecipes.get.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -97,7 +97,7 @@ module PlatformRest
|
|
|
97
97
|
# The client must be configured with a valid api
|
|
98
98
|
# access token to call this action. The token
|
|
99
99
|
# must include at least one of the following scopes:
|
|
100
|
-
# all.Application, all.Organization, all.User, deviceRecipes.*, or deviceRecipes.post.
|
|
100
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, deviceRecipes.*, or deviceRecipes.post.
|
|
101
101
|
#
|
|
102
102
|
# Parameters:
|
|
103
103
|
# * {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, devices.*, or devices.attributeNames.
|
|
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, devices.*, or devices.attributeNames.
|
|
41
41
|
#
|
|
42
42
|
# Parameters:
|
|
43
43
|
# * {string} applicationId - ID associated with the application
|
|
@@ -88,7 +88,7 @@ module PlatformRest
|
|
|
88
88
|
# The client must be configured with a valid api
|
|
89
89
|
# access token to call this action. The token
|
|
90
90
|
# must include at least one of the following scopes:
|
|
91
|
-
# all.Application, all.Organization, all.User, devices.*, or devices.delete.
|
|
91
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, devices.*, or devices.delete.
|
|
92
92
|
#
|
|
93
93
|
# Parameters:
|
|
94
94
|
# * {string} applicationId - ID associated with the application
|
|
@@ -136,7 +136,7 @@ module PlatformRest
|
|
|
136
136
|
# The client must be configured with a valid api
|
|
137
137
|
# access token to call this action. The token
|
|
138
138
|
# must include at least one of the following scopes:
|
|
139
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, devices.*, or devices.deviceNames.
|
|
139
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, devices.*, or devices.deviceNames.
|
|
140
140
|
#
|
|
141
141
|
# Parameters:
|
|
142
142
|
# * {string} applicationId - ID associated with the application
|
|
@@ -185,7 +185,7 @@ module PlatformRest
|
|
|
185
185
|
# The client must be configured with a valid api
|
|
186
186
|
# access token to call this action. The token
|
|
187
187
|
# must include at least one of the following scopes:
|
|
188
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, devices.*, or devices.export.
|
|
188
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, devices.*, or devices.export.
|
|
189
189
|
#
|
|
190
190
|
# Parameters:
|
|
191
191
|
# * {string} applicationId - ID associated with the application
|
|
@@ -235,7 +235,7 @@ module PlatformRest
|
|
|
235
235
|
# The client must be configured with a valid api
|
|
236
236
|
# access token to call this action. The token
|
|
237
237
|
# must include at least one of the following scopes:
|
|
238
|
-
# all.Application, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, devices.*, or devices.get.
|
|
238
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, devices.*, or devices.get.
|
|
239
239
|
#
|
|
240
240
|
# Parameters:
|
|
241
241
|
# * {string} applicationId - ID associated with the application
|
|
@@ -308,7 +308,7 @@ module PlatformRest
|
|
|
308
308
|
# The client must be configured with a valid api
|
|
309
309
|
# access token to call this action. The token
|
|
310
310
|
# must include at least one of the following scopes:
|
|
311
|
-
# all.Application, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, devices.*, or devices.getCompositeState.
|
|
311
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, devices.*, or devices.getCompositeState.
|
|
312
312
|
#
|
|
313
313
|
# Parameters:
|
|
314
314
|
# * {string} applicationId - ID associated with the application
|
|
@@ -369,7 +369,7 @@ module PlatformRest
|
|
|
369
369
|
# The client must be configured with a valid api
|
|
370
370
|
# access token to call this action. The token
|
|
371
371
|
# must include at least one of the following scopes:
|
|
372
|
-
# all.Application, all.Organization, all.User, devices.*, or devices.patch.
|
|
372
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, devices.*, or devices.patch.
|
|
373
373
|
#
|
|
374
374
|
# Parameters:
|
|
375
375
|
# * {string} applicationId - ID associated with the application
|
|
@@ -417,7 +417,7 @@ module PlatformRest
|
|
|
417
417
|
# The client must be configured with a valid api
|
|
418
418
|
# access token to call this action. The token
|
|
419
419
|
# must include at least one of the following scopes:
|
|
420
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, devices.*, or devices.payloadCounts.
|
|
420
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, devices.*, or devices.payloadCounts.
|
|
421
421
|
#
|
|
422
422
|
# Parameters:
|
|
423
423
|
# * {string} applicationId - ID associated with the application
|
|
@@ -463,7 +463,7 @@ module PlatformRest
|
|
|
463
463
|
# The client must be configured with a valid api
|
|
464
464
|
# access token to call this action. The token
|
|
465
465
|
# must include at least one of the following scopes:
|
|
466
|
-
# all.Application, all.Organization, all.User, devices.*, or devices.post.
|
|
466
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, devices.*, or devices.post.
|
|
467
467
|
#
|
|
468
468
|
# Parameters:
|
|
469
469
|
# * {string} applicationId - ID associated with the application
|
|
@@ -514,7 +514,7 @@ module PlatformRest
|
|
|
514
514
|
# The client must be configured with a valid api
|
|
515
515
|
# access token to call this action. The token
|
|
516
516
|
# must include at least one of the following scopes:
|
|
517
|
-
# all.Application, all.Organization, all.User, devices.*, or devices.removeData.
|
|
517
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, devices.*, or devices.removeData.
|
|
518
518
|
#
|
|
519
519
|
# Parameters:
|
|
520
520
|
# * {string} applicationId - ID associated with the application
|
|
@@ -561,7 +561,7 @@ module PlatformRest
|
|
|
561
561
|
# The client must be configured with a valid api
|
|
562
562
|
# access token to call this action. The token
|
|
563
563
|
# must include at least one of the following scopes:
|
|
564
|
-
# all.Application, all.Organization, all.User, devices.*, or devices.restore.
|
|
564
|
+
# all.Application, all.Application.bounded, all.Organization, all.Organization.bounded, all.User, all.User.bounded, devices.*, or devices.restore.
|
|
565
565
|
#
|
|
566
566
|
# Parameters:
|
|
567
567
|
# * {string} applicationId - ID associated with the application
|
|
@@ -609,7 +609,7 @@ module PlatformRest
|
|
|
609
609
|
# The client must be configured with a valid api
|
|
610
610
|
# access token to call this action. The token
|
|
611
611
|
# must include at least one of the following scopes:
|
|
612
|
-
# all.Application, all.Device, all.Organization, all.User, devices.*, or devices.sendCommand.
|
|
612
|
+
# all.Application, all.Application.bounded, all.Device, all.Organization, all.Organization.bounded, all.User, all.User.bounded, devices.*, or devices.sendCommand.
|
|
613
613
|
#
|
|
614
614
|
# Parameters:
|
|
615
615
|
# * {string} applicationId - ID associated with the application
|
|
@@ -657,7 +657,7 @@ module PlatformRest
|
|
|
657
657
|
# The client must be configured with a valid api
|
|
658
658
|
# access token to call this action. The token
|
|
659
659
|
# must include at least one of the following scopes:
|
|
660
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, devices.*, or devices.tagKeys.
|
|
660
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, devices.*, or devices.tagKeys.
|
|
661
661
|
#
|
|
662
662
|
# Parameters:
|
|
663
663
|
# * {string} applicationId - ID associated with the application
|
|
@@ -706,7 +706,7 @@ module PlatformRest
|
|
|
706
706
|
# The client must be configured with a valid api
|
|
707
707
|
# access token to call this action. The token
|
|
708
708
|
# must include at least one of the following scopes:
|
|
709
|
-
# all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, devices.*, or devices.tagValues.
|
|
709
|
+
# all.Application, all.Application.bounded, all.Application.read, all.Organization, all.Organization.bounded, all.Organization.read, all.User, all.User.bounded, all.User.read, devices.*, or devices.tagValues.
|
|
710
710
|
#
|
|
711
711
|
# Parameters:
|
|
712
712
|
# * {string} applicationId - ID associated with the application
|