losant_rest 1.10.4 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +213 -6
  3. data/docs/applicationApiTokens.md +1 -1
  4. data/docs/applicationCertificateAuthorities.md +1 -1
  5. data/docs/applicationCertificates.md +1 -1
  6. data/docs/applicationKeys.md +1 -1
  7. data/docs/applicationTemplates.md +1 -1
  8. data/docs/applications.md +1 -1
  9. data/docs/auditLogs.md +1 -1
  10. data/docs/dashboards.md +1 -1
  11. data/docs/dataTables.md +1 -1
  12. data/docs/deviceRecipes.md +1 -1
  13. data/docs/devices.md +1 -1
  14. data/docs/edgeDeployments.md +1 -1
  15. data/docs/events.md +1 -1
  16. data/docs/experienceGroups.md +1 -1
  17. data/docs/experienceUsers.md +1 -1
  18. data/docs/experienceVersions.md +1 -1
  19. data/docs/experienceViews.md +1 -1
  20. data/docs/files.md +1 -1
  21. data/docs/flowVersions.md +1 -1
  22. data/docs/flows.md +2 -2
  23. data/docs/integrations.md +1 -1
  24. data/docs/notebooks.md +1 -1
  25. data/docs/orgs.md +1 -1
  26. data/docs/webhooks.md +1 -1
  27. data/lib/losant_rest/client.rb +2 -2
  28. data/lib/losant_rest/version.rb +1 -1
  29. data/schemas/applicationApiTokenPost.json +1 -0
  30. data/schemas/authedUser.json +3 -0
  31. data/schemas/changePassword.json +1 -1
  32. data/schemas/dashboard.json +3 -0
  33. data/schemas/dashboardPatch.json +3 -0
  34. data/schemas/dashboardPost.json +3 -0
  35. data/schemas/dashboards.json +3 -0
  36. data/schemas/deviceAttributeDataTypeFilter.json +29 -0
  37. data/schemas/deviceClassFilter.json +1 -2
  38. data/schemas/experienceLinkedResources.json +24 -0
  39. data/schemas/flow.json +8 -0
  40. data/schemas/flowPatch.json +8 -0
  41. data/schemas/flowPost.json +8 -0
  42. data/schemas/flowVersion.json +16 -0
  43. data/schemas/flowVersionPost.json +8 -0
  44. data/schemas/flowVersions.json +16 -0
  45. data/schemas/flows.json +8 -0
  46. data/schemas/flowsImportPost.json +16 -0
  47. data/schemas/flowsImportResult.json +24 -0
  48. data/schemas/githubLogin.json +1 -0
  49. data/schemas/me.json +3 -0
  50. data/schemas/mePatch.json +1 -1
  51. data/schemas/passwordResetFinish.json +1 -1
  52. data/schemas/userCredentials.json +1 -0
  53. data/schemas/userPost.json +2 -1
  54. metadata +3 -2
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: name, status, id, creationDate, lastUpdated, expirationDate | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name, status | | key |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*token |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: name, status, id, creationDate, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name, status | | name |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | the*name |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: certificateInfo.commonName, status, id, creationDate, lastUpdated | certificateInfo.commonName | status |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: certificateInfo.commonName, status | | status |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | the*status |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: key, status, id, creationDate, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: key, status | | key |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | the*key |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -34,7 +34,7 @@ all.User, all.User.read, applicationTemplates.*, or applicationTemplates.get.
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name, authorName | | name |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my * app |
40
40
  | keywords | array | N | List of keywords to filter by. Matches all provided keywords. | | [ 'gps', 'aws' ] |
@@ -34,7 +34,7 @@ all.Organization, all.Organization.read, all.User, all.User.read, applications.*
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, ownerId, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my * app |
40
40
  | orgId | string | N | If not provided, return all applications. If provided but blank, only return applications belonging to the current user. If provided and an id, only return applications belonging to the given organization id. | | 575ecdf07ae143cd83dc4a9a |
@@ -33,7 +33,7 @@ all.Organization, all.Organization.read, all.User, all.User.read, auditLogs.*, o
33
33
  | sortField | string | N | Field to sort the results by. Accepted values are: creationDate, responseStatus, actorName | creationDate | creationDate |
34
34
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | desc | asc |
35
35
  | page | string | N | Which page of results to return | 0 | 0 |
