@itentialopensource/adapter-calix_support_cloud 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +3 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +170 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +172 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +337 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +3628 -0
  23. package/adapterBase.js +1787 -0
  24. package/entities/.generic/action.json +214 -0
  25. package/entities/.generic/schema.json +28 -0
  26. package/entities/.system/action.json +50 -0
  27. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  28. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  29. package/entities/.system/schema.json +19 -0
  30. package/entities/.system/schemaTokenReq.json +53 -0
  31. package/entities/.system/schemaTokenResp.json +53 -0
  32. package/entities/DeviceDataManagement/action.json +150 -0
  33. package/entities/DeviceDataManagement/mockdatafiles/retrieveAllDevices-default.json +89 -0
  34. package/entities/DeviceDataManagement/mockdatafiles/retrieveDeviceByID-default.json +28 -0
  35. package/entities/DeviceDataManagement/mockdatafiles/retrieveDeviceByIPAddress-default.json +28 -0
  36. package/entities/DeviceDataManagement/mockdatafiles/retrieveDeviceByMACAddress-default.json +28 -0
  37. package/entities/DeviceDataManagement/mockdatafiles/retrieveDeviceBySerialNumber-default.json +28 -0
  38. package/entities/DeviceDataManagement/schema.json +25 -0
  39. package/entities/DeviceGroupManagement/action.json +189 -0
  40. package/entities/DeviceGroupManagement/mockdatafiles/addADeviceOrProvisioningRecordToAStaticGroup-default.json +1 -0
  41. package/entities/DeviceGroupManagement/mockdatafiles/removeADeviceFromAllStaticGroups-default.json +3 -0
  42. package/entities/DeviceGroupManagement/mockdatafiles/retrieveAllDeviceGroups-default.json +34 -0
  43. package/entities/DeviceGroupManagement/mockdatafiles/retrieveAllStaticGroupMemberships-default.json +11 -0
  44. package/entities/DeviceGroupManagement/mockdatafiles/retrieveDeviceGroupByID-default.json +7 -0
  45. package/entities/DeviceGroupManagement/mockdatafiles/retrieveSingleStaticGroupMembershipRecord-default.json +9 -0
  46. package/entities/DeviceGroupManagement/mockdatafiles/retrieveStaticGroupMembershipsByDevice-default.json +11 -0
  47. package/entities/DeviceGroupManagement/schema.json +27 -0
  48. package/entities/DeviceProvisioningRecordManagement/action.json +148 -0
  49. package/entities/DeviceProvisioningRecordManagement/mockdatafiles/createProvisioningRecord-default.json +1 -0
  50. package/entities/DeviceProvisioningRecordManagement/mockdatafiles/retrieveAllProvisioningRecords-default.json +77 -0
  51. package/entities/DeviceProvisioningRecordManagement/mockdatafiles/retrieveProvisioningRecordByInternalID-default.json +77 -0
  52. package/entities/DeviceProvisioningRecordManagement/mockdatafiles/retrieveProvisioningRecordsByDevice-default.json +82 -0
  53. package/entities/DeviceProvisioningRecordManagement/mockdatafiles/retrieveProvisioningRecordsBySubscriber-default.json +82 -0
  54. package/entities/DeviceProvisioningRecordManagement/schema.json +25 -0
  55. package/entities/SubscriberManagement/action.json +190 -0
  56. package/entities/SubscriberManagement/mockdatafiles/retrieveAllSubscribers-default.json +27 -0
  57. package/entities/SubscriberManagement/mockdatafiles/retrieveSubscriberByCustomIdSubscriberID-default.json +25 -0
  58. package/entities/SubscriberManagement/mockdatafiles/retrieveSubscriberByEmailAddress-default.json +27 -0
  59. package/entities/SubscriberManagement/mockdatafiles/retrieveSubscriberByInternalID-default.json +25 -0
  60. package/entities/SubscriberManagement/mockdatafiles/retrieveSubscriberByName-default.json +27 -0
  61. package/entities/SubscriberManagement/mockdatafiles/retrieveSubscribersByPhoneNumber-default.json +27 -0
  62. package/entities/SubscriberManagement/mockdatafiles/updateSubscriberOrReplaceAssociatedSystem-default.json +25 -0
  63. package/entities/SubscriberManagement/schema.json +27 -0
  64. package/entities/TR69DeviceOperations/action.json +24 -0
  65. package/entities/TR69DeviceOperations/schema.json +19 -0
  66. package/error.json +190 -0
  67. package/package.json +85 -0
  68. package/pronghorn.json +1780 -0
  69. package/propertiesDecorators.json +14 -0
  70. package/propertiesSchema.json +1248 -0
  71. package/refs?service=git-upload-pack +0 -0
  72. package/report/Calix Support Cloud - Subscriber-Device API.postman_collection.json +2696 -0
  73. package/report/creationReport.json +314 -0
  74. package/sampleProperties.json +195 -0
  75. package/test/integration/adapterTestBasicGet.js +83 -0
  76. package/test/integration/adapterTestConnectivity.js +93 -0
  77. package/test/integration/adapterTestIntegration.js +1336 -0
  78. package/test/unit/adapterBaseTestUnit.js +949 -0
  79. package/test/unit/adapterTestUnit.js +2234 -0
  80. package/utils/adapterInfo.js +206 -0
  81. package/utils/addAuth.js +94 -0
  82. package/utils/artifactize.js +146 -0
  83. package/utils/basicGet.js +50 -0
  84. package/utils/checkMigrate.js +63 -0
  85. package/utils/entitiesToDB.js +178 -0
  86. package/utils/findPath.js +74 -0
  87. package/utils/methodDocumentor.js +225 -0
  88. package/utils/modify.js +154 -0
  89. package/utils/packModificationScript.js +35 -0
  90. package/utils/patches2bundledDeps.js +90 -0
  91. package/utils/pre-commit.sh +32 -0
  92. package/utils/removeHooks.js +20 -0
  93. package/utils/setup.js +33 -0
  94. package/utils/tbScript.js +246 -0
  95. package/utils/tbUtils.js +490 -0
  96. package/utils/testRunner.js +298 -0
  97. package/utils/troubleshootingAdapter.js +195 -0
  98. package/workflows/README.md +3 -0
