losant_rest 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/_schemas.md +2454 -666
- data/docs/application.md +21 -21
- 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 +2 -2
- data/docs/applicationDashboard.md +4 -4
- 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 +4 -4
- data/docs/auditLog.md +1 -1
- data/docs/auditLogs.md +1 -1
- data/docs/credential.md +4 -4
- data/docs/credentials.md +2 -2
- data/docs/dashboard.md +3 -3
- data/docs/dashboards.md +2 -2
- data/docs/data.md +3 -3
- data/docs/dataTable.md +5 -5
- data/docs/dataTableRow.md +3 -3
- data/docs/dataTableRows.md +6 -6
- data/docs/dataTables.md +2 -2
- data/docs/device.md +14 -14
- 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 +4 -4
- data/docs/embeddedDeployment.md +1 -1
- data/docs/embeddedDeployments.md +5 -5
- data/docs/event.md +3 -3
- data/docs/events.md +6 -6
- data/docs/experience.md +2 -2
- 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 +5 -5
- data/docs/files.md +2 -2
- data/docs/flow.md +11 -11
- data/docs/flowVersion.md +6 -6
- data/docs/flowVersions.md +3 -3
- data/docs/flows.md +5 -5
- data/docs/instance.md +8 -8
- data/docs/instanceApiToken.md +1 -1
- data/docs/instanceApiTokens.md +1 -1
- 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 +1 -1
- data/docs/instanceMembers.md +1 -1
- data/docs/instanceNotificationRule.md +5 -5
- data/docs/instanceNotificationRules.md +2 -2
- data/docs/instanceOrg.md +7 -7
- data/docs/instanceOrgInvite.md +1 -1
- data/docs/instanceOrgInvites.md +1 -1
- data/docs/instanceOrgMember.md +1 -1
- data/docs/instanceOrgMembers.md +1 -1
- data/docs/instanceOrgs.md +2 -2
- 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 +20 -20
- data/docs/notebook.md +9 -9
- data/docs/notebooks.md +2 -2
- data/docs/org.md +13 -13
- data/docs/orgs.md +2 -2
- data/docs/privateFile.md +5 -5
- data/docs/privateFiles.md +2 -2
- data/docs/resourceJob.md +6 -6
- data/docs/resourceJobs.md +2 -2
- data/docs/userApiToken.md +3 -3
- data/docs/userApiTokens.md +2 -2
- 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 +20 -20
- 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 +2 -2
- data/lib/platform_rest/application_dashboard.rb +4 -4
- 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 +3 -3
- data/lib/platform_rest/dashboards.rb +2 -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 +3 -3
- data/lib/platform_rest/data_table_rows.rb +6 -6
- data/lib/platform_rest/data_tables.rb +2 -2
- data/lib/platform_rest/device.rb +14 -14
- 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 +4 -4
- data/lib/platform_rest/embedded_deployment.rb +1 -1
- data/lib/platform_rest/embedded_deployments.rb +5 -5
- data/lib/platform_rest/event.rb +3 -3
- data/lib/platform_rest/events.rb +6 -6
- data/lib/platform_rest/experience.rb +2 -2
- 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 +4 -4
- 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 +1 -1
- 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 +1 -1
- 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 +7 -7
- data/lib/platform_rest/instance_org_invite.rb +1 -1
- data/lib/platform_rest/instance_org_invites.rb +1 -1
- data/lib/platform_rest/instance_org_member.rb +1 -1
- data/lib/platform_rest/instance_org_members.rb +1 -1
- data/lib/platform_rest/instance_orgs.rb +2 -2
- 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 +20 -20
- data/lib/platform_rest/notebook.rb +8 -8
- data/lib/platform_rest/notebooks.rb +2 -2
- data/lib/platform_rest/org.rb +13 -13
- data/lib/platform_rest/orgs.rb +2 -2
- data/lib/platform_rest/private_file.rb +4 -4
- data/lib/platform_rest/private_files.rb +2 -2
- data/lib/platform_rest/resource_job.rb +6 -6
- 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 +2 -2
- 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/apiToken.json +100 -0
- data/schemas/apiTokenPatch.json +100 -0
- data/schemas/apiTokenPost.json +118 -0
- data/schemas/apiTokens.json +100 -0
- data/schemas/applicationDashboardPost.json +4 -0
- data/schemas/dashboard.json +4 -0
- data/schemas/dashboardPatch.json +4 -0
- data/schemas/dashboardPost.json +4 -0
- data/schemas/dashboards.json +4 -0
- data/schemas/githubLogin.json +18 -0
- data/schemas/instanceOrgMemberPatch.json +2 -2
- data/schemas/instanceOrgMemberPost.json +4 -4
- data/schemas/instanceOrgPost.json +4 -4
- 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 +2 -2
- data/schemas/orgInvite.json +2 -2
- data/schemas/orgInviteCollection.json +2 -2
- data/schemas/orgInvitePost.json +2 -2
- data/schemas/orgInvites.json +2 -2
- data/schemas/orgMemberPatch.json +2 -2
- data/schemas/orgRoleInfo.json +2 -2
- data/schemas/orgs.json +2 -2
- data/schemas/samlResponse.json +18 -0
- data/schemas/userCredentials.json +18 -0
- data/schemas/userOauthToken.json +207 -0
- data/schemas/userOauthTokenPatch.json +123 -0
- data/schemas/userOauthTokenPost.json +197 -0
- data/schemas/userOauthTokens.json +248 -0
- data/schemas/userPost.json +18 -0
- metadata +13 -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, 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.0
|
|
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.0"
|
|
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
|
|
@@ -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
|
|
@@ -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)
|
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,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, 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
|
|
@@ -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
|
|
@@ -192,7 +192,7 @@ module PlatformRest
|
|
|
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
|
|
@@ -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
|
|
@@ -193,7 +193,7 @@ module PlatformRest
|
|
|
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
|