36
- | perPage | string | N | How many items to return per page | 1000 | 10 |
36
+ | perPage | string | N | How many items to return per page | 100 | 10 |
37
37
  | start | string | N | Start of time range for audit log query | | 1465790400000 |
38
38
  | end | string | N | End of time range for audit log query | | 1465790400000 |
39
39
  | auditLogFilter | [Audit Log Filter](_schemas.md#audit-log-filter) | N | Filters for the audit log query | | [Audit Log Filter Example](_schemas.md#audit-log-filter-example) |
@@ -33,7 +33,7 @@ all.Organization, all.Organization.read, all.User, all.User.read, dashboards.*,
33
33
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, ownerId, applicationId | name | name |
34
34
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
35
35
  | page | string | N | Which page of results to return | 0 | 0 |
36
- | perPage | string | N | How many items to return per page | 1000 | 10 |
36
+ | perPage | string | N | How many items to return per page | 100 | 10 |
37
37
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
38
38
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my * dashboard |
39
39
  | applicationId | string | N | If not provided, return all dashboards. If provided but blank, only return dashboards that are not linked to applications. If provided and an id, only return dashboards linked to the given application id. | | 575ec8687ae143cd83dc4a97 |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*table |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my * recipe |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -120,7 +120,7 @@ all.Application, all.Application.read, all.Device, all.Device.read, all.Organiza
120
120
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated | name | name |
121
121
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
122
122
  | page | string | N | Which page of results to return | 0 | 0 |
123
- | perPage | string | N | How many items to return per page | 1000 | 10 |
123
+ | perPage | string | N | How many items to return per page | 100 | 10 |
124
124
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
125
125
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my * device |
126
126
  | deviceClass | [Device Class Filter](_schemas.md#device-class-filter) | N | Filter the devices by the given device class or classes | | [Device Class Filter Example](_schemas.md#device-class-filter-example) |
@@ -36,7 +36,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
36
36
  | sortField | string | N | Field to sort the results by. Accepted values are: id, deviceId, flowId, desiredVersion, currentVersion, creationDate, lastUpdated | lastUpdated | creationDate |
37
37
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
38
38
  | page | string | N | Which page of results to return | 0 | 0 |
39
- | perPage | string | N | How many items to return per page | 1000 | 10 |
39
+ | perPage | string | N | How many items to return per page | 100 | 10 |
40
40
  | deviceId | string | N | Filter deployments to the given Device ID | | 575ecf887ae143cd83dc4aa2 |
41
41
  | version | string | N | Filter deployments to the given Workflow Version (matches against both current and desired) | | myFlowVersion |
42
42
  | filterEmpty | undefined | N | Filter out deployments where both the current and desired version are null. | | true |
@@ -114,7 +114,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
114
114
  | sortField | string | N | Field to sort the results by. Accepted values are: subject, id, creationDate, lastUpdated, level, state, deviceId | creationDate | subject |
115
115
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | desc | asc |
116
116
  | page | string | N | Which page of results to return | 0 | 0 |
117
- | perPage | string | N | How many items to return per page | 1000 | 10 |
117
+ | perPage | string | N | How many items to return per page | 100 | 10 |
118
118
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: subject | | subject |
119
119
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | abnormal power to * |
120
120
  | state | string | N | If provided, return events only in the given state. Accepted values are: new, acknowledged, resolved | | new |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*group |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: firstName, lastName, email, id, creationDate, lastLogin, lastUpdated | email | email |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: firstName, lastName, email | | email |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*user |
40
40
  | experienceGroupId | string | N | Filter users to those only in the specified group, special experienceGroupIds of 'any' which will give users who are in at least one group and 'none' will give you users who are not in any groups. | | 575ec8687ae143cd83dc4a97 |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: version, id, creationDate, lastUpdated | version | version |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: version | | email |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*version |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: id, creationDate, name, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*view |
40
40
  | viewType | string | N | Filter views to those only of the given type. Accepted values are: page, layout, component | | page |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: lastUpdated, type, name, creationDate | lastUpdated | subject |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | myFile |
40
40
  | type | string | N | Limit by the type (file or directory) of the file | | file |
@@ -37,7 +37,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
37
37
  | sortField | string | N | Field to sort the results by. Accepted values are: version, id, creationDate, lastUpdated | version | version |
38
38
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
39
39
  | page | string | N | Which page of results to return | 0 | 0 |
40
- | perPage | string | N | How many items to return per page | 1000 | 10 |
40
+ | perPage | string | N | How many items to return per page | 100 | 10 |
41
41
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: version | | version |
42
42
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*version |
43
43
  | includeCustomNodes | string | N | If the result of the request should also include the details of any custom nodes referenced by the returned workflows | false | true |
@@ -36,7 +36,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
36
36
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated | name | name |
37
37
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
38
38
  | page | string | N | Which page of results to return | 0 | 0 |
39
- | perPage | string | N | How many items to return per page | 1000 | 10 |
39
+ | perPage | string | N | How many items to return per page | 100 | 10 |
40
40
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
41
41
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*flow |
42
42
  | flowClass | string | N | Filter the workflows by the given flow class. Accepted values are: edge, cloud, customNode, experience | cloud | cloud |
@@ -84,7 +84,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
84
84
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated | name | name |
85
85
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
86
86
  | page | string | N | Which page of results to return | 0 | 0 |
87
- | perPage | string | N | How many items to return per page | 1000 | 10 |
87
+ | perPage | string | N | How many items to return per page | 100 | 10 |
88
88
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
89
89
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*flow |
90
90
  | flowClass | string | N | Filter the workflows by the given flow class. Accepted values are: edge, cloud, customNode, experience | cloud | cloud |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, integrationType, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name, integrationType | | integrationType |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*integration |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*notebook |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -33,7 +33,7 @@ all.User, all.User.read, orgs.*, or orgs.get.
33
33
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated | name | name |
34
34
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
35
35
  | page | string | N | Which page of results to return | 0 | 0 |
36
- | perPage | string | N | How many items to return per page | 1000 | 10 |
36
+ | perPage | string | N | How many items to return per page | 100 | 10 |
37
37
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
38
38
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*org |
39
39
  | summaryExclude | string | N | Comma-separated list of summary fields to exclude from org summaries | | payloadCount |
@@ -34,7 +34,7 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
34
34
  | sortField | string | N | Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
- | perPage | string | N | How many items to return per page | 1000 | 10 |
37
+ | perPage | string | N | How many items to return per page | 100 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
39
39
  | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*webhook |
40
40
  | losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
@@ -27,7 +27,7 @@ module LosantRest
27
27
  #
28
28
  # User API for accessing Losant data
29
29
  #
30
- # Built For Version 1.17.4
30
+ # Built For Version 1.18.0
31
31
  class Client
32
32
  attr_accessor :auth_token, :url
33
33
 
@@ -282,7 +282,7 @@ module LosantRest
282
282
 
283
283
  headers["Accept"] = "application/json"
284
284
  headers["Content-Type"] = "application/json"
285
- headers["Accept-Version"] = "^1.17.4"
285
+ headers["Accept-Version"] = "^1.18.0"
286
286
  headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
287
287
  path = self.url + options.fetch(:path, "")
288
288
 
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module LosantRest
24
- VERSION = "1.10.4"
24
+ VERSION = "1.11.0"
25
25
  end
@@ -149,6 +149,7 @@
149
149
  "deviceRecipe.patch",
150
150
  "deviceRecipes.get",
151
151
  "deviceRecipes.post",
152
+ "devices.attributeNames",
152
153
  "devices.patch",
153
154
  "devices.delete",
154
155
  "devices.removeData",
@@ -9,6 +9,9 @@
9
9
  "token": {
10
10
  "type": "string",
11
11
  "minLength": 1
12
+ },
13
+ "needsToVerifyEmail": {
14
+ "type": "boolean"
12
15
  }
13
16
  },
14
17
  "required": [
@@ -15,7 +15,7 @@
15
15
  "type": "string",
16
16
  "minLength": 12,
17
17
  "maxLength": 2048,
18
- "pattern": "^(?=.*[A-Z])(?=.*[^A-z0-9])(?=.*[0-9])(?=.*[a-z]).{12,}$"
18
+ "pattern": "^(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.*[0-9])(?=.*[a-z]).{12,}$"
19
19
  },
20
20
  "invalidateExistingTokens": {
21
21
  "type": "boolean"
@@ -1301,6 +1301,9 @@
1301
1301
  "type": "string",
1302
1302
  "maxLength": 255
1303
1303
  }
1304
+ },
1305
+ "includeDeviceInfo": {
1306
+ "type": "boolean"
1304
1307
  }