package/pronghorn.json ADDED
@@ -0,0 +1,1780 @@
1
+ {
2
+ "id": "@itentialopensource/adapter-calix_support_cloud",
3
+ "type": "Adapter",
4
+ "export": "CalixSupportCloud",
5
+ "title": "Calix_support_cloud",
6
+ "src": "adapter.js",
7
+ "roles": [
8
+ "admin"
9
+ ],
10
+ "methods": [
11
+ {
12
+ "name": "iapUpdateAdapterConfiguration",
13
+ "summary": "Updates the adapter configuration",
14
+ "description": "Updates the adapter configuration file with the provided changes",
15
+ "input": [
16
+ {
17
+ "name": "configFile",
18
+ "type": "string",
19
+ "info": "The name of the file to change",
20
+ "required": true,
21
+ "schema": {
22
+ "title": "configFile",
23
+ "type": "string"
24
+ }
25
+ },
26
+ {
27
+ "name": "changes",
28
+ "type": "object",
29
+ "info": "JSON object containing the configuration changes",
30
+ "required": true,
31
+ "schema": {
32
+ "title": "changes",
33
+ "type": "object"
34
+ }
35
+ },
36
+ {
37
+ "name": "entity",
38
+ "type": "string",
39
+ "info": "The entity in which the changes are being made",
40
+ "required": false,
41
+ "schema": {
42
+ "title": "entity",
43
+ "type": "string"
44
+ }
45
+ },
46
+ {
47
+ "name": "type",
48
+ "type": "string",
49
+ "info": "The type of file to change - action, schema, or mock",
50
+ "required": false,
51
+ "schema": {
52
+ "title": "type",
53
+ "type": "string"
54
+ }
55
+ },
56
+ {
57
+ "name": "action",
58
+ "type": "string",
59
+ "info": "The action to be changed",
60
+ "required": false,
61
+ "schema": {
62
+ "title": "action",
63
+ "type": "string"
64
+ }
65
+ }
66
+ ],
67
+ "output": {
68
+ "name": "result",
69
+ "type": "object",
70
+ "description": "A JSON Object containing status, code and the result",
71
+ "schema": {
72
+ "title": "result",
73
+ "type": "object"
74
+ }
75
+ },
76
+ "roles": [
77
+ "admin"
78
+ ],
79
+ "route": {
80
+ "verb": "POST",
81
+ "path": "/iapUpdateAdapterConfiguration"
82
+ },
83
+ "task": true
84
+ },
85
+ {
86
+ "name": "iapFindAdapterPath",
87
+ "summary": "Provides the ability to see if a particular API path is supported by the adapter",
88
+ "description": "Provides the ability to see if a particular API path is supported by the adapter",
89
+ "input": [
90
+ {
91
+ "name": "apiPath",
92
+ "type": "string",
93
+ "info": "The API Path you want to check - make sure to not include base path and version",
94
+ "description": "The API Path you want to check - make sure to not include base path and version",
95
+ "schema": {
96
+ "title": "apiPath",
97
+ "type": "string"
98
+ },
99
+ "required": true
100
+ }
101
+ ],
102
+ "output": {
103
+ "name": "result",
104
+ "type": "object",
105
+ "description": "A JSON Object containing the result",
106
+ "schema": {
107
+ "title": "result",
108
+ "type": "object"
109
+ }
110
+ },
111
+ "roles": [
112
+ "admin"
113
+ ],
114
+ "route": {
115
+ "verb": "POST",
116
+ "path": "/iapFindAdapterPath"
117
+ },
118
+ "task": true
119
+ },
120
+ {
121
+ "name": "iapSuspendAdapter",
122
+ "summary": "Suspends the adapter",
123
+ "description": "Suspends the adapter",
124
+ "input": [
125
+ {
126
+ "name": "mode",
127
+ "type": "enum",
128
+ "enumerals": [
129
+ "pause",
130
+ "error"
131
+ ],
132
+ "info": "How incoming requests are handled. Defaults to 'pause'",
133
+ "description": "How incoming requests are handled. Defaults to 'pause'",
134
+ "schema": {
135
+ "title": "mode",
136
+ "type": "string"
137
+ },
138
+ "required": false
139
+ }
140
+ ],
141
+ "output": {
142
+ "name": "result",
143
+ "type": "object",
144
+ "description": "A JSON Object containing the adapter suspended status",
145
+ "schema": {
146
+ "title": "result",
147
+ "type": "object"
148
+ }
149
+ },
150
+ "roles": [
151
+ "admin"
152
+ ],
153
+ "route": {
154
+ "verb": "POST",
155
+ "path": "/iapSuspendAdapter"
156
+ },
157
+ "task": true
158
+ },
159
+ {
160
+ "name": "iapUnsuspendAdapter",
161
+ "summary": "Unsuspends the adapter",
162
+ "description": "Unsuspends the adapter",
163
+ "input": [],
164
+ "output": {
165
+ "name": "result",
166
+ "type": "object",
167
+ "description": "A JSON Object containing the adapter suspended status",
168
+ "schema": {
169
+ "title": "result",
170
+ "type": "object"
171
+ }
172
+ },
173
+ "roles": [
174
+ "admin"
175
+ ],
176
+ "route": {
177
+ "verb": "POST",
178
+ "path": "/iapUnsuspendAdapter"
179
+ },
180
+ "task": true
181
+ },
182
+ {
183
+ "name": "iapGetAdapterQueue",
184
+ "summary": "Return the requests that are waiting in the queue if throttling is enabled",
185
+ "description": "Return the requests that are waiting in the queue if throttling is enabled",
186
+ "input": [],
187
+ "output": {
188
+ "name": "result",
189
+ "type": "object",
190
+ "description": "A JSON Object containing the adapter queue",
191
+ "schema": {
192
+ "title": "result",
193
+ "type": "object"
194
+ }
195
+ },
196
+ "roles": [
197
+ "admin"
198
+ ],
199
+ "route": {
200
+ "verb": "POST",
201
+ "path": "/iapGetAdapterQueue"
202
+ },
203
+ "task": true
204
+ },
205
+ {
206
+ "name": "iapTroubleshootAdapter",
207
+ "summary": "Runs troubleshoot script for adapter",
208
+ "description": "Runs troubleshoot script for adapter",
209
+ "input": [
210
+ {
211
+ "name": "props",
212
+ "type": "object",
213
+ "info": "Object containing configuration, healthcheck and auth properties {'connProps':{'host': 'api.service.com', 'base_path': '/', 'protocol': 'http', 'port': 443, 'version': 'v1'},'healthCheckEndpoint': '/healthcheck', 'auth': {'auth_method': 'no authentication', 'username': 'username', 'password': 'password'}}",
214
+ "required": true,
215
+ "schema": {
216
+ "title": "props",
217
+ "type": "object"
218
+ }
219
+ },
220
+ {
221
+ "name": "persistFlag",
222
+ "type": "boolean",
223
+ "info": "Whether the input properties should be saved",
224
+ "required": true
225
+ }
226
+ ],
227
+ "output": {
228
+ "name": "result",
229
+ "type": "object",
230
+ "description": "A JSON Object containing the test results",
231
+ "schema": {
232
+ "title": "result",
233
+ "type": "object"
234
+ }
235
+ },
236
+ "roles": [
237
+ "admin"
238
+ ],
239
+ "route": {
240
+ "verb": "POST",
241
+ "path": "/iapTroubleshootAdapter"
242
+ },
243
+ "task": true
244
+ },
245
+ {
246
+ "name": "iapRunAdapterHealthcheck",
247
+ "summary": "Runs healthcheck script for adapter",
248
+ "description": "Runs healthcheck script for adapter",
249
+ "input": [],
250
+ "output": {
251
+ "name": "result",
252
+ "type": "boolean",
253
+ "description": "Whether healthcheck passed or failed"
254
+ },
255
+ "roles": [
256
+ "admin"
257
+ ],
258
+ "route": {
259
+ "verb": "POST",
260
+ "path": "/iapRunAdapterHealthcheck"
261
+ },
262
+ "task": true
263
+ },
264
+ {
265
+ "name": "iapRunAdapterConnectivity",
266
+ "summary": "Runs connectivity check script for adapter",
267
+ "description": "Runs connectivity check script for adapter",
268
+ "input": [],
269
+ "output": {
270
+ "name": "result",
271
+ "type": "object",
272
+ "description": "A JSON Object containing the test results",
273
+ "schema": {
274
+ "title": "result",
275
+ "type": "object"
276
+ }
277
+ },
278
+ "roles": [
279
+ "admin"
280
+ ],
281
+ "route": {
282
+ "verb": "POST",
283
+ "path": "/iapRunAdapterConnectivity"
284
+ },
285
+ "task": true
286
+ },
287
+ {
288
+ "name": "iapRunAdapterBasicGet",
289
+ "summary": "Runs basicGet script for adapter",
290
+ "description": "Runs basicGet script for adapter",
291
+ "input": [],
292
+ "output": {
293
+ "name": "result",
294
+ "type": "object",
295
+ "description": "A JSON Object containing the test results",
296
+ "schema": {
297
+ "title": "result",
298
+ "type": "object"
299
+ }
300
+ },
301
+ "roles": [
302
+ "admin"
303
+ ],
304
+ "route": {
305
+ "verb": "POST",
306
+ "path": "/iapRunAdapterBasicGet"
307
+ },
308
+ "task": true
309
+ },
310
+ {
311
+ "name": "iapMoveAdapterEntitiesToDB",
312
+ "summary": "Moves entities from an adapter into the IAP database",
313
+ "description": "Moves entities from an adapter into the IAP database",
314
+ "input": [],
315
+ "output": {
316
+ "name": "res",
317
+ "type": "object",
318
+ "description": "A JSON Object containing status, code and the response from the mongo transaction",
319
+ "schema": {
320
+ "title": "res",
321
+ "type": "object"
322
+ }
323
+ },
324
+ "roles": [
325
+ "admin"
326
+ ],
327
+ "route": {
328
+ "verb": "POST",
329
+ "path": "/iapMoveAdapterEntitiesToDB"
330
+ },
331
+ "task": true
332
+ },
333
+ {
334
+ "name": "genericAdapterRequest",
335
+ "summary": "Makes the requested generic call",
336
+ "description": "Makes the requested generic call",
337
+ "input": [
338
+ {
339
+ "name": "uriPath",
340
+ "type": "string",
341
+ "info": "the path of the api call - do not include the host, port, base path or version",
342
+ "description": "the path of the api call",
343
+ "schema": {
344
+ "title": "uriPath",
345
+ "type": "string"
346
+ },
347
+ "required": true
348
+ },
349
+ {
350
+ "name": "restMethod",
351
+ "type": "string",
352
+ "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
353
+ "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
354
+ "schema": {
355
+ "title": "restMethod",
356
+ "type": "string"
357
+ },
358
+ "required": true
359
+ },
360
+ {
361
+ "name": "queryData",
362
+ "type": "object",
363
+ "info": "the query parameters to be put on the url (optional)",
364
+ "description": "the query parameters to be put on the url (optional)",
365
+ "schema": {
366
+ "title": "queryData",
367
+ "type": "object"
368
+ },
369
+ "required": false
370
+ },
371
+ {
372
+ "name": "requestBody",
373
+ "type": "object",
374
+ "info": "the payload to be sent with the request (optional)",
375
+ "description": "the payload to be sent with the request (optional)",
376
+ "schema": {
377
+ "title": "requestBody",
378
+ "type": "object"
379
+ },
380
+ "required": false
381
+ },
382
+ {
383
+ "name": "addlHeaders",
384
+ "type": "object",
385
+ "info": "additional headers to be put on the call (optional)",
386
+ "description": "additional headers to be put on the call (optional)",
387
+ "schema": {
388
+ "title": "addlHeaders",
389
+ "type": "object"
390
+ },
391
+ "required": false
392
+ }
393
+ ],
394
+ "output": {
395
+ "name": "result",
396
+ "type": "object",
397
+ "description": "A JSON Object containing status, code and the result",
398
+ "schema": {
399
+ "title": "result",
400
+ "type": "object"
401
+ }
402
+ },
403
+ "roles": [
404
+ "admin"
405
+ ],
406
+ "route": {
407
+ "verb": "POST",
408
+ "path": "/genericAdapterRequest"
409
+ },
410
+ "task": true
411
+ },
412
+ {
413
+ "name": "genericAdapterRequestNoBasePath",
414
+ "summary": "Makes the requested generic call",
415
+ "description": "Makes the requested generic call",
416
+ "input": [
417
+ {
418
+ "name": "uriPath",
419
+ "type": "string",
420
+ "info": "the path of the api call - do not include the host, port, base path or version",
421
+ "description": "the path of the api call",
422
+ "schema": {
423
+ "title": "uriPath",
424
+ "type": "string"
425
+ },
426
+ "required": true
427
+ },
428
+ {
429
+ "name": "restMethod",
430
+ "type": "string",
431
+ "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
432
+ "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
433
+ "schema": {
434
+ "title": "restMethod",
435
+ "type": "string"
436
+ },
437
+ "required": true
438
+ },
439
+ {
440
+ "name": "queryData",
441
+ "type": "object",
442
+ "info": "the query parameters to be put on the url (optional)",
443
+ "description": "the query parameters to be put on the url (optional)",
444
+ "schema": {
445
+ "title": "queryData",
446
+ "type": "object"
447
+ },
448
+ "required": false
449
+ },
450
+ {
451
+ "name": "requestBody",
452
+ "type": "object",
453
+ "info": "the payload to be sent with the request (optional)",
454
+ "description": "the payload to be sent with the request (optional)",
455
+ "schema": {
456
+ "title": "requestBody",
457
+ "type": "object"
458
+ },
459
+ "required": false
460
+ },
461
+ {
462
+ "name": "addlHeaders",
463
+ "type": "object",
464
+ "info": "additional headers to be put on the call (optional)",
465
+ "description": "additional headers to be put on the call (optional)",
466
+ "schema": {
467
+ "title": "addlHeaders",
468
+ "type": "object"
469
+ },
470
+ "required": false
471
+ }
472
+ ],
473
+ "output": {
474
+ "name": "result",
475
+ "type": "object",
476
+ "description": "A JSON Object containing status, code and the result",
477
+ "schema": {
478
+ "title": "result",
479
+ "type": "object"
480
+ }
481
+ },
482
+ "roles": [
483
+ "admin"
484
+ ],
485
+ "route": {
486
+ "verb": "POST",
487
+ "path": "/genericAdapterRequestNoBasePath"
488
+ },
489
+ "task": true
490
+ },
491
+ {
492
+ "name": "getDevice",
493
+ "summary": "Get the Appliance",
494
+ "description": "Get the Appliance",
495
+ "input": [
496
+ {
497
+ "name": "deviceName",
498
+ "type": "string",
499
+ "info": "An Appliance Device Name",
500
+ "required": true,
501
+ "schema": {
502
+ "title": "deviceName",
503
+ "type": "string"
504
+ }
505
+ }
506
+ ],
507
+ "output": {
508
+ "name": "result",
509
+ "type": "object",
510
+ "description": "A JSON Object containing status, code and the result",
511
+ "schema": {
512
+ "title": "result",
513
+ "type": "object"
514
+ }
515
+ },
516
+ "roles": [
517
+ "admin"
518
+ ],
519
+ "route": {
520
+ "verb": "POST",
521
+ "path": "/getDevice"
522
+ },
523
+ "task": true
524
+ },
525
+ {
526
+ "name": "getDevicesFiltered",
527
+ "summary": "Get Appliances that match the filter",
528
+ "description": "Get Appliances that match the filter",
529
+ "input": [
530
+ {
531
+ "name": "options",
532
+ "type": "object",
533
+ "info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
534
+ "required": true,
535
+ "schema": {
536
+ "title": "options",
537
+ "type": "object"
538
+ }
539
+ }
540
+ ],
541
+ "output": {
542
+ "name": "result",
543
+ "type": "array",
544
+ "description": "A JSON Object containing status, code and the result",
545
+ "schema": {
546
+ "title": "result",
547
+ "type": "array"
548
+ }
549
+ },
550
+ "roles": [
551
+ "admin"
552
+ ],
553
+ "route": {
554
+ "verb": "POST",
555
+ "path": "/getDevicesFiltered"
556
+ },
557
+ "task": true
558
+ },
559
+ {
560
+ "name": "isAlive",
561
+ "summary": "Checks the status for the provided Appliance",
562
+ "description": "Checks the status for the provided Appliance",
563
+ "input": [
564
+ {
565
+ "name": "deviceName",
566
+ "type": "string",
567
+ "info": "An Appliance Device Name",
568
+ "required": true,
569
+ "schema": {
570
+ "title": "deviceName",
571
+ "type": "string"
572
+ }
573
+ }
574
+ ],
575
+ "output": {
576
+ "name": "result",
577
+ "type": "boolean",
578
+ "description": "A JSON Object containing status, code and the result",
579
+ "schema": {
580
+ "title": "result",
581
+ "type": "boolean"
582
+ }
583
+ },
584
+ "roles": [
585
+ "admin"
586
+ ],
587
+ "route": {
588
+ "verb": "POST",
589
+ "path": "/isAlive"
590
+ },
591
+ "task": true
592
+ },
593
+ {
594
+ "name": "getConfig",
595
+ "summary": "Gets a config for the provided Appliance",
596
+ "description": "Gets a config for the provided Appliance",
597
+ "input": [
598
+ {
599
+ "name": "deviceName",
600
+ "type": "string",
601
+ "info": "An Appliance Device Name",
602
+ "required": true,
603
+ "schema": {
604
+ "title": "deviceName",
605
+ "type": "string"
606
+ }
607
+ },
608
+ {
609
+ "name": "format",
610
+ "type": "string",
611
+ "info": "The format to be returned - this is ignored as we always return json",
612
+ "required": false,
613
+ "schema": {
614
+ "title": "format",
615
+ "type": "string"
616
+ }
617
+ }
618
+ ],
619
+ "output": {
620
+ "name": "result",
621
+ "type": "object",
622
+ "description": "A JSON Object containing status, code and the result",
623
+ "schema": {
624
+ "title": "result",
625
+ "type": "object"
626
+ }
627
+ },
628
+ "roles": [
629
+ "admin"
630
+ ],
631
+ "route": {
632
+ "verb": "POST",
633
+ "path": "/getConfig"
634
+ },
635
+ "task": true
636
+ },
637
+ {
638
+ "name": "iapGetDeviceCount",
639
+ "summary": "Gets a device count from the system",
640
+ "description": "Gets a device count from the system",
641
+ "input": [],
642
+ "output": {
643
+ "name": "result",
644
+ "type": "object",
645
+ "description": "A JSON Object containing status, code and the result",
646
+ "schema": {
647
+ "title": "result",
648
+ "type": "object"
649
+ }
650
+ },
651
+ "roles": [
652
+ "admin"
653
+ ],
654
+ "route": {
655
+ "verb": "POST",
656
+ "path": "/iapGetDeviceCount"
657
+ },
658
+ "task": true
659
+ },
660
+ {
661
+ "name": "retrieveAllDevices",
662
+ "summary": "Retrieve All Devices",
663
+ "description": "Retrieve All Devices",
664
+ "input": [],
665
+ "output": {
666
+ "name": "result",
667
+ "type": "object",
668
+ "description": "A JSON Object containing status, code and the result",
669
+ "schema": {
670
+ "title": "result",
671
+ "type": "object"
672
+ }
673
+ },
674
+ "roles": [
675
+ "admin"
676
+ ],
677
+ "route": {
678
+ "verb": "GET",
679
+ "path": "/retrieveAllDevices"
680
+ },
681
+ "task": true
682
+ },
683
+ {
684
+ "name": "retrieveDeviceByID",
685
+ "summary": "Retrieve Device By ID",
686
+ "description": "Retrieve Device By ID",
687
+ "input": [
688
+ {
689
+ "name": "deviceid",
690
+ "type": "string",
691
+ "info": "path parameter: ",
692
+ "required": true,
693
+ "schema": {
694
+ "title": "deviceid",
695
+ "type": "string"
696
+ }
697
+ }
698
+ ],
699
+ "output": {
700
+ "name": "result",
701
+ "type": "object",
702
+ "description": "A JSON Object containing status, code and the result",
703
+ "schema": {
704
+ "title": "result",
705
+ "type": "object"
706
+ }
707
+ },
708
+ "roles": [
709
+ "admin"
710
+ ],
711
+ "route": {
712
+ "verb": "POST",
713
+ "path": "/retrieveDeviceByID"
714
+ },
715
+ "task": true
716
+ },
717
+ {
718
+ "name": "deleteDevice",
719
+ "summary": "Delete Device",
720
+ "description": "Delete Device",
721
+ "input": [
722
+ {
723
+ "name": "deviceid",
724
+ "type": "string",
725
+ "info": "path parameter: ",
726
+ "required": true,
727
+ "schema": {
728
+ "title": "deviceid",
729
+ "type": "string"
730
+ }
731
+ }
732
+ ],
733
+ "output": {
734
+ "name": "result",
735
+ "type": "object",
736
+ "description": "A JSON Object containing status, code and the result",
737
+ "schema": {
738
+ "title": "result",
739
+ "type": "object"
740
+ }
741
+ },
742
+ "roles": [
743
+ "admin"
744
+ ],
745
+ "route": {
746
+ "verb": "POST",
747
+ "path": "/deleteDevice"
748
+ },
749
+ "task": true
750
+ },
751
+ {
752
+ "name": "retrieveDeviceBySerialNumber",
753
+ "summary": "Retrieve Device By Serial Number",
754
+ "description": "Retrieve Device By Serial Number",
755
+ "input": [
756
+ {
757
+ "name": "serialNumber",
758
+ "type": "string",
759
+ "info": "The device serial number as reported in the TR-69 INFORM. For most Calix devices, this is the FSAN Serial Number starting with CXNK, not the Manufacturing Serial Number.: ",
760
+ "required": true,
761
+ "schema": {
762
+ "title": "serialNumber",
763
+ "type": "string"
764
+ }
765
+ }
766
+ ],
767
+ "output": {
768
+ "name": "result",
769
+ "type": "object",
770
+ "description": "A JSON Object containing status, code and the result",
771
+ "schema": {
772
+ "title": "result",
773
+ "type": "object"
774
+ }
775
+ },
776
+ "roles": [
777
+ "admin"
778
+ ],
779
+ "route": {
780
+ "verb": "POST",
781
+ "path": "/retrieveDeviceBySerialNumber"
782
+ },
783
+ "task": true
784
+ },
785
+ {
786
+ "name": "retrieveDeviceByMACAddress",
787
+ "summary": "Retrieve Device By MAC Address",
788
+ "description": "Retrieve Device By MAC Address",
789
+ "input": [
790
+ {
791
+ "name": "macAddress",
792
+ "type": "string",
793
+ "info": "The hardware MAC address as reported in the TR-69 INFORM, in the format 00:11:22:33:44:55: ",
794
+ "required": true,
795
+ "schema": {
796
+ "title": "macAddress",
797
+ "type": "string"
798
+ }
799
+ }
800
+ ],
801
+ "output": {
802
+ "name": "result",
803
+ "type": "object",
804
+ "description": "A JSON Object containing status, code and the result",
805
+ "schema": {
806
+ "title": "result",
807
+ "type": "object"
808
+ }
809
+ },
810
+ "roles": [
811
+ "admin"
812
+ ],
813
+ "route": {
814
+ "verb": "POST",
815
+ "path": "/retrieveDeviceByMACAddress"
816
+ },
817
+ "task": true
818
+ },
819
+ {
820
+ "name": "retrieveDeviceByRegistrationID",
821
+ "summary": "Retrieve Device By Registration ID",
822
+ "description": "Retrieve Device By Registration ID",
823
+ "input": [
824
+ {
825
+ "name": "registrationId",
826
+ "type": "string",
827
+ "info": "The Calix ONT Registration ID (aka RONTA) as programmed locally on the device: ",
828
+ "required": true,
829
+ "schema": {
830
+ "title": "registrationId",
831
+ "type": "string"
832
+ }
833
+ }
834
+ ],
835
+ "output": {
836
+ "name": "result",
837
+ "type": "object",
838
+ "description": "A JSON Object containing status, code and the result",
839
+ "schema": {
840
+ "title": "result",
841
+ "type": "object"
842
+ }
843
+ },
844
+ "roles": [
845
+ "admin"
846
+ ],
847
+ "route": {
848
+ "verb": "POST",
849
+ "path": "/retrieveDeviceByRegistrationID"
850
+ },
851
+ "task": true
852
+ },
853
+ {
854
+ "name": "retrieveDeviceByIPAddress",
855
+ "summary": "Retrieve Device By IP Address",
856
+ "description": "Retrieve Device By IP Address",
857
+ "input": [
858
+ {
859
+ "name": "ipAddress",
860
+ "type": "string",
861
+ "info": "The WAN IP address as reported by TR-69 INFORM: ",
862
+ "required": true,
863
+ "schema": {
864
+ "title": "ipAddress",
865
+ "type": "string"
866
+ }
867
+ }
868
+ ],
869
+ "output": {
870
+ "name": "result",
871
+ "type": "object",
872
+ "description": "A JSON Object containing status, code and the result",
873
+ "schema": {
874
+ "title": "result",
875
+ "type": "object"
876
+ }
877
+ },
878
+ "roles": [
879
+ "admin"
880
+ ],
881
+ "route": {
882
+ "verb": "POST",
883
+ "path": "/retrieveDeviceByIPAddress"
884
+ },
885
+ "task": true
886
+ },
887
+ {
888
+ "name": "createSubscriber",
889
+ "summary": "Create Subscriber",
890
+ "description": "Create Subscriber",
891
+ "input": [
892
+ {
893
+ "name": "body",
894
+ "type": "object",
895
+ "info": "POST body parameter: ",
896
+ "required": true,
897
+ "schema": {
898
+ "title": "body",
899
+ "type": "object"
900
+ }
901
+ }
902
+ ],
903
+ "output": {
904
+ "name": "result",
905
+ "type": "object",
906
+ "description": "A JSON Object containing status, code and the result",
907
+ "schema": {
908
+ "title": "result",
909
+ "type": "object"
910
+ }
911
+ },
912
+ "roles": [
913
+ "admin"
914
+ ],
915
+ "route": {
916
+ "verb": "POST",
917
+ "path": "/createSubscriber"
918
+ },
919
+ "task": true
920
+ },
921
+ {
922
+ "name": "retrieveAllSubscribers",
923
+ "summary": "Retrieve All Subscribers",
924
+ "description": "Retrieve All Subscribers",
925
+ "input": [],
926
+ "output": {
927
+ "name": "result",
928
+ "type": "object",
929
+ "description": "A JSON Object containing status, code and the result",
930
+ "schema": {
931
+ "title": "result",
932
+ "type": "object"
933
+ }
934
+ },
935
+ "roles": [
936
+ "admin"
937
+ ],
938
+ "route": {
939
+ "verb": "GET",
940
+ "path": "/retrieveAllSubscribers"
941
+ },
942
+ "task": true
943
+ },
944
+ {
945
+ "name": "retrieveSubscriberByInternalID",
946
+ "summary": "Retrieve Subscriber by Internal ID",
947
+ "description": "Retrieve Subscriber by Internal ID",
948
+ "input": [
949
+ {
950
+ "name": "id",
951
+ "type": "string",
952
+ "info": "path parameter: ",
953
+ "required": true,
954
+ "schema": {
955
+ "title": "id",
956
+ "type": "string"
957
+ }
958
+ }
959
+ ],
960
+ "output": {
961
+ "name": "result",
962
+ "type": "object",
963
+ "description": "A JSON Object containing status, code and the result",
964
+ "schema": {
965
+ "title": "result",
966
+ "type": "object"
967
+ }
968
+ },
969
+ "roles": [
970
+ "admin"
971
+ ],
972
+ "route": {
973
+ "verb": "POST",
974
+ "path": "/retrieveSubscriberByInternalID"
975
+ },
976
+ "task": true
977
+ },
978
+ {
979
+ "name": "deleteSubscriber",
980
+ "summary": "Delete Subscriber",
981
+ "description": "Delete Subscriber",
982
+ "input": [
983
+ {
984
+ "name": "id",
985
+ "type": "string",
986
+ "info": "path parameter: ",
987
+ "required": true,
988
+ "schema": {
989
+ "title": "id",
990
+ "type": "string"
991
+ }
992
+ }
993
+ ],
994
+ "output": {
995
+ "name": "result",
996
+ "type": "object",
997
+ "description": "A JSON Object containing status, code and the result",
998
+ "schema": {
999
+ "title": "result",
1000
+ "type": "object"
1001
+ }
1002
+ },
1003
+ "roles": [
1004
+ "admin"
1005
+ ],
1006
+ "route": {
1007
+ "verb": "POST",
1008
+ "path": "/deleteSubscriber"
1009
+ },
1010
+ "task": true
1011
+ },
1012
+ {
1013
+ "name": "retrieveSubscriberByCustomIdSubscriberID",
1014
+ "summary": "Retrieve Subscriber by customId/SubscriberID",
1015
+ "description": "Retrieve Subscriber by customId/SubscriberID",
1016
+ "input": [
1017
+ {
1018
+ "name": "customId",
1019
+ "type": "string",
1020
+ "info": ": ",
1021
+ "required": true,
1022
+ "schema": {
1023
+ "title": "customId",
1024
+ "type": "string"
1025
+ }
1026
+ }
1027
+ ],
1028
+ "output": {
1029
+ "name": "result",
1030
+ "type": "object",
1031
+ "description": "A JSON Object containing status, code and the result",
1032
+ "schema": {
1033
+ "title": "result",
1034
+ "type": "object"
1035
+ }
1036
+ },
1037
+ "roles": [
1038
+ "admin"
1039
+ ],
1040
+ "route": {
1041
+ "verb": "POST",
1042
+ "path": "/retrieveSubscriberByCustomIdSubscriberID"
1043
+ },
1044
+ "task": true
1045
+ },
1046
+ {
1047
+ "name": "retrieveSubscriberByName",
1048
+ "summary": "Retrieve Subscriber by Name",
1049
+ "description": "Retrieve Subscriber by Name",
1050
+ "input": [
1051
+ {
1052
+ "name": "name",
1053
+ "type": "string",
1054
+ "info": ": ",
1055
+ "required": true,
1056
+ "schema": {
1057
+ "title": "name",
1058
+ "type": "string"
1059
+ }
1060
+ }
1061
+ ],
1062
+ "output": {
1063
+ "name": "result",
1064
+ "type": "object",
1065
+ "description": "A JSON Object containing status, code and the result",
1066
+ "schema": {
1067
+ "title": "result",
1068
+ "type": "object"
1069
+ }
1070
+ },
1071
+ "roles": [
1072
+ "admin"
1073
+ ],
1074
+ "route": {
1075
+ "verb": "POST",
1076
+ "path": "/retrieveSubscriberByName"
1077
+ },
1078
+ "task": true
1079
+ },
1080
+ {
1081
+ "name": "retrieveSubscribersByPhoneNumber",
1082
+ "summary": "Retrieve Subscribers by Phone Number",
1083
+ "description": "Retrieve Subscribers by Phone Number",
1084
+ "input": [
1085
+ {
1086
+ "name": "phone",
1087
+ "type": "string",
1088
+ "info": ": ",
1089
+ "required": true,
1090
+ "schema": {
1091
+ "title": "phone",
1092
+ "type": "string"
1093
+ }
1094
+ }
1095
+ ],
1096
+ "output": {
1097
+ "name": "result",
1098
+ "type": "object",
1099
+ "description": "A JSON Object containing status, code and the result",
1100
+ "schema": {
1101
+ "title": "result",
1102
+ "type": "object"
1103
+ }
1104
+ },
1105
+ "roles": [
1106
+ "admin"
1107
+ ],
1108
+ "route": {
1109
+ "verb": "POST",
1110
+ "path": "/retrieveSubscribersByPhoneNumber"
1111
+ },
1112
+ "task": true
1113
+ },
1114
+ {
1115
+ "name": "retrieveSubscriberByEmailAddress",
1116
+ "summary": "Retrieve Subscriber by Email Address",
1117
+ "description": "Retrieve Subscriber by Email Address",
1118
+ "input": [
1119
+ {
1120
+ "name": "email",
1121
+ "type": "string",
1122
+ "info": ": ",
1123
+ "required": true,
1124
+ "schema": {
1125
+ "title": "email",
1126
+ "type": "string"
1127
+ }
1128
+ }
1129
+ ],
1130
+ "output": {
1131
+ "name": "result",
1132
+ "type": "object",
1133
+ "description": "A JSON Object containing status, code and the result",
1134
+ "schema": {
1135
+ "title": "result",
1136
+ "type": "object"
1137
+ }
1138
+ },
1139
+ "roles": [
1140
+ "admin"
1141
+ ],
1142
+ "route": {
1143
+ "verb": "POST",
1144
+ "path": "/retrieveSubscriberByEmailAddress"
1145
+ },
1146
+ "task": true
1147
+ },
1148
+ {
1149
+ "name": "updateSubscriberOrReplaceAssociatedSystem",
1150
+ "summary": "Update Subscriber or replace associated system",
1151
+ "description": "Update Subscriber or replace associated system",
1152
+ "input": [
1153
+ {
1154
+ "name": "body",
1155
+ "type": "object",
1156
+ "info": "PUT body parameter: ",
1157
+ "required": true,
1158
+ "schema": {
1159
+ "title": "body",
1160
+ "type": "object"
1161
+ }
1162
+ },
1163
+ {
1164
+ "name": "customId",
1165
+ "type": "string",
1166
+ "info": ": ",
1167
+ "required": true,
1168
+ "schema": {
1169
+ "title": "customId",
1170
+ "type": "string"
1171
+ }
1172
+ }
1173
+ ],
1174
+ "output": {
1175
+ "name": "result",
1176
+ "type": "object",
1177
+ "description": "A JSON Object containing status, code and the result",
1178
+ "schema": {
1179
+ "title": "result",
1180
+ "type": "object"
1181
+ }
1182
+ },
1183
+ "roles": [
1184
+ "admin"
1185
+ ],
1186
+ "route": {
1187
+ "verb": "POST",
1188
+ "path": "/updateSubscriberOrReplaceAssociatedSystem"
1189
+ },
1190
+ "task": true
1191
+ },
1192
+ {
1193
+ "name": "createProvisioningRecord",
1194
+ "summary": "Create Provisioning Record",
1195
+ "description": "Create Provisioning Record",
1196
+ "input": [
1197
+ {
1198
+ "name": "body",
1199
+ "type": "object",
1200
+ "info": "POST body parameter: ",
1201
+ "required": true,
1202
+ "schema": {
1203
+ "title": "body",
1204
+ "type": "object"
1205
+ }
1206
+ }
1207
+ ],
1208
+ "output": {
1209
+ "name": "result",
1210
+ "type": "object",
1211
+ "description": "A JSON Object containing status, code and the result",
1212
+ "schema": {
1213
+ "title": "result",
1214
+ "type": "object"
1215
+ }
1216
+ },
1217
+ "roles": [
1218
+ "admin"
1219
+ ],
1220
+ "route": {
1221
+ "verb": "POST",
1222
+ "path": "/createProvisioningRecord"
1223
+ },
1224
+ "task": true
1225
+ },
1226
+ {
1227
+ "name": "retrieveAllProvisioningRecords",
1228
+ "summary": "Retrieve All Provisioning Records",
1229
+ "description": "Retrieve All Provisioning Records",
1230
+ "input": [],
1231
+ "output": {
1232
+ "name": "result",
1233
+ "type": "object",
1234
+ "description": "A JSON Object containing status, code and the result",
1235
+ "schema": {
1236
+ "title": "result",
1237
+ "type": "object"
1238
+ }
1239
+ },
1240
+ "roles": [
1241
+ "admin"
1242
+ ],
1243
+ "route": {
1244
+ "verb": "GET",
1245
+ "path": "/retrieveAllProvisioningRecords"
1246
+ },
1247
+ "task": true
1248
+ },
1249
+ {
1250
+ "name": "retrieveProvisioningRecordByInternalID",
1251
+ "summary": "Retrieve Provisioning Record by Internal ID",
1252
+ "description": "Retrieve Provisioning Record by Internal ID",
1253
+ "input": [
1254
+ {
1255
+ "name": "provisioningRecordId",
1256
+ "type": "string",
1257
+ "info": "path parameter: ",
1258
+ "required": true,
1259
+ "schema": {
1260
+ "title": "provisioningRecordId",
1261
+ "type": "string"
1262
+ }
1263
+ }
1264
+ ],
1265
+ "output": {
1266
+ "name": "result",
1267
+ "type": "object",
1268
+ "description": "A JSON Object containing status, code and the result",
1269
+ "schema": {
1270
+ "title": "result",
1271
+ "type": "object"
1272
+ }
1273
+ },
1274
+ "roles": [
1275
+ "admin"
1276
+ ],
1277
+ "route": {
1278
+ "verb": "POST",
1279
+ "path": "/retrieveProvisioningRecordByInternalID"
1280
+ },
1281
+ "task": true
1282
+ },
1283
+ {
1284
+ "name": "deleteProvisioningRecord",
1285
+ "summary": "Delete Provisioning Record",
1286
+ "description": "Delete Provisioning Record",
1287
+ "input": [
1288
+ {
1289
+ "name": "provisioningRecordId",
1290
+ "type": "string",
1291
+ "info": "path parameter: ",
1292
+ "required": true,
1293
+ "schema": {
1294
+ "title": "provisioningRecordId",
1295
+ "type": "string"
1296
+ }
1297
+ }
1298
+ ],
1299
+ "output": {
1300
+ "name": "result",
1301
+ "type": "object",
1302
+ "description": "A JSON Object containing status, code and the result",
1303
+ "schema": {
1304
+ "title": "result",
1305
+ "type": "object"
1306
+ }
1307
+ },
1308
+ "roles": [
1309
+ "admin"
1310
+ ],
1311
+ "route": {
1312
+ "verb": "POST",
1313
+ "path": "/deleteProvisioningRecord"
1314
+ },
1315
+ "task": true
1316
+ },
1317
+ {
1318
+ "name": "retrieveProvisioningRecordsByDevice",
1319
+ "summary": "Retrieve Provisioning Records by Device",
1320
+ "description": "Retrieve Provisioning Records by Device",
1321
+ "input": [
1322
+ {
1323
+ "name": "deviceId",
1324
+ "type": "string",
1325
+ "info": "Device ID (FSAN/serial/RegID/MAC): ",
1326
+ "required": true,
1327
+ "schema": {
1328
+ "title": "deviceId",
1329
+ "type": "string"
1330
+ }
1331
+ }
1332
+ ],
1333
+ "output": {
1334
+ "name": "result",
1335
+ "type": "object",
1336
+ "description": "A JSON Object containing status, code and the result",
1337
+ "schema": {
1338
+ "title": "result",
1339
+ "type": "object"
1340
+ }
1341
+ },
1342
+ "roles": [
1343
+ "admin"
1344
+ ],
1345
+ "route": {
1346
+ "verb": "POST",
1347
+ "path": "/retrieveProvisioningRecordsByDevice"
1348
+ },
1349
+ "task": true
1350
+ },
1351
+ {
1352
+ "name": "retrieveProvisioningRecordsBySubscriber",
1353
+ "summary": "Retrieve Provisioning Records by Subscriber",
1354
+ "description": "Retrieve Provisioning Records by Subscriber",
1355
+ "input": [
1356
+ {
1357
+ "name": "subscriberId",
1358
+ "type": "string",
1359
+ "info": "Internal ID value of the associated Subscriber record: ",
1360
+ "required": true,
1361
+ "schema": {
1362
+ "title": "subscriberId",
1363
+ "type": "string"
1364
+ }
1365
+ }
1366
+ ],
1367
+ "output": {
1368
+ "name": "result",
1369
+ "type": "object",
1370
+ "description": "A JSON Object containing status, code and the result",
1371
+ "schema": {
1372
+ "title": "result",
1373
+ "type": "object"
1374
+ }
1375
+ },
1376
+ "roles": [
1377
+ "admin"
1378
+ ],
1379
+ "route": {
1380
+ "verb": "POST",
1381
+ "path": "/retrieveProvisioningRecordsBySubscriber"
1382
+ },
1383
+ "task": true
1384
+ },
1385
+ {
1386
+ "name": "modifyProvisioningRecord",
1387
+ "summary": "Modify Provisioning Record",
1388
+ "description": "Modify Provisioning Record",
1389
+ "input": [
1390
+ {
1391
+ "name": "body",
1392
+ "type": "object",
1393
+ "info": "PUT body parameter: ",
1394
+ "required": true,
1395
+ "schema": {
1396
+ "title": "body",
1397
+ "type": "object"
1398
+ }
1399
+ },
1400
+ {
1401
+ "name": "provRecordId",
1402
+ "type": "string",
1403
+ "info": "path parameter: ",
1404
+ "required": true,
1405
+ "schema": {
1406
+ "title": "provRecordId",
1407
+ "type": "string"
1408
+ }
1409
+ }
1410
+ ],
1411
+ "output": {
1412
+ "name": "result",
1413
+ "type": "object",
1414
+ "description": "A JSON Object containing status, code and the result",
1415
+ "schema": {
1416
+ "title": "result",
1417
+ "type": "object"
1418
+ }
1419
+ },
1420
+ "roles": [
1421
+ "admin"
1422
+ ],
1423
+ "route": {
1424
+ "verb": "POST",
1425
+ "path": "/modifyProvisioningRecord"
1426
+ },
1427
+ "task": true
1428
+ },
1429
+ {
1430
+ "name": "operateTR69Device",
1431
+ "summary": "TR-69 Device Operations",
1432
+ "description": "TR-69 Device Operations",
1433
+ "input": [
1434
+ {
1435
+ "name": "body",
1436
+ "type": "object",
1437
+ "info": "POST body parameter: ",
1438
+ "required": true,
1439
+ "schema": {
1440
+ "title": "body",
1441
+ "type": "object"
1442
+ }
1443
+ }
1444
+ ],
1445
+ "output": {
1446
+ "name": "result",
1447
+ "type": "object",
1448
+ "description": "A JSON Object containing status, code and the result",
1449
+ "schema": {
1450
+ "title": "result",
1451
+ "type": "object"
1452
+ }
1453
+ },
1454
+ "roles": [
1455
+ "admin"
1456
+ ],
1457
+ "route": {
1458
+ "verb": "POST",
1459
+ "path": "/operateTR69Device"
1460
+ },
1461
+ "task": true
1462
+ },
1463
+ {
1464
+ "name": "retrieveAllDeviceGroups",
1465
+ "summary": "Retrieve All Device Groups",
1466
+ "description": "Retrieve All Device Groups",
1467
+ "input": [],
1468
+ "output": {
1469
+ "name": "result",
1470
+ "type": "object",
1471
+ "description": "A JSON Object containing status, code and the result",
1472
+ "schema": {
1473
+ "title": "result",
1474
+ "type": "object"
1475
+ }
1476
+ },
1477
+ "roles": [
1478
+ "admin"
1479
+ ],
1480
+ "route": {
1481
+ "verb": "GET",
1482
+ "path": "/retrieveAllDeviceGroups"
1483
+ },
1484
+ "task": true
1485
+ },
1486
+ {
1487
+ "name": "retrieveDeviceGroupByID",
1488
+ "summary": "Retrieve Device Group by ID",
1489
+ "description": "Retrieve Device Group by ID",
1490
+ "input": [
1491
+ {
1492
+ "name": "groupId",
1493
+ "type": "string",
1494
+ "info": "path parameter: ",
1495
+ "required": true,
1496
+ "schema": {
1497
+ "title": "groupId",
1498
+ "type": "string"
1499
+ }
1500
+ }
1501
+ ],
1502
+ "output": {
1503
+ "name": "result",
1504
+ "type": "object",
1505
+ "description": "A JSON Object containing status, code and the result",
1506
+ "schema": {
1507
+ "title": "result",
1508
+ "type": "object"
1509
+ }
1510
+ },
1511
+ "roles": [
1512
+ "admin"
1513
+ ],
1514
+ "route": {
1515
+ "verb": "POST",
1516
+ "path": "/retrieveDeviceGroupByID"
1517
+ },
1518
+ "task": true
1519
+ },
1520
+ {
1521
+ "name": "retrieveAllStaticGroupMemberships",
1522
+ "summary": "Retrieve All Static Group Memberships",
1523
+ "description": "Retrieve All Static Group Memberships",
1524
+ "input": [
1525
+ {
1526
+ "name": "bDiscovered",
1527
+ "type": "boolean",
1528
+ "info": "If present, this flag returns only Discovered devices (those which have successfully checked in to the ACS).: ",
1529
+ "required": false,
1530
+ "schema": {
1531
+ "title": "bDiscovered",
1532
+ "type": "boolean"
1533
+ }
1534
+ },
1535
+ {
1536
+ "name": "bUndiscovered",
1537
+ "type": "boolean",
1538
+ "info": "If present, this flag returns only devices which have not checked in to the ACS).: ",
1539
+ "required": false,
1540
+ "schema": {
1541
+ "title": "bUndiscovered",
1542
+ "type": "boolean"
1543
+ }
1544
+ }
1545
+ ],
1546
+ "output": {
1547
+ "name": "result",
1548
+ "type": "object",
1549
+ "description": "A JSON Object containing status, code and the result",
1550
+ "schema": {
1551
+ "title": "result",
1552
+ "type": "object"
1553
+ }
1554
+ },
1555
+ "roles": [
1556
+ "admin"
1557
+ ],
1558
+ "route": {
1559
+ "verb": "POST",
1560
+ "path": "/retrieveAllStaticGroupMemberships"
1561
+ },
1562
+ "task": true
1563
+ },
1564
+ {
1565
+ "name": "addADeviceOrProvisioningRecordToAStaticGroup",
1566
+ "summary": "Add a Device or Provisioning Record to a Static Group",
1567
+ "description": "Add a Device or Provisioning Record to a Static Group",
1568
+ "input": [
1569
+ {
1570
+ "name": "body",
1571
+ "type": "object",
1572
+ "info": "POST body parameter: ",
1573
+ "required": true,
1574
+ "schema": {
1575
+ "title": "body",
1576
+ "type": "object"
1577
+ }
1578
+ }
1579
+ ],
1580
+ "output": {
1581
+ "name": "result",
1582
+ "type": "object",
1583
+ "description": "A JSON Object containing status, code and the result",
1584
+ "schema": {
1585
+ "title": "result",
1586
+ "type": "object"
1587
+ }
1588
+ },
1589
+ "roles": [
1590
+ "admin"
1591
+ ],
1592
+ "route": {
1593
+ "verb": "POST",
1594
+ "path": "/addADeviceOrProvisioningRecordToAStaticGroup"
1595
+ },
1596
+ "task": true
1597
+ },
1598
+ {
1599
+ "name": "retrieveStaticGroupMembershipsByDevice",
1600
+ "summary": "Retrieve Static Group Memberships by Device",
1601
+ "description": "Retrieve Static Group Memberships by Device",
1602
+ "input": [
1603
+ {
1604
+ "name": "memberInfo",
1605
+ "type": "string",
1606
+ "info": "One of: FSAN ID, Serial number, Registration ID, or MAC address.\nUse any of these strings to search for membership information for a matching device.: ",
1607
+ "required": true,
1608
+ "schema": {
1609
+ "title": "memberInfo",
1610
+ "type": "string"
1611
+ }
1612
+ }
1613
+ ],
1614
+ "output": {
1615
+ "name": "result",
1616
+ "type": "object",
1617
+ "description": "A JSON Object containing status, code and the result",
1618
+ "schema": {
1619
+ "title": "result",
1620
+ "type": "object"
1621
+ }
1622
+ },
1623
+ "roles": [
1624
+ "admin"
1625
+ ],
1626
+ "route": {
1627
+ "verb": "POST",
1628
+ "path": "/retrieveStaticGroupMembershipsByDevice"
1629
+ },
1630
+ "task": true
1631
+ },
1632
+ {
1633
+ "name": "removeADeviceFromAllStaticGroups",
1634
+ "summary": "Remove a device from all Static Groups",
1635
+ "description": "Remove a device from all Static Groups",
1636
+ "input": [
1637
+ {
1638
+ "name": "memberInfo",
1639
+ "type": "string",
1640
+ "info": ": ",
1641
+ "required": true,
1642
+ "schema": {
1643
+ "title": "memberInfo",
1644
+ "type": "string"
1645
+ }
1646
+ }
1647
+ ],
1648
+ "output": {
1649
+ "name": "result",
1650
+ "type": "object",
1651
+ "description": "A JSON Object containing status, code and the result",
1652
+ "schema": {
1653
+ "title": "result",
1654
+ "type": "object"
1655
+ }
1656
+ },
1657
+ "roles": [
1658
+ "admin"
1659
+ ],
1660
+ "route": {
1661
+ "verb": "POST",
1662
+ "path": "/removeADeviceFromAllStaticGroups"
1663
+ },
1664
+ "task": true
1665
+ },
1666
+ {
1667
+ "name": "retrieveSingleStaticGroupMembershipRecord",
1668
+ "summary": "Retrieve Single Static Group Membership Record",
1669
+ "description": "Retrieve Single Static Group Membership Record",
1670
+ "input": [
1671
+ {
1672
+ "name": "groupMembershipId",
1673
+ "type": "string",
1674
+ "info": "path parameter: ",
1675
+ "required": true,
1676
+ "schema": {
1677
+ "title": "groupMembershipId",
1678
+ "type": "string"
1679
+ }
1680
+ }
1681
+ ],
1682
+ "output": {
1683
+ "name": "result",
1684
+ "type": "object",
1685
+ "description": "A JSON Object containing status, code and the result",
1686
+ "schema": {
1687
+ "title": "result",
1688
+ "type": "object"
1689
+ }
1690
+ },
1691
+ "roles": [
1692
+ "admin"
1693
+ ],
1694
+ "route": {
1695
+ "verb": "POST",
1696
+ "path": "/retrieveSingleStaticGroupMembershipRecord"
1697
+ },
1698
+ "task": true
1699
+ },
1700
+ {
1701
+ "name": "removeADeviceFromAStaticGroupByMembershipID",
1702
+ "summary": "Remove a device from a Static Group by membership ID",
1703
+ "description": "Remove a device from a Static Group by membership ID",
1704
+ "input": [
1705
+ {
1706
+ "name": "membershipId",
1707
+ "type": "string",
1708
+ "info": "path parameter: ",
1709
+ "required": true,
1710
+ "schema": {
1711
+ "title": "membershipId",
1712
+ "type": "string"
1713
+ }
1714
+ }
1715
+ ],
1716
+ "output": {
1717
+ "name": "result",
1718
+ "type": "object",
1719
+ "description": "A JSON Object containing status, code and the result",
1720
+ "schema": {
1721
+ "title": "result",
1722
+ "type": "object"
1723
+ }
1724
+ },
1725
+ "roles": [
1726
+ "admin"
1727
+ ],
1728
+ "route": {
1729
+ "verb": "POST",
1730
+ "path": "/removeADeviceFromAStaticGroupByMembershipID"
1731
+ },
1732
+ "task": true
1733
+ },
1734
+ {
1735
+ "name": "removeADeviceFromAStaticGroupByGroupIDAndDevice",
1736
+ "summary": "Remove a device from a Static Group by group ID and device",
1737
+ "description": "Remove a device from a Static Group by group ID and device",
1738
+ "input": [
1739
+ {
1740
+ "name": "groupId",
1741
+ "type": "string",
1742
+ "info": "The _id value of the Static Group to remove the device from.: ",
1743
+ "required": true,
1744
+ "schema": {
1745
+ "title": "groupId",
1746
+ "type": "string"
1747
+ }
1748
+ },
1749
+ {
1750
+ "name": "memberInfo",
1751
+ "type": "string",
1752
+ "info": "One of: FSAN ID, Serial number, Registration ID, or MAC address.\nUse any of these strings to select the device to remove.: ",
1753
+ "required": true,
1754
+ "schema": {
1755
+ "title": "memberInfo",
1756
+ "type": "string"
1757
+ }
1758
+ }
1759
+ ],
1760
+ "output": {
1761
+ "name": "result",
1762
+ "type": "object",
1763
+ "description": "A JSON Object containing status, code and the result",
1764
+ "schema": {
1765
+ "title": "result",
1766
+ "type": "object"
1767
+ }
1768
+ },
1769
+ "roles": [
1770
+ "admin"
1771
+ ],
1772
+ "route": {
1773
+ "verb": "POST",
1774
+ "path": "/removeADeviceFromAStaticGroupByGroupIDAndDevice"
1775
+ },
1776
+ "task": true
1777
+ }
1778
+ ],
1779
+ "views": []
1780
+ }