@xyteai/cli 0.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.
Files changed (251) hide show
  1. package/LICENSE +176 -0
  2. package/README.md +245 -0
  3. package/dist/bin/xyte-cli.d.ts +3 -0
  4. package/dist/bin/xyte-cli.d.ts.map +1 -0
  5. package/dist/bin/xyte-cli.js +18 -0
  6. package/dist/bin/xyte-cli.js.map +1 -0
  7. package/dist/cli/index.d.ts +24 -0
  8. package/dist/cli/index.d.ts.map +1 -0
  9. package/dist/cli/index.js +1185 -0
  10. package/dist/cli/index.js.map +1 -0
  11. package/dist/client/catalog.d.ts +6 -0
  12. package/dist/client/catalog.d.ts.map +1 -0
  13. package/dist/client/catalog.js +32 -0
  14. package/dist/client/catalog.js.map +1 -0
  15. package/dist/client/create-client.d.ts +3 -0
  16. package/dist/client/create-client.d.ts.map +1 -0
  17. package/dist/client/create-client.js +235 -0
  18. package/dist/client/create-client.js.map +1 -0
  19. package/dist/config/connectivity.d.ts +19 -0
  20. package/dist/config/connectivity.d.ts.map +1 -0
  21. package/dist/config/connectivity.js +166 -0
  22. package/dist/config/connectivity.js.map +1 -0
  23. package/dist/config/readiness.d.ts +32 -0
  24. package/dist/config/readiness.d.ts.map +1 -0
  25. package/dist/config/readiness.js +96 -0
  26. package/dist/config/readiness.js.map +1 -0
  27. package/dist/config/retry-policy.d.ts +16 -0
  28. package/dist/config/retry-policy.d.ts.map +1 -0
  29. package/dist/config/retry-policy.js +24 -0
  30. package/dist/config/retry-policy.js.map +1 -0
  31. package/dist/contracts/call-envelope.d.ts +74 -0
  32. package/dist/contracts/call-envelope.d.ts.map +1 -0
  33. package/dist/contracts/call-envelope.js +72 -0
  34. package/dist/contracts/call-envelope.js.map +1 -0
  35. package/dist/contracts/problem.d.ts +11 -0
  36. package/dist/contracts/problem.d.ts.map +1 -0
  37. package/dist/contracts/problem.js +55 -0
  38. package/dist/contracts/problem.js.map +1 -0
  39. package/dist/contracts/versions.d.ts +6 -0
  40. package/dist/contracts/versions.d.ts.map +1 -0
  41. package/dist/contracts/versions.js +9 -0
  42. package/dist/contracts/versions.js.map +1 -0
  43. package/dist/http/errors.d.ts +24 -0
  44. package/dist/http/errors.d.ts.map +1 -0
  45. package/dist/http/errors.js +39 -0
  46. package/dist/http/errors.js.map +1 -0
  47. package/dist/http/transport.d.ts +35 -0
  48. package/dist/http/transport.d.ts.map +1 -0
  49. package/dist/http/transport.js +129 -0
  50. package/dist/http/transport.js.map +1 -0
  51. package/dist/index.d.ts +10 -0
  52. package/dist/index.d.ts.map +1 -0
  53. package/dist/index.js +23 -0
  54. package/dist/index.js.map +1 -0
  55. package/dist/mcp/server.d.ts +12 -0
  56. package/dist/mcp/server.d.ts.map +1 -0
  57. package/dist/mcp/server.js +404 -0
  58. package/dist/mcp/server.js.map +1 -0
  59. package/dist/namespaces/device.d.ts +38 -0
  60. package/dist/namespaces/device.d.ts.map +1 -0
  61. package/dist/namespaces/device.js +36 -0
  62. package/dist/namespaces/device.js.map +1 -0
  63. package/dist/namespaces/organization.d.ts +27 -0
  64. package/dist/namespaces/organization.d.ts.map +1 -0
  65. package/dist/namespaces/organization.js +30 -0
  66. package/dist/namespaces/organization.js.map +1 -0
  67. package/dist/namespaces/partner.d.ts +18 -0
  68. package/dist/namespaces/partner.d.ts.map +1 -0
  69. package/dist/namespaces/partner.js +21 -0
  70. package/dist/namespaces/partner.js.map +1 -0
  71. package/dist/observability/logger.d.ts +3 -0
  72. package/dist/observability/logger.d.ts.map +1 -0
  73. package/dist/observability/logger.js +21 -0
  74. package/dist/observability/logger.js.map +1 -0
  75. package/dist/observability/tracing.d.ts +3 -0
  76. package/dist/observability/tracing.d.ts.map +1 -0
  77. package/dist/observability/tracing.js +26 -0
  78. package/dist/observability/tracing.js.map +1 -0
  79. package/dist/secure/key-slots.d.ts +8 -0
  80. package/dist/secure/key-slots.d.ts.map +1 -0
  81. package/dist/secure/key-slots.js +47 -0
  82. package/dist/secure/key-slots.js.map +1 -0
  83. package/dist/secure/keychain.d.ts +20 -0
  84. package/dist/secure/keychain.d.ts.map +1 -0
  85. package/dist/secure/keychain.js +170 -0
  86. package/dist/secure/keychain.js.map +1 -0
  87. package/dist/secure/profile-store.d.ts +66 -0
  88. package/dist/secure/profile-store.d.ts.map +1 -0
  89. package/dist/secure/profile-store.js +309 -0
  90. package/dist/secure/profile-store.js.map +1 -0
  91. package/dist/spec/public-endpoints.json +1175 -0
  92. package/dist/tui/animation.d.ts +12 -0
  93. package/dist/tui/animation.d.ts.map +1 -0
  94. package/dist/tui/animation.js +41 -0
  95. package/dist/tui/animation.js.map +1 -0
  96. package/dist/tui/app.d.ts +27 -0
  97. package/dist/tui/app.d.ts.map +1 -0
  98. package/dist/tui/app.js +711 -0
  99. package/dist/tui/app.js.map +1 -0
  100. package/dist/tui/assets/logo.d.ts +5 -0
  101. package/dist/tui/assets/logo.d.ts.map +1 -0
  102. package/dist/tui/assets/logo.js +24 -0
  103. package/dist/tui/assets/logo.js.map +1 -0
  104. package/dist/tui/data-loaders.d.ts +33 -0
  105. package/dist/tui/data-loaders.d.ts.map +1 -0
  106. package/dist/tui/data-loaders.js +250 -0
  107. package/dist/tui/data-loaders.js.map +1 -0
  108. package/dist/tui/dispatch.d.ts +14 -0
  109. package/dist/tui/dispatch.d.ts.map +1 -0
  110. package/dist/tui/dispatch.js +44 -0
  111. package/dist/tui/dispatch.js.map +1 -0
  112. package/dist/tui/headless-renderer.d.ts +20 -0
  113. package/dist/tui/headless-renderer.d.ts.map +1 -0
  114. package/dist/tui/headless-renderer.js +598 -0
  115. package/dist/tui/headless-renderer.js.map +1 -0
  116. package/dist/tui/input-controller.d.ts +29 -0
  117. package/dist/tui/input-controller.d.ts.map +1 -0
  118. package/dist/tui/input-controller.js +76 -0
  119. package/dist/tui/input-controller.js.map +1 -0
  120. package/dist/tui/key-wizard.d.ts +29 -0
  121. package/dist/tui/key-wizard.d.ts.map +1 -0
  122. package/dist/tui/key-wizard.js +177 -0
  123. package/dist/tui/key-wizard.js.map +1 -0
  124. package/dist/tui/keymap.d.ts +9 -0
  125. package/dist/tui/keymap.d.ts.map +1 -0
  126. package/dist/tui/keymap.js +29 -0
  127. package/dist/tui/keymap.js.map +1 -0
  128. package/dist/tui/layout.d.ts +16 -0
  129. package/dist/tui/layout.d.ts.map +1 -0
  130. package/dist/tui/layout.js +99 -0
  131. package/dist/tui/layout.js.map +1 -0
  132. package/dist/tui/logger.d.ts +12 -0
  133. package/dist/tui/logger.d.ts.map +1 -0
  134. package/dist/tui/logger.js +83 -0
  135. package/dist/tui/logger.js.map +1 -0
  136. package/dist/tui/navigation.d.ts +26 -0
  137. package/dist/tui/navigation.d.ts.map +1 -0
  138. package/dist/tui/navigation.js +136 -0
  139. package/dist/tui/navigation.js.map +1 -0
  140. package/dist/tui/panes.d.ts +7 -0
  141. package/dist/tui/panes.d.ts.map +1 -0
  142. package/dist/tui/panes.js +34 -0
  143. package/dist/tui/panes.js.map +1 -0
  144. package/dist/tui/runtime.d.ts +34 -0
  145. package/dist/tui/runtime.d.ts.map +1 -0
  146. package/dist/tui/runtime.js +100 -0
  147. package/dist/tui/runtime.js.map +1 -0
  148. package/dist/tui/scene.d.ts +160 -0
  149. package/dist/tui/scene.d.ts.map +1 -0
  150. package/dist/tui/scene.js +424 -0
  151. package/dist/tui/scene.js.map +1 -0
  152. package/dist/tui/screens/config.d.ts +3 -0
  153. package/dist/tui/screens/config.d.ts.map +1 -0
  154. package/dist/tui/screens/config.js +406 -0
  155. package/dist/tui/screens/config.js.map +1 -0
  156. package/dist/tui/screens/dashboard.d.ts +3 -0
  157. package/dist/tui/screens/dashboard.d.ts.map +1 -0
  158. package/dist/tui/screens/dashboard.js +176 -0
  159. package/dist/tui/screens/dashboard.js.map +1 -0
  160. package/dist/tui/screens/devices.d.ts +3 -0
  161. package/dist/tui/screens/devices.d.ts.map +1 -0
  162. package/dist/tui/screens/devices.js +297 -0
  163. package/dist/tui/screens/devices.js.map +1 -0
  164. package/dist/tui/screens/incidents.d.ts +4 -0
  165. package/dist/tui/screens/incidents.d.ts.map +1 -0
  166. package/dist/tui/screens/incidents.js +304 -0
  167. package/dist/tui/screens/incidents.js.map +1 -0
  168. package/dist/tui/screens/setup.d.ts +3 -0
  169. package/dist/tui/screens/setup.d.ts.map +1 -0
  170. package/dist/tui/screens/setup.js +299 -0
  171. package/dist/tui/screens/setup.js.map +1 -0
  172. package/dist/tui/screens/spaces.d.ts +7 -0
  173. package/dist/tui/screens/spaces.d.ts.map +1 -0
  174. package/dist/tui/screens/spaces.js +422 -0
  175. package/dist/tui/screens/spaces.js.map +1 -0
  176. package/dist/tui/screens/tickets.d.ts +9 -0
  177. package/dist/tui/screens/tickets.d.ts.map +1 -0
  178. package/dist/tui/screens/tickets.js +418 -0
  179. package/dist/tui/screens/tickets.js.map +1 -0
  180. package/dist/tui/serialize.d.ts +31 -0
  181. package/dist/tui/serialize.d.ts.map +1 -0
  182. package/dist/tui/serialize.js +183 -0
  183. package/dist/tui/serialize.js.map +1 -0
  184. package/dist/tui/table-format.d.ts +11 -0
  185. package/dist/tui/table-format.d.ts.map +1 -0
  186. package/dist/tui/table-format.js +77 -0
  187. package/dist/tui/table-format.js.map +1 -0
  188. package/dist/tui/tabs.d.ts +4 -0
  189. package/dist/tui/tabs.d.ts.map +1 -0
  190. package/dist/tui/tabs.js +13 -0
  191. package/dist/tui/tabs.js.map +1 -0
  192. package/dist/tui/types.d.ts +37 -0
  193. package/dist/tui/types.d.ts.map +1 -0
  194. package/dist/tui/types.js +3 -0
  195. package/dist/tui/types.js.map +1 -0
  196. package/dist/types/client.d.ts +54 -0
  197. package/dist/types/client.d.ts.map +1 -0
  198. package/dist/types/client.js +3 -0
  199. package/dist/types/client.js.map +1 -0
  200. package/dist/types/endpoints.d.ts +29 -0
  201. package/dist/types/endpoints.d.ts.map +1 -0
  202. package/dist/types/endpoints.js +3 -0
  203. package/dist/types/endpoints.js.map +1 -0
  204. package/dist/types/profile.d.ts +29 -0
  205. package/dist/types/profile.d.ts.map +1 -0
  206. package/dist/types/profile.js +3 -0
  207. package/dist/types/profile.js.map +1 -0
  208. package/dist/utils/config-dir.d.ts +2 -0
  209. package/dist/utils/config-dir.d.ts.map +1 -0
  210. package/dist/utils/config-dir.js +23 -0
  211. package/dist/utils/config-dir.js.map +1 -0
  212. package/dist/utils/error-format.d.ts +4 -0
  213. package/dist/utils/error-format.d.ts.map +1 -0
  214. package/dist/utils/error-format.js +34 -0
  215. package/dist/utils/error-format.js.map +1 -0
  216. package/dist/utils/install-skills.d.ts +38 -0
  217. package/dist/utils/install-skills.d.ts.map +1 -0
  218. package/dist/utils/install-skills.js +117 -0
  219. package/dist/utils/install-skills.js.map +1 -0
  220. package/dist/utils/json-output.d.ts +6 -0
  221. package/dist/utils/json-output.d.ts.map +1 -0
  222. package/dist/utils/json-output.js +30 -0
  223. package/dist/utils/json-output.js.map +1 -0
  224. package/dist/utils/json.d.ts +4 -0
  225. package/dist/utils/json.d.ts.map +1 -0
  226. package/dist/utils/json.js +36 -0
  227. package/dist/utils/json.js.map +1 -0
  228. package/dist/utils/version.d.ts +2 -0
  229. package/dist/utils/version.d.ts.map +1 -0
  230. package/dist/utils/version.js +28 -0
  231. package/dist/utils/version.js.map +1 -0
  232. package/dist/workflows/fleet-insights.d.ts +122 -0
  233. package/dist/workflows/fleet-insights.d.ts.map +1 -0
  234. package/dist/workflows/fleet-insights.js +938 -0
  235. package/dist/workflows/fleet-insights.js.map +1 -0
  236. package/docs/schemas/call-envelope.v1.schema.json +140 -0
  237. package/docs/schemas/headless-frame.v1.schema.json +159 -0
  238. package/docs/schemas/inspect-deep-dive.v1.schema.json +251 -0
  239. package/docs/schemas/inspect-fleet.v1.schema.json +111 -0
  240. package/docs/schemas/report.v1.schema.json +39 -0
  241. package/package.json +75 -0
  242. package/skills/xyte-cli/SKILL.md +181 -0
  243. package/skills/xyte-cli/agents/openai.yaml +4 -0
  244. package/skills/xyte-cli/references/endpoints.md +106 -0
  245. package/skills/xyte-cli/references/headless-contract.md +96 -0
  246. package/skills/xyte-cli/references/tui-flows.md +126 -0
  247. package/skills/xyte-cli/scripts/check_headless.sh +83 -0
  248. package/skills/xyte-cli/scripts/endpoint_filters_report.sh +33 -0
  249. package/skills/xyte-cli/scripts/run_xyte_cli.sh +12 -0
  250. package/skills/xyte-cli/scripts/validate_agent_contracts.sh +72 -0
  251. package/skills/xyte-cli/scripts/validate_with_schema.js +30 -0
