losant_rest 1.9.2 → 1.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +9757 -8758
  3. data/docs/application.md +81 -2
  4. data/docs/applicationTemplates.md +50 -0
  5. data/docs/auth.md +72 -0
  6. data/docs/devices.md +1 -0
  7. data/lib/losant_rest/application.rb +93 -2
  8. data/lib/losant_rest/application_templates.rb +88 -0
  9. data/lib/losant_rest/auth.rb +84 -0
  10. data/lib/losant_rest/client.rb +6 -2
  11. data/lib/losant_rest/devices.rb +3 -0
  12. data/lib/losant_rest/version.rb +2 -2
  13. data/lib/losant_rest.rb +1 -0
  14. data/schemas/advancedDeviceQuery.json +901 -0
  15. data/schemas/advancedEventQuery.json +177 -13
  16. data/schemas/advancedQuery.json +3 -0
  17. data/schemas/application.json +2 -2
  18. data/schemas/applicationCreationByTemplateResult.json +2 -2
  19. data/schemas/applicationPatch.json +2 -2
  20. data/schemas/applicationPost.json +6 -2
  21. data/schemas/applicationReadme.json +29 -0
  22. data/schemas/applicationReadmePatch.json +11 -0
  23. data/schemas/applicationTemplate.json +87 -0
  24. data/schemas/applicationTemplates.json +128 -0
  25. data/schemas/applications.json +2 -2
  26. data/schemas/dashboard.json +4 -0
  27. data/schemas/dashboardPatch.json +4 -0
  28. data/schemas/dashboardPost.json +4 -0
  29. data/schemas/dashboards.json +4 -0
  30. data/schemas/dataTableRows.json +3 -0
  31. data/schemas/dataTableRowsExport.json +3 -0
  32. data/schemas/devices.json +3 -0
  33. data/schemas/events.json +1 -816
  34. data/schemas/eventsExport.json +177 -13
  35. data/schemas/githubLogin.json +2 -0
  36. data/schemas/me.json +3 -0
  37. data/schemas/org.json +8 -0
  38. data/schemas/orgPatch.json +9 -0
  39. data/schemas/orgPost.json +9 -0
  40. data/schemas/orgs.json +8 -0
  41. data/schemas/samlResponse.json +21 -0
  42. data/schemas/ssoRequest.json +20 -0
  43. data/schemas/userCredentials.json +2 -0
  44. data/schemas/userPost.json +2 -0
  45. metadata +12 -4
@@ -927,6 +927,10 @@
927
927
  }
928
928
  ]
929
929
  },
930
+ "query": {
931
+ "type": "string",
932
+ "maxLength": 32767
933
+ },
930
934
  "columns": {
931
935
  "type": "array",
932
936
  "maxItems": 100,
@@ -809,6 +809,10 @@
809
809
  }
810
810
  ]
811
811
  },
812
+ "query": {
813
+ "type": "string",
814
+ "maxLength": 32767
815
+ },
812
816
  "columns": {
813
817
  "type": "array",
814
818
  "maxItems": 100,
@@ -817,6 +817,10 @@
817
817
  }
818
818
  ]
819
819
  },
820
+ "query": {
821
+ "type": "string",
822
+ "maxLength": 32767
823
+ },
820
824
  "columns": {
821
825
  "type": "array",
822
826
  "maxItems": 100,
@@ -934,6 +934,10 @@
934
934
  }
935
935
  ]
936
936
  },
937
+ "query": {
938
+ "type": "string",
939
+ "maxLength": 32767
940
+ },
937
941
  "columns": {
938
942
  "type": "array",
939
943
  "maxItems": 100,
@@ -66,6 +66,9 @@
66
66
  "applicationId": {
67
67
  "type": "string",
68
68
  "pattern": "^[A-Fa-f\\d]{24}$"
69
+ },
70
+ "query": {
71
+ "type": "object"
69
72
  }
70
73
  }
71
74
  }
@@ -98,6 +98,9 @@
98
98
  "$contains": {
99
99
  "type": "string",
100
100
  "minLength": 1
101
+ },
102
+ "$ci": {
103
+ "type": "boolean"
101
104
  }
102
105
  },
103
106
  "additionalProperties": false
data/schemas/devices.json CHANGED
@@ -311,6 +311,9 @@
311
311
  "type": "null"
312
312
  }
313
313
  ]
314
+ },
315
+ "query": {
316
+ "type": "object"
314
317
  }
315
318
  }
316
319
  }