1305
1308
  },
1306
1309
  "additionalProperties": false
@@ -1183,6 +1183,9 @@
1183
1183
  "type": "string",
1184
1184
  "maxLength": 255
1185
1185
  }
1186
+ },
1187
+ "includeDeviceInfo": {
1188
+ "type": "boolean"
1186
1189
  }
1187
1190
  },
1188
1191
  "additionalProperties": false
@@ -1191,6 +1191,9 @@
1191
1191
  "type": "string",
1192
1192
  "maxLength": 255
1193
1193
  }
1194
+ },
1195
+ "includeDeviceInfo": {
1196
+ "type": "boolean"
1194
1197
  }
1195
1198
  },
1196
1199
  "additionalProperties": false
@@ -1308,6 +1308,9 @@
1308
1308
  "type": "string",
1309
1309
  "maxLength": 255
1310
1310
  }
1311
+ },
1312
+ "includeDeviceInfo": {
1313
+ "type": "boolean"
1311
1314
  }
1312
1315
  },
1313
1316
  "additionalProperties": false
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "oneOf": [
4
+ {
5
+ "type": "string",
6
+ "enum": [
7
+ "string",
8
+ "number",
9
+ "gps",
10
+ "boolean",
11
+ "blob"
12
+ ]
13
+ },
14
+ {
15
+ "type": "array",
16
+ "minItems": 1,
17
+ "items": {
18
+ "type": "string",
19
+ "enum": [
20
+ "string",
21
+ "number",
22
+ "gps",
23
+ "boolean",
24
+ "blob"
25
+ ]
26
+ }
27
+ }
28
+ ]
29
+ }
@@ -24,8 +24,7 @@
24
24
  "edgeCompute",