@@ -0,0 +1,1175 @@
1
+ [
2
+ {
3
+ "key": "device.command.getCommand",
4
+ "namespace": "device",
5
+ "group": "command",
6
+ "action": "getCommand",
7
+ "title": "Get Command",
8
+ "method": "GET",
9
+ "base": "hub",
10
+ "pathTemplate": "/v1/devices/:device_id/command",
11
+ "pathParams": [
12
+ "device_id"
13
+ ],
14
+ "queryParams": [],
15
+ "authScope": "device",
16
+ "bodyType": "none",
17
+ "hasBody": false,
18
+ "sourceFile": "Device API/Command/Get Command.bru"
19
+ },
20
+ {
21
+ "key": "device.command.getCommandsWithChildren",
22
+ "namespace": "device",
23
+ "group": "command",
24
+ "action": "getCommandsWithChildren",
25
+ "title": "Get Commands with Children",
26
+ "method": "GET",
27
+ "base": "hub",
28
+ "pathTemplate": "/v1/devices/:device_id/command/pending_commands",
29
+ "pathParams": [
30
+ "device_id"
31
+ ],
32
+ "queryParams": [],
33
+ "authScope": "device",
34
+ "bodyType": "none",
35
+ "hasBody": false,
36
+ "sourceFile": "Device API/Command/Get Commands with Children.bru"
37
+ },
38
+ {
39
+ "key": "device.command.updateCommand",
40
+ "namespace": "device",
41
+ "group": "command",
42
+ "action": "updateCommand",
43
+ "title": "Update Command",
44
+ "method": "POST",
45
+ "base": "hub",
46
+ "pathTemplate": "/v1/devices/:device_id/command",
47
+ "pathParams": [
48
+ "device_id"
49
+ ],
50
+ "queryParams": [],
51
+ "authScope": "device",
52
+ "bodyType": "json",
53
+ "hasBody": true,
54
+ "sourceFile": "Device API/Command/Update Command.bru",
55
+ "bodyExample": "{\n \"status\": \"done\",\n \"message\": \"great success!\",\n \"id\": \"Command ID returned in Get Command API\""
56
+ },
57
+ {
58
+ "key": "device.configuration.getConfig",
59
+ "namespace": "device",
60
+ "group": "configuration",
61
+ "action": "getConfig",
62
+ "title": "Get Config",
63
+ "method": "GET",
64
+ "base": "hub",
65
+ "pathTemplate": "/v1/devices/:device_id/config",
66
+ "pathParams": [
67
+ "device_id"
68
+ ],
69
+ "queryParams": [],
70
+ "authScope": "device",
71
+ "bodyType": "none",
72
+ "hasBody": false,
73
+ "sourceFile": "Device API/Configuration/Get Config.bru"
74
+ },
75
+ {
76
+ "key": "device.configuration.setConfig",
77
+ "namespace": "device",
78
+ "group": "configuration",
79
+ "action": "setConfig",
80
+ "title": "Set Config",
81
+ "method": "POST",
82
+ "base": "hub",
83
+ "pathTemplate": "/v1/devices/:device_id/config",
84
+ "pathParams": [
85
+ "device_id"
86
+ ],
87
+ "queryParams": [],
88
+ "authScope": "device",
89
+ "bodyType": "json",
90
+ "hasBody": true,
91
+ "sourceFile": "Device API/Configuration/Set Config.bru",
92
+ "bodyExample": "{\n \"input\": \"htmi\""
93
+ },
94
+ {
95
+ "key": "device.device-info.getDeviceInfo",
96
+ "namespace": "device",
97
+ "group": "device-info",
98
+ "action": "getDeviceInfo",
99
+ "title": "Get Device Info",
100
+ "method": "GET",
101
+ "base": "hub",
102
+ "pathTemplate": "/v1/devices/:device_id",
103
+ "pathParams": [
104
+ "device_id"
105
+ ],
106
+ "queryParams": [],
107
+ "authScope": "device",
108
+ "bodyType": "none",
109
+ "hasBody": false,
110
+ "sourceFile": "Device API/Device Info/Get Device Info.bru"
111
+ },
112
+ {
113
+ "key": "device.device-info.getSpaceInfo",
114
+ "namespace": "device",
115
+ "group": "device-info",
116
+ "action": "getSpaceInfo",
117
+ "title": "Get Space Info",
118
+ "method": "GET",
119
+ "base": "hub",
120
+ "pathTemplate": "/v1/devices/:device_id/space",
121
+ "pathParams": [
122
+ "device_id"
123
+ ],
124
+ "queryParams": [],
125
+ "authScope": "device",
126
+ "bodyType": "none",
127
+ "hasBody": false,
128
+ "sourceFile": "Device API/Device Info/Get Space Info.bru"
129
+ },
130
+ {
131
+ "key": "device.device-info.setCloudSettings",
132
+ "namespace": "device",
133
+ "group": "device-info",
134
+ "action": "setCloudSettings",
135
+ "title": "Set Cloud Settings",
136
+ "method": "PUT",
137
+ "base": "hub",
138
+ "pathTemplate": "/v1/devices/:device_id/cloud_settings",
139
+ "pathParams": [
140
+ "device_id"
141
+ ],
142
+ "queryParams": [],
143
+ "authScope": "device",
144
+ "bodyType": "json",
145
+ "hasBody": true,
146
+ "sourceFile": "Device API/Device Info/Set Cloud Settings.bru",
147
+ "bodyExample": "{\n \"incidents.suspend_creation\": true",
148
+ "notes": [
149
+ "Cloud settings payload should be normalized as { property, value } by SDK helper."
150
+ ]
151
+ },
152
+ {
153
+ "key": "device.device-info.updateDevice",
154
+ "namespace": "device",
155
+ "group": "device-info",
156
+ "action": "updateDevice",
157
+ "title": "Update Device",
158
+ "method": "PUT",
159
+ "base": "hub",
160
+ "pathTemplate": "/v1/devices/:device_id",
161
+ "pathParams": [
162
+ "device_id"
163
+ ],
164
+ "queryParams": [],
165
+ "authScope": "device",
166
+ "bodyType": "json",
167
+ "hasBody": true,
168
+ "sourceFile": "Device API/Device Info/Update Device.bru",
169
+ "bodyExample": "{\n \"name\": \"My device's name\",\n \"details\": {\n \"color\": \"red\""
170
+ },
171
+ {
172
+ "key": "device.events.addEvent",
173
+ "namespace": "device",
174
+ "group": "events",
175
+ "action": "addEvent",
176
+ "title": "Add Event",
177
+ "method": "POST",
178
+ "base": "hub",
179
+ "pathTemplate": "/v1/devices/:device_id/events",
180
+ "pathParams": [
181
+ "device_id"
182
+ ],
183
+ "queryParams": [],
184
+ "authScope": "device",
185
+ "bodyType": "json",
186
+ "hasBody": true,
187
+ "sourceFile": "Device API/Events/Add Event.bru",
188
+ "bodyExample": "{\n \"name\": \"power surge\",\n \"category\": \"electric\",\n \"int_key_1\": 120,\n \"int_key_2\": null,\n \"string_key_1\": null,\n \"string_key_2\": null"
189
+ },
190
+ {
191
+ "key": "device.file-dumps.appendDumpFile",
192
+ "namespace": "device",
193
+ "group": "file-dumps",
194
+ "action": "appendDumpFile",
195
+ "title": "Append dump file",
196
+ "method": "PUT",
197
+ "base": "hub",
198
+ "pathTemplate": "/v1/devices/:device_id/dumps/:id",
199
+ "pathParams": [
200
+ "device_id",
201
+ "id"
202
+ ],
203
+ "queryParams": [],
204
+ "authScope": "device",
205
+ "bodyType": "multipart-form",
206
+ "hasBody": true,
207
+ "sourceFile": "Device API/File Dumps/Append dump file.bru",
208
+ "bodyExample": "data: @file(VatimpRrj/test.txt)",
209
+ "notes": [
210
+ "Backend route uses dynamic dump id segment."
211
+ ]
212
+ },
213
+ {
214
+ "key": "device.file-dumps.sendDump",
215
+ "namespace": "device",
216
+ "group": "file-dumps",
217
+ "action": "sendDump",
218
+ "title": "Send Dump",
219
+ "method": "POST",
220
+ "base": "hub",
221
+ "pathTemplate": "/v1/devices/:device_id/dumps/:mime_type/:filename",
222
+ "pathParams": [
223
+ "device_id",
224
+ "mime_type",
225
+ "filename"
226
+ ],
227
+ "queryParams": [],
228
+ "authScope": "device",
229
+ "bodyType": "multipart-form",
230
+ "hasBody": true,
231
+ "sourceFile": "Device API/File Dumps/Send Dump.bru",
232
+ "bodyExample": "data: @file(9ezL49PXj/test.txt)",
233
+ "notes": [
234
+ "Backend route accepts dynamic :mime_type/:filename segments."
235
+ ]
236
+ },
237
+ {
238
+ "key": "device.incidents.closeIncident",
239
+ "namespace": "device",
240
+ "group": "incidents",
241
+ "action": "closeIncident",
242
+ "title": "Close Incident",
243
+ "method": "DELETE",
244
+ "base": "hub",
245
+ "pathTemplate": "/v1/devices/:device_id/incidents/:incident_id",
246
+ "pathParams": [
247
+ "incident_id",
248
+ "device_id"
249
+ ],
250
+ "queryParams": [],
251
+ "authScope": "device",
252
+ "bodyType": "none",
253
+ "hasBody": false,
254
+ "sourceFile": "Device API/Incidents/Close Incident.bru"
255
+ },
256
+ {
257
+ "key": "device.incidents.closeIncidents",
258
+ "namespace": "device",
259
+ "group": "incidents",
260
+ "action": "closeIncidents",
261
+ "title": "Close Incidents",
262
+ "method": "DELETE",
263
+ "base": "hub",
264
+ "pathTemplate": "/v1/devices/:device_id/incidents",
265
+ "pathParams": [
266
+ "device_id"
267
+ ],
268
+ "queryParams": [],
269
+ "authScope": "device",
270
+ "bodyType": "none",
271
+ "hasBody": false,
272
+ "sourceFile": "Device API/Incidents/Close Incidents.bru"
273
+ },
274
+ {
275
+ "key": "device.incidents.getIncidents",
276
+ "namespace": "device",
277
+ "group": "incidents",
278
+ "action": "getIncidents",
279
+ "title": "Get Incidents",
280
+ "method": "GET",
281
+ "base": "hub",
282
+ "pathTemplate": "/v1/devices/:device_id/incidents",
283
+ "pathParams": [
284
+ "device_id"
285
+ ],
286
+ "queryParams": [],
287
+ "authScope": "device",
288
+ "bodyType": "none",
289
+ "hasBody": false,
290
+ "sourceFile": "Device API/Incidents/Get Incidents.bru"
291
+ },
292
+ {
293
+ "key": "device.incidents.openIncident",
294
+ "namespace": "device",
295
+ "group": "incidents",
296
+ "action": "openIncident",
297
+ "title": "Open Incident",
298
+ "method": "POST",
299
+ "base": "hub",
300
+ "pathTemplate": "/v1/devices/:device_id/incidents",
301
+ "pathParams": [
302
+ "device_id"
303
+ ],
304
+ "queryParams": [],
305
+ "authScope": "device",
306
+ "bodyType": "json",
307
+ "hasBody": true,
308
+ "sourceFile": "Device API/Incidents/Open Incident.bru",
309
+ "bodyExample": "{\n \"title\" : \"Open a new incident for testing\",\n \"issue\" : \"incident-Z01\",\n \"priority\": 2,\n \"description\": \"Long text\""
310
+ },
311
+ {
312
+ "key": "device.license.getLicense",
313
+ "namespace": "device",
314
+ "group": "license",
315
+ "action": "getLicense",
316
+ "title": "Get License",
317
+ "method": "GET",
318
+ "base": "hub",
319
+ "pathTemplate": "/v1/devices/:device_id/license",
320
+ "pathParams": [
321
+ "device_id"
322
+ ],
323
+ "queryParams": [],
324
+ "authScope": "device",
325
+ "bodyType": "none",
326
+ "hasBody": false,
327
+ "sourceFile": "Device API/License/Get License.bru"
328
+ },
329
+ {
330
+ "key": "device.license.updateLicense",
331
+ "namespace": "device",
332
+ "group": "license",
333
+ "action": "updateLicense",
334
+ "title": "Update License",
335
+ "method": "POST",
336
+ "base": "hub",
337
+ "pathTemplate": "/v1/devices/:device_id/licenses",
338
+ "pathParams": [
339
+ "device_id"
340
+ ],
341
+ "queryParams": [],
342
+ "authScope": "device",
343
+ "bodyType": "json",
344
+ "hasBody": true,
345
+ "sourceFile": "Device API/License/Update License.bru",
346
+ "bodyExample": "{\n \"state\": \"inuse\",\n \"id\": \"License ID from Get License\""
347
+ },
348
+ {
349
+ "key": "device.registration.bulkRegisterDevice",
350
+ "namespace": "device",
351
+ "group": "registration",
352
+ "action": "bulkRegisterDevice",
353
+ "title": "Bulk Register Device",
354
+ "method": "POST",
355
+ "base": "entry",
356
+ "pathTemplate": "/v1/devices/bulk_create",
357
+ "pathParams": [],
358
+ "queryParams": [],
359
+ "authScope": "none",
360
+ "bodyType": "json",
361
+ "hasBody": true,
362
+ "sourceFile": "Device API/Registration/Bulk Register Device.bru"
363
+ },
364
+ {
365
+ "key": "device.registration.deleteDevice",
366
+ "namespace": "device",
367
+ "group": "registration",
368
+ "action": "deleteDevice",
369
+ "title": "Delete Device",
370
+ "method": "DELETE",
371
+ "base": "hub",
372
+ "pathTemplate": "/v1/devices/:device_id",
373
+ "pathParams": [
374
+ "device_id"
375
+ ],
376
+ "queryParams": [],
377
+ "authScope": "device",
378
+ "bodyType": "none",
379
+ "hasBody": false,
380
+ "sourceFile": "Device API/Registration/Delete Device.bru"
381
+ },
382
+ {
383
+ "key": "device.registration.getChildDevices",
384
+ "namespace": "device",
385
+ "group": "registration",
386
+ "action": "getChildDevices",
387
+ "title": "Get Child Devices",
388
+ "method": "GET",
389
+ "base": "hub",
390
+ "pathTemplate": "/v1/devices/:device_id/children",
391
+ "pathParams": [
392
+ "device_id"
393
+ ],
394
+ "queryParams": [],
395
+ "authScope": "device",
396
+ "bodyType": "none",
397
+ "hasBody": false,
398
+ "sourceFile": "Device API/Registration/Get Child Devices.bru"
399
+ },
400
+ {
401
+ "key": "device.registration.registerChildDevice",
402
+ "namespace": "device",
403
+ "group": "registration",
404
+ "action": "registerChildDevice",
405
+ "title": "Register Child Device",
406
+ "method": "POST",
407
+ "base": "entry",
408
+ "pathTemplate": "/v1/devices/:device_id/children",
409
+ "pathParams": [
410
+ "device_id"
411
+ ],
412
+ "queryParams": [],
413
+ "authScope": "device",
414
+ "bodyType": "json",
415
+ "hasBody": true,
416
+ "sourceFile": "Device API/Registration/Register Child Device.bru",
417
+ "bodyExample": "{\n \"sn\": \"112\",\n \"model_id\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx\",\n \"firmware_version\": \"1.0.1\",\n \"name\": \"Friendly name\",\n \"details\": {\n \"key\": 100"
418
+ },
419
+ {
420
+ "key": "device.registration.registerDevice",
421
+ "namespace": "device",
422
+ "group": "registration",
423
+ "action": "registerDevice",
424
+ "title": "Register Device",
425
+ "method": "POST",
426
+ "base": "entry",
427
+ "pathTemplate": "/v1/devices",
428
+ "pathParams": [],
429
+ "queryParams": [],
430
+ "authScope": "none",
431
+ "bodyType": "json",
432
+ "hasBody": true,
433
+ "sourceFile": "Device API/Registration/Register Device.bru",
434
+ "bodyExample": "{\n \"mac\": \"00:11:22:33:44:55\",\n \"cloud_id\": \"xxyyzz\",\n \"sn\": \"112233\",\n \"hardware_key\": \"\",\n \"firmware_version\": \"0.0.1\",\n \"name\": \"Friendly device name\",\n \"details\": {\n \"network\": {\n \"ip\": \"1.2.3.4\""
435
+ },
436
+ {
437
+ "key": "device.remote-files.getFile",
438
+ "namespace": "device",
439
+ "group": "remote-files",
440
+ "action": "getFile",
441
+ "title": "Get File",
442
+ "method": "GET",
443
+ "base": "hub",
444
+ "pathTemplate": "/v1/devices/:device_id/files/:file_id",
445
+ "pathParams": [
446
+ "file_id",
447
+ "device_id"
448
+ ],
449
+ "queryParams": [],
450
+ "authScope": "device",
451
+ "bodyType": "none",
452
+ "hasBody": false,
453
+ "sourceFile": "Device API/Remote Files/Get File.bru"
454
+ },
455
+ {
456
+ "key": "device.remote-files.getFiles",
457
+ "namespace": "device",
458
+ "group": "remote-files",
459
+ "action": "getFiles",
460
+ "title": "Get Files",
461
+ "method": "GET",
462
+ "base": "hub",
463
+ "pathTemplate": "/v1/devices/:device_id/files",
464
+ "pathParams": [
465
+ "device_id"
466
+ ],
467
+ "queryParams": [],
468
+ "authScope": "device",
469
+ "bodyType": "none",
470
+ "hasBody": false,
471
+ "sourceFile": "Device API/Remote Files/Get Files.bru"
472
+ },
473
+ {
474
+ "key": "device.telemetries.sendChildTelemetry",
475
+ "namespace": "device",
476
+ "group": "telemetries",
477
+ "action": "sendChildTelemetry",
478
+ "title": "Send Child Telemetry",
479
+ "method": "POST",
480
+ "base": "hub",
481
+ "pathTemplate": "/v1/devices/:device_id/children/telemetries",
482
+ "pathParams": [
483
+ "device_id"
484
+ ],
485
+ "queryParams": [],
486
+ "authScope": "device",
487
+ "bodyType": "json",
488
+ "hasBody": true,
489
+ "sourceFile": "Device API/Telemetries/Send Child Telemetry.bru",
490
+ "bodyExample": "{\n \"b04c3c...9994b0\": {\n \"status\": \"online\",\n \"timestamp\": \"2024-01-01T01:00:00\",\n \"override\": false,\n \"telemetries\": {\n \"fan_speed\": 5.5,\n \"eco_mode\": true,\n \"temp\": 100,\n \"input\": \"hdmi\",\n \"power\": true"
491
+ },
492
+ {
493
+ "key": "device.telemetries.sendMassTelemetry",
494
+ "namespace": "device",
495
+ "group": "telemetries",
496
+ "action": "sendMassTelemetry",
497
+ "title": "Send Mass Telemetry",
498
+ "method": "POST",
499
+ "base": "hub",
500
+ "pathTemplate": "/v1/devices/:device_id/children/telemetries",
501
+ "pathParams": [
502
+ "device_id"
503
+ ],
504
+ "queryParams": [],
505
+ "authScope": "device",
506
+ "bodyType": "json",
507
+ "hasBody": true,
508
+ "sourceFile": "Device API/Telemetries/Send Mass Telemetry.bru",
509
+ "bodyExample": "{\n \"b04c3c...9994b0\": {\n \"status\": \"online\",\n \"timestamp\": \"2024-01-01T01:00:00\",\n \"override\": false,\n \"telemetries\": {\n \"fan_speed\": 5.5,\n \"eco_mode\": true,\n \"temp\": 100,\n \"input\": \"hdmi\",\n \"power\": true"
510
+ },
511
+ {
512
+ "key": "device.telemetries.sendTelemetry",
513
+ "namespace": "device",
514
+ "group": "telemetries",
515
+ "action": "sendTelemetry",
516
+ "title": "Send Telemetry",
517
+ "method": "POST",
518
+ "base": "hub",
519
+ "pathTemplate": "/v1/devices/:device_id/telemetry",
520
+ "pathParams": [
521
+ "device_id"
522
+ ],
523
+ "queryParams": [],
524
+ "authScope": "device",
525
+ "bodyType": "json",
526
+ "hasBody": true,
527
+ "sourceFile": "Device API/Telemetries/Send Telemetry.bru",
528
+ "bodyExample": "{\n \"status\": \"online\",\n \"timestamp\": \"2024-01-01T01:00:00\",\n \"override\": false,\n \"telemetries\": {\n \"fan_speed\": 5.5,\n \"eco_mode\" : true,\n \"temp\": 50,\n \"input\": \"hdmi\",\n \"power\" : true"
529
+ },
530
+ {
531
+ "key": "organization.commands.cancelCommand",
532
+ "namespace": "organization",
533
+ "group": "commands",
534
+ "action": "cancelCommand",
535
+ "title": "Cancel Command",
536
+ "method": "DELETE",
537
+ "base": "hub",
538
+ "pathTemplate": "/core/v1/organization/devices/:device_id/commands/:command_id",
539
+ "pathParams": [
540
+ "command_id",
541
+ "device_id"
542
+ ],
543
+ "queryParams": [],
544
+ "authScope": "organization",
545
+ "bodyType": "none",
546
+ "hasBody": false,
547
+ "sourceFile": "Organization API/Commands/Cancel Command.bru",
548
+ "bodyExample": "{\n \"name\": \"reboot\",\n \"friendly_name\": \"Reboot\",\n \"file_id\": \"optional\",\n \"extra_params\": {}",
549
+ "notes": [
550
+ "Cancel command endpoint should not require a request body in SDK signatures."
551
+ ]
552
+ },
553
+ {
554
+ "key": "organization.commands.getCommands",
555
+ "namespace": "organization",
556
+ "group": "commands",
557
+ "action": "getCommands",
558
+ "title": "Get Commands",
559
+ "method": "GET",
560
+ "base": "hub",
561
+ "pathTemplate": "/core/v1/organization/devices/:device_id/commands",
562
+ "pathParams": [
563
+ "device_id"
564
+ ],
565
+ "queryParams": [],
566
+ "authScope": "organization",
567
+ "bodyType": "none",
568
+ "hasBody": false,
569
+ "sourceFile": "Organization API/Commands/Get Commands.bru",
570
+ "notes": [
571
+ "Bruno doc path is stale; backend route is /core/v1/organization/devices/:device_id/commands."
572
+ ]
573
+ },
574
+ {
575
+ "key": "organization.commands.sendCommand",
576
+ "namespace": "organization",
577
+ "group": "commands",
578
+ "action": "sendCommand",
579
+ "title": "Send Command",
580
+ "method": "POST",
581
+ "base": "hub",
582
+ "pathTemplate": "/core/v1/organization/devices/:device_id/commands",
583
+ "pathParams": [
584
+ "device_id"
585
+ ],
586
+ "queryParams": [],
587
+ "authScope": "organization",
588
+ "bodyType": "json",
589
+ "hasBody": true,
590
+ "sourceFile": "Organization API/Commands/Send Command.bru",
591
+ "bodyExample": "{\n \"name\": \"reboot\",\n \"friendly_name\": \"Reboot\",\n \"file_id\": \"optional\",\n \"extra_params\": {}"
592
+ },
593
+ {
594
+ "key": "organization.devices.claimDevice",
595
+ "namespace": "organization",
596
+ "group": "devices",
597
+ "action": "claimDevice",
598
+ "title": "Claim Device",
599
+ "method": "POST",
600
+ "base": "hub",
601
+ "pathTemplate": "/core/v1/organization/devices/claim",
602
+ "pathParams": [],
603
+ "queryParams": [],
604
+ "authScope": "organization",
605
+ "bodyType": "json",
606
+ "hasBody": true,
607
+ "sourceFile": "Organization API/Devices/Claim Device.bru",
608
+ "bodyExample": "{\n \"name\": \"Friendly device name\",\n \"space_id\": 13244,\n \"mac\": null,\n \"sn\": null,\n \"cloud_id\": \"\""
609
+ },
610
+ {
611
+ "key": "organization.devices.deleteDevice",
612
+ "namespace": "organization",
613
+ "group": "devices",
614
+ "action": "deleteDevice",
615
+ "title": "Delete Device",
616
+ "method": "DELETE",
617
+ "base": "hub",
618
+ "pathTemplate": "/core/v1/organization/devices/:device_id",
619
+ "pathParams": [
620
+ "device_id"
621
+ ],
622
+ "queryParams": [],
623
+ "authScope": "organization",
624
+ "bodyType": "none",
625
+ "hasBody": false,
626
+ "sourceFile": "Organization API/Devices/Delete Device.bru"
627
+ },
628
+ {
629
+ "key": "organization.devices.getDevice",
630
+ "namespace": "organization",
631
+ "group": "devices",
632
+ "action": "getDevice",
633
+ "title": "Get Device",
634
+ "method": "GET",
635
+ "base": "hub",
636
+ "pathTemplate": "/core/v1/organization/devices/:device_id",
637
+ "pathParams": [
638
+ "device_id"
639
+ ],
640
+ "queryParams": [],
641
+ "authScope": "organization",
642
+ "bodyType": "none",
643
+ "hasBody": false,
644
+ "sourceFile": "Organization API/Devices/Get Device.bru"
645
+ },
646
+ {
647
+ "key": "organization.devices.getDevices",
648
+ "namespace": "organization",
649
+ "group": "devices",
650
+ "action": "getDevices",
651
+ "title": "Get Devices",
652
+ "method": "GET",
653
+ "base": "hub",
654
+ "pathTemplate": "/core/v1/organization/devices",
655
+ "pathParams": [],
656
+ "queryParams": [],
657
+ "authScope": "organization",
658
+ "bodyType": "none",
659
+ "hasBody": false,
660
+ "sourceFile": "Organization API/Devices/Get Devices.bru"
661
+ },
662
+ {
663
+ "key": "organization.devices.getHistories",
664
+ "namespace": "organization",
665
+ "group": "devices",
666
+ "action": "getHistories",
667
+ "title": "Get Histories",
668
+ "method": "GET",
669
+ "base": "hub",
670
+ "pathTemplate": "/core/v1/organization/devices/histories",
671
+ "pathParams": [],
672
+ "queryParams": [
673
+ "status",
674
+ "from",
675
+ "to",
676
+ "device_id",
677
+ "space_id",
678
+ "name"
679
+ ],
680
+ "authScope": "organization",
681
+ "bodyType": "none",
682
+ "hasBody": false,
683
+ "sourceFile": "Organization API/Devices/Get Histories.bru"
684
+ },
685
+ {
686
+ "key": "organization.devices.updateDevice",
687
+ "namespace": "organization",
688
+ "group": "devices",
689
+ "action": "updateDevice",
690
+ "title": "Update Device",
691
+ "method": "PATCH",
692
+ "base": "hub",
693
+ "pathTemplate": "/core/v1/organization/devices/:device_id",
694
+ "pathParams": [
695
+ "device_id"
696
+ ],
697
+ "queryParams": [],
698
+ "authScope": "organization",
699
+ "bodyType": "json",
700
+ "hasBody": true,
701
+ "sourceFile": "Organization API/Devices/Update Device.bru",
702
+ "bodyExample": "{\n \"configuration\": {\n \"a\": 1"
703
+ },
704
+ {
705
+ "key": "organization.getOrganizationInfo",
706
+ "namespace": "organization",
707
+ "group": "general",
708
+ "action": "getOrganizationInfo",
709
+ "title": "Get Organization Info",
710
+ "method": "GET",
711
+ "base": "hub",
712
+ "pathTemplate": "/core/v1/organization/info",
713
+ "pathParams": [],
714
+ "queryParams": [],
715
+ "authScope": "organization",
716
+ "bodyType": "none",
717
+ "hasBody": false,
718
+ "sourceFile": "Organization API/Get Organization Info.bru",
719
+ "bodyExample": "{\n \"device_id\": \"xxxxx\"",
720
+ "notes": [
721
+ "Organization info endpoint is GET without request body."
722
+ ]
723
+ },
724
+ {
725
+ "key": "organization.incidents.getIncidents",
726
+ "namespace": "organization",
727
+ "group": "incidents",
728
+ "action": "getIncidents",
729
+ "title": "Get Incidents",
730
+ "method": "GET",
731
+ "base": "hub",
732
+ "pathTemplate": "/core/v1/organization/incidents",
733
+ "pathParams": [],
734
+ "queryParams": [],
735
+ "authScope": "organization",
736
+ "bodyType": "none",
737
+ "hasBody": false,
738
+ "sourceFile": "Organization API/Incidents/Get Incidents.bru"
739
+ },
740
+ {
741
+ "key": "organization.spaces.createSpace",
742
+ "namespace": "organization",
743
+ "group": "spaces",
744
+ "action": "createSpace",
745
+ "title": "Create Space",
746
+ "method": "POST",
747
+ "base": "hub",
748
+ "pathTemplate": "/core/v1/organization/spaces",
749
+ "pathParams": [],
750
+ "queryParams": [],
751
+ "authScope": "organization",
752
+ "bodyType": "json",
753
+ "hasBody": true,
754
+ "sourceFile": "Organization API/Spaces/Create Space.bru",
755
+ "bodyExample": "{\n \"name\": \"Space name\",\n \"parent_id\": 100,\n \"config\": {}"
756
+ },
757
+ {
758
+ "key": "organization.spaces.deleteSpace",
759
+ "namespace": "organization",
760
+ "group": "spaces",
761
+ "action": "deleteSpace",
762
+ "title": "Delete Space",
763
+ "method": "DELETE",
764
+ "base": "hub",
765
+ "pathTemplate": "/core/v1/organization/spaces/:space_id",
766
+ "pathParams": [
767
+ "space_id"
768
+ ],
769
+ "queryParams": [],
770
+ "authScope": "organization",
771
+ "bodyType": "none",
772
+ "hasBody": false,
773
+ "sourceFile": "Organization API/Spaces/Delete Space.bru"
774
+ },
775
+ {
776
+ "key": "organization.spaces.findOrCreateSpace",
777
+ "namespace": "organization",
778
+ "group": "spaces",
779
+ "action": "findOrCreateSpace",
780
+ "title": "Find or Create Space",
781
+ "method": "POST",
782
+ "base": "hub",
783
+ "pathTemplate": "/core/v1/organization/spaces/find_or_create",
784
+ "pathParams": [],
785
+ "queryParams": [],
786
+ "authScope": "organization",
787
+ "bodyType": "json",
788
+ "hasBody": true,
789
+ "sourceFile": "Organization API/Spaces/Find or Create Space.bru",
790
+ "bodyExample": "{\n \"name\": \"Building/Floor/Room\",\n \"parent_id\": 100,\n \"config\": {}"
791
+ },
792
+ {
793
+ "key": "organization.spaces.getSpace",
794
+ "namespace": "organization",
795
+ "group": "spaces",
796
+ "action": "getSpace",
797
+ "title": "Get Space",
798
+ "method": "GET",
799
+ "base": "hub",
800
+ "pathTemplate": "/core/v1/organization/spaces/:space_id",
801
+ "pathParams": [
802
+ "space_id"
803
+ ],
804
+ "queryParams": [],
805
+ "authScope": "organization",
806
+ "bodyType": "none",
807
+ "hasBody": false,
808
+ "sourceFile": "Organization API/Spaces/Get Space.bru"
809
+ },
810
+ {
811
+ "key": "organization.spaces.getSpaces",
812
+ "namespace": "organization",
813
+ "group": "spaces",
814
+ "action": "getSpaces",
815
+ "title": "Get Spaces",
816
+ "method": "GET",
817
+ "base": "hub",
818
+ "pathTemplate": "/core/v1/organization/spaces",
819
+ "pathParams": [],
820
+ "queryParams": [
821
+ "page",
822
+ "per_page",
823
+ "id",
824
+ "parent_id",
825
+ "name",
826
+ "path_includes",
827
+ "space_type",
828
+ "created_before",
829
+ "created_after"
830
+ ],
831
+ "authScope": "organization",
832
+ "bodyType": "none",
833
+ "hasBody": false,
834
+ "sourceFile": "Organization API/Spaces/Get Spaces.bru"
835
+ },
836
+ {
837
+ "key": "organization.spaces.updateSpace",
838
+ "namespace": "organization",
839
+ "group": "spaces",
840
+ "action": "updateSpace",
841
+ "title": "Update Space",
842
+ "method": "PUT",
843
+ "base": "hub",
844
+ "pathTemplate": "/core/v1/organization/spaces/:space_id",
845
+ "pathParams": [
846
+ "space_id"
847
+ ],
848
+ "queryParams": [],
849
+ "authScope": "organization",
850
+ "bodyType": "json",
851
+ "hasBody": true,
852
+ "sourceFile": "Organization API/Spaces/Update Space.bru",
853
+ "bodyExample": "{"
854
+ },
855
+ {
856
+ "key": "organization.tickets.getTicket",
857
+ "namespace": "organization",
858
+ "group": "tickets",
859
+ "action": "getTicket",
860
+ "title": "Get Ticket",
861
+ "method": "GET",
862
+ "base": "hub",
863
+ "pathTemplate": "/core/v1/organization/tickets/:ticket_id",
864
+ "pathParams": [
865
+ "ticket_id"
866
+ ],
867
+ "queryParams": [],
868
+ "authScope": "organization",
869
+ "bodyType": "none",
870
+ "hasBody": false,
871
+ "sourceFile": "Organization API/Tickets/Get Ticket.bru"
872
+ },
873
+ {
874
+ "key": "organization.tickets.getTickets",
875
+ "namespace": "organization",
876
+ "group": "tickets",
877
+ "action": "getTickets",
878
+ "title": "Get Tickets",
879
+ "method": "GET",
880
+ "base": "hub",
881
+ "pathTemplate": "/core/v1/organization/tickets",
882
+ "pathParams": [],
883
+ "queryParams": [],
884
+ "authScope": "organization",
885
+ "bodyType": "none",
886
+ "hasBody": false,
887
+ "sourceFile": "Organization API/Tickets/Get Tickets.bru"
888
+ },
889
+ {
890
+ "key": "organization.tickets.markResolved",
891
+ "namespace": "organization",
892
+ "group": "tickets",
893
+ "action": "markResolved",
894
+ "title": "Mark Resolved",
895
+ "method": "POST",
896
+ "base": "hub",
897
+ "pathTemplate": "/core/v1/organization/tickets/:ticket_id/resolved",
898
+ "pathParams": [
899
+ "ticket_id"
900
+ ],
901
+ "queryParams": [],
902
+ "authScope": "organization",
903
+ "bodyType": "none",
904
+ "hasBody": false,
905
+ "sourceFile": "Organization API/Tickets/Mark Resolved.bru"
906
+ },
907
+ {
908
+ "key": "organization.tickets.sendMessage",
909
+ "namespace": "organization",
910
+ "group": "tickets",
911
+ "action": "sendMessage",
912
+ "title": "Send Message",
913
+ "method": "POST",
914
+ "base": "hub",
915
+ "pathTemplate": "/core/v1/organization/tickets/:ticket_id/message",
916
+ "pathParams": [
917
+ "ticket_id"
918
+ ],
919
+ "queryParams": [],
920
+ "authScope": "organization",
921
+ "bodyType": "json",
922
+ "hasBody": true,
923
+ "sourceFile": "Organization API/Tickets/Send Message.bru",
924
+ "bodyExample": "{\n \"message\": \"Hello!\""
925
+ },
926
+ {
927
+ "key": "organization.tickets.updateTicket",
928
+ "namespace": "organization",
929
+ "group": "tickets",
930
+ "action": "updateTicket",
931
+ "title": "Update Ticket",
932
+ "method": "PUT",
933
+ "base": "hub",
934
+ "pathTemplate": "/core/v1/organization/tickets/:ticket_id",
935
+ "pathParams": [
936
+ "ticket_id"
937
+ ],
938
+ "queryParams": [],
939
+ "authScope": "organization",
940
+ "bodyType": "json",
941
+ "hasBody": true,
942
+ "sourceFile": "Organization API/Tickets/Update Ticket.bru",
943
+ "bodyExample": "{\n \"title\": \"New title\",\n \"description\": \"New description\""
944
+ },
945
+ {
946
+ "key": "partner.devices.deleteDevice",
947
+ "namespace": "partner",
948
+ "group": "devices",
949
+ "action": "deleteDevice",
950
+ "title": "Delete Device",
951
+ "method": "DELETE",
952
+ "base": "hub",
953
+ "pathTemplate": "/core/v1/partner/devices/:device_id",
954
+ "pathParams": [
955
+ "device_id"
956
+ ],
957
+ "queryParams": [],
958
+ "authScope": "partner",
959
+ "bodyType": "none",
960
+ "hasBody": false,
961
+ "sourceFile": "Partner API/Devices/Delete Device.bru"
962
+ },
963
+ {
964
+ "key": "partner.devices.getCommands",
965
+ "namespace": "partner",
966
+ "group": "devices",
967
+ "action": "getCommands",
968
+ "title": "Get Commands",
969
+ "method": "GET",
970
+ "base": "hub",
971
+ "pathTemplate": "/core/v1/partner/devices/:device_id/commands",
972
+ "pathParams": [
973
+ "device_id"
974
+ ],
975
+ "queryParams": [],
976
+ "authScope": "partner",
977
+ "bodyType": "none",
978
+ "hasBody": false,
979
+ "sourceFile": "Partner API/Devices/Get Commands.bru"
980
+ },
981
+ {
982
+ "key": "partner.devices.getConfiguration",
983
+ "namespace": "partner",
984
+ "group": "devices",
985
+ "action": "getConfiguration",
986
+ "title": "Get Configuration",
987
+ "method": "GET",
988
+ "base": "hub",
989
+ "pathTemplate": "/core/v1/partner/devices/:device_id/config",
990
+ "pathParams": [
991
+ "device_id"
992
+ ],
993
+ "queryParams": [],
994
+ "authScope": "partner",
995
+ "bodyType": "none",
996
+ "hasBody": false,
997
+ "sourceFile": "Partner API/Devices/Get Configuration.bru"
998
+ },
999
+ {
1000
+ "key": "partner.devices.getDeviceInfo",
1001
+ "namespace": "partner",
1002
+ "group": "devices",
1003
+ "action": "getDeviceInfo",
1004
+ "title": "Get Device Info",
1005
+ "method": "GET",
1006
+ "base": "hub",
1007
+ "pathTemplate": "/core/v1/partner/devices/:device_id",
1008
+ "pathParams": [
1009
+ "device_id"
1010
+ ],
1011
+ "queryParams": [],
1012
+ "authScope": "partner",
1013
+ "bodyType": "none",
1014
+ "hasBody": false,
1015
+ "sourceFile": "Partner API/Devices/Get Device Info.bru"
1016
+ },
1017
+ {
1018
+ "key": "partner.devices.getDevices",
1019
+ "namespace": "partner",
1020
+ "group": "devices",
1021
+ "action": "getDevices",
1022
+ "title": "Get Devices",
1023
+ "method": "GET",
1024
+ "base": "hub",
1025
+ "pathTemplate": "/core/v1/partner/devices",
1026
+ "pathParams": [],
1027
+ "queryParams": [],
1028
+ "authScope": "partner",
1029
+ "bodyType": "none",
1030
+ "hasBody": false,
1031
+ "sourceFile": "Partner API/Devices/Get Devices.bru"
1032
+ },
1033
+ {
1034
+ "key": "partner.devices.getStateHistory",
1035
+ "namespace": "partner",
1036
+ "group": "devices",
1037
+ "action": "getStateHistory",
1038
+ "title": "Get State History",
1039
+ "method": "GET",
1040
+ "base": "hub",
1041
+ "pathTemplate": "/core/v1/partner/devices/:device_id/history",
1042
+ "pathParams": [
1043
+ "device_id"
1044
+ ],
1045
+ "queryParams": [],
1046
+ "authScope": "partner",
1047
+ "bodyType": "none",
1048
+ "hasBody": false,
1049
+ "sourceFile": "Partner API/Devices/Get State History.bru"
1050
+ },
1051
+ {
1052
+ "key": "partner.devices.getStateHistoryMultiDevices",
1053
+ "namespace": "partner",
1054
+ "group": "devices",
1055
+ "action": "getStateHistoryMultiDevices",
1056
+ "title": "Get State History (multi-devices)",
1057
+ "method": "GET",
1058
+ "base": "hub",
1059
+ "pathTemplate": "/core/v1/partner/devices/histories",
1060
+ "pathParams": [],
1061
+ "queryParams": [],
1062
+ "authScope": "partner",
1063
+ "bodyType": "none",
1064
+ "hasBody": false,
1065
+ "sourceFile": "Partner API/Devices/Get State History (multi-devices).bru"
1066
+ },
1067
+ {
1068
+ "key": "partner.devices.getTelemetries",
1069
+ "namespace": "partner",
1070
+ "group": "devices",
1071
+ "action": "getTelemetries",
1072
+ "title": "Get Telemetries",
1073
+ "method": "GET",
1074
+ "base": "hub",
1075
+ "pathTemplate": "/core/v1/partner/devices/:device_id/telemetries",
1076
+ "pathParams": [
1077
+ "device_id"
1078
+ ],
1079
+ "queryParams": [],
1080
+ "authScope": "partner",
1081
+ "bodyType": "none",
1082
+ "hasBody": false,
1083
+ "sourceFile": "Partner API/Devices/Get Telemetries.bru"
1084
+ },
1085
+ {
1086
+ "key": "partner.tickets.addComment",
1087
+ "namespace": "partner",
1088
+ "group": "tickets",
1089
+ "action": "addComment",
1090
+ "title": "Add Comment",
1091
+ "method": "POST",
1092
+ "base": "hub",
1093
+ "pathTemplate": "/core/v1/partner/tickets/:ticket_id/message",
1094
+ "pathParams": [
1095
+ "ticket_id"
1096
+ ],
1097
+ "queryParams": [],
1098
+ "authScope": "partner",
1099
+ "bodyType": "json",
1100
+ "hasBody": true,
1101
+ "sourceFile": "Partner API/Tickets/Add Comment.bru",
1102
+ "bodyExample": "{\n \"message\": \"New chat message\""
1103
+ },
1104
+ {
1105
+ "key": "partner.tickets.closeTicket",
1106
+ "namespace": "partner",
1107
+ "group": "tickets",
1108
+ "action": "closeTicket",
1109
+ "title": "Close Ticket",
1110
+ "method": "POST",
1111
+ "base": "hub",
1112
+ "pathTemplate": "/core/v1/partner/tickets/:ticket_id/resolved",
1113
+ "pathParams": [
1114
+ "ticket_id"
1115
+ ],
1116
+ "queryParams": [],
1117
+ "authScope": "partner",
1118
+ "bodyType": "none",
1119
+ "hasBody": false,
1120
+ "sourceFile": "Partner API/Tickets/Close Ticket.bru"
1121
+ },
1122
+ {
1123
+ "key": "partner.tickets.getTicket",
1124
+ "namespace": "partner",
1125
+ "group": "tickets",
1126
+ "action": "getTicket",
1127
+ "title": "Get Ticket",
1128
+ "method": "GET",
1129
+ "base": "hub",
1130
+ "pathTemplate": "/core/v1/partner/tickets/:ticket_id",
1131
+ "pathParams": [
1132
+ "ticket_id"
1133
+ ],
1134
+ "queryParams": [],
1135
+ "authScope": "partner",
1136
+ "bodyType": "none",
1137
+ "hasBody": false,
1138
+ "sourceFile": "Partner API/Tickets/Get Ticket.bru"
1139
+ },
1140
+ {
1141
+ "key": "partner.tickets.getTickets",
1142
+ "namespace": "partner",
1143
+ "group": "tickets",
1144
+ "action": "getTickets",
1145
+ "title": "Get Tickets",
1146
+ "method": "GET",
1147
+ "base": "hub",
1148
+ "pathTemplate": "/core/v1/partner/tickets",
1149
+ "pathParams": [],
1150
+ "queryParams": [],
1151
+ "authScope": "partner",
1152
+ "bodyType": "none",
1153
+ "hasBody": false,
1154
+ "sourceFile": "Partner API/Tickets/Get Tickets.bru"
1155
+ },
1156
+ {
1157
+ "key": "partner.tickets.updateTicket",
1158
+ "namespace": "partner",
1159
+ "group": "tickets",
1160
+ "action": "updateTicket",
1161
+ "title": "Update Ticket",
1162
+ "method": "PUT",
1163
+ "base": "hub",
1164
+ "pathTemplate": "/core/v1/partner/tickets/:ticket_id",
1165
+ "pathParams": [
1166
+ "ticket_id"
1167
+ ],
1168
+ "queryParams": [],
1169
+ "authScope": "partner",
1170
+ "bodyType": "json",
1171
+ "hasBody": true,
1172
+ "sourceFile": "Partner API/Tickets/Update Ticket.bru",
1173
+ "bodyExample": "{\n \"title\": \"New Title\",\n \"description\": \"New Description\""
1174
+ }
1175
+ ]