25
25
  "system"
26
26
  ]
27
- },
28
- "additionalProperties": false
27
+ }
29
28
  }
30
29
  ]
31
30
  }
@@ -1815,6 +1815,10 @@
1815
1815
  "type": "string",
1816
1816
  "maxLength": 1024
1817
1817
  },
1818
+ "writeOnOpenEncoding": {
1819
+ "type": "string",
1820
+ "maxLength": 48
1821
+ },
1818
1822
  "byteLength": {
1819
1823
  "type": "string",
1820
1824
  "maxLength": 48
@@ -1822,6 +1826,10 @@
1822
1826
  "delimiter": {
1823
1827
  "type": "string",
1824
1828
  "maxLength": 48
1829
+ },
1830
+ "delimiterEncoding": {
1831
+ "type": "string",
1832
+ "maxLength": 48
1825
1833
  }
1826
1834
  },
1827
1835
  "additionalProperties": false
@@ -4044,6 +4052,10 @@
4044
4052
  "type": "string",
4045
4053
  "maxLength": 1024
4046
4054
  },
4055
+ "writeOnOpenEncoding": {
4056
+ "type": "string",
4057
+ "maxLength": 48
4058
+ },
4047
4059
  "byteLength": {
4048
4060
  "type": "string",
4049
4061
  "maxLength": 48
@@ -4051,6 +4063,10 @@
4051
4063
  "delimiter": {
4052
4064
  "type": "string",
4053
4065
  "maxLength": 48
4066
+ },
4067
+ "delimiterEncoding": {
4068
+ "type": "string",
4069
+ "maxLength": 48
4054
4070
  }
4055
4071
  },
4056
4072
  "additionalProperties": false
@@ -6223,6 +6239,10 @@
6223
6239
  "type": "string",
6224
6240
  "maxLength": 1024
6225
6241
  },
6242
+ "writeOnOpenEncoding": {
6243
+ "type": "string",
6244
+ "maxLength": 48
6245
+ },
6226
6246
  "byteLength": {
6227
6247
  "type": "string",
6228
6248
  "maxLength": 48
@@ -6230,6 +6250,10 @@
6230
6250
  "delimiter": {
6231
6251
  "type": "string",
6232
6252
  "maxLength": 48
6253
+ },
6254
+ "delimiterEncoding": {
6255
+ "type": "string",
6256
+ "maxLength": 48
6233
6257
  }
6234
6258
  },
6235
6259
  "additionalProperties": false