@itentialopensource/adapter-kentik_v5 0.1.2 → 0.3.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.
@@ -0,0 +1,4780 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "Kentik V5 API (https://api.kentik.com/api/v5/)",
5
+ "contact": {},
6
+ "version": "1.0"
7
+ },
8
+ "servers": [
9
+ {
10
+ "url": "https://api.kentik.com/api/v5",
11
+ "variables": {}
12
+ }
13
+ ],
14
+ "paths": {
15
+ "/query/sql": {
16
+ "post": {
17
+ "tags": [
18
+ "Query Methods"
19
+ ],
20
+ "summary": "runQuery",
21
+ "description": "This method allows you to run a SQL command against all configured devices. <a href='https://kb.kentik.com/Ec04.htm#Ec04-Query_SQL_Method' target='_blank'>Documentation</a>.",
22
+ "operationId": "runQuery",
23
+ "parameters": [
24
+
25
+ ],
26
+ "requestBody": {
27
+ "description": "",
28
+ "content": {
29
+ "application/json": {
30
+ "schema": {
31
+ "$ref": "#/components/schemas/runQuery"
32
+ }
33
+ }
34
+ },
35
+ "required": true
36
+ },
37
+ "responses": {
38
+ "200": {
39
+ "description": "",
40
+ "headers": {},
41
+ "content": {
42
+ "application/json": {
43
+ "schema": {
44
+ "type": "object"
45
+ }
46
+ }
47
+ }
48
+ }
49
+ },
50
+ "deprecated": false
51
+ }
52
+ },
53
+ "/query/url": {
54
+ "post": {
55
+ "tags": [
56
+ "Query Methods"
57
+ ],
58
+ "summary": "queryUrl",
59
+ "description": "Returns a URL to view a given query in Data Explorer. <a href='https://kb.kentik.com/Ec04.htm#Ec04-Query_URL_Method' target='_blank'>Documentation</a>.",
60
+ "operationId": "queryUrl",
61
+ "parameters": [
62
+
63
+ ],
64
+ "requestBody": {
65
+ "description": "",
66
+ "content": {
67
+ "application/json": {
68
+ "schema": {
69
+ "$ref": "#/components/schemas/queryUrl"
70
+ }
71
+ }
72
+ },
73
+ "required": true
74
+ },
75
+ "responses": {
76
+ "200": {
77
+ "description": "",
78
+ "headers": {},
79
+ "content": {
80
+ "application/json": {
81
+ "schema": {
82
+ "type": "object"
83
+ }
84
+ }
85
+ }
86
+ }
87
+ },
88
+ "deprecated": false
89
+ }
90
+ },
91
+ "/query/topxdata": {
92
+ "post": {
93
+ "tags": [
94
+ "Query Methods"
95
+ ],
96
+ "summary": "topxdata",
97
+ "description": "Returns query results in JSON that can be parsed to generate a TopX table. <a href='https://kb.kentik.com/Ec04.htm#Ec04-Query_Data_Method' target='_blank'>Documentation</a>.",
98
+ "operationId": "topxdata",
99
+ "parameters": [
100
+
101
+ ],
102
+ "requestBody": {
103
+ "description": "",
104
+ "content": {
105
+ "application/json": {
106
+ "schema": {
107
+ "$ref": "#/components/schemas/topxdata"
108
+ }
109
+ }
110
+ },
111
+ "required": true
112
+ },
113
+ "responses": {
114
+ "200": {
115
+ "description": "",
116
+ "headers": {},
117
+ "content": {
118
+ "application/json": {
119
+ "schema": {
120
+ "type": "object"
121
+ }
122
+ }
123
+ }
124
+ }
125
+ },
126
+ "deprecated": false
127
+ }
128
+ },
129
+ "/query/topxchart": {
130
+ "post": {
131
+ "tags": [
132
+ "Query Methods"
133
+ ],
134
+ "summary": "topxchart",
135
+ "description": "Returns an image of a graph similar to what is seen in the Kentik portal's Data Explorer. <a href='https://kb.kentik.com/Ec04.htm#Ec04-Query_Chart_Method' target='_blank'>Documentation</a>.",
136
+ "operationId": "topxchart",
137
+ "parameters": [
138
+
139
+ ],
140
+ "requestBody": {
141
+ "description": "",
142
+ "content": {
143
+ "application/json": {
144
+ "schema": {
145
+ "$ref": "#/components/schemas/topxchart"
146
+ }
147
+ }
148
+ },
149
+ "required": true
150
+ },
151
+ "responses": {
152
+ "200": {
153
+ "description": "",
154
+ "headers": {},
155
+ "content": {
156
+ "application/json": {
157
+ "schema": {
158
+ "type": "object"
159
+ }
160
+ }
161
+ }
162
+ }
163
+ },
164
+ "deprecated": false
165
+ }
166
+ },
167
+ "/users": {
168
+ "get": {
169
+ "tags": [
170
+ "user"
171
+ ],
172
+ "summary": "findUsers",
173
+ "description": "Returns an array of user objects, each of which contains information about an individual user (see <a href='https://kb.kentik.com/Cb02.htm#Cb02-User_Field_Definitions' target='_blank'>User Field Definitions</a>).<br/>* Required fields.",
174
+ "operationId": "findUsers",
175
+ "parameters": [
176
+
177
+ ],
178
+ "responses": {
179
+ "200": {
180
+ "description": "",
181
+ "headers": {},
182
+ "content": {
183
+ "application/json": {
184
+ "schema": {
185
+ "type": "object"
186
+ }
187
+ }
188
+ }
189
+ }
190
+ },
191
+ "deprecated": false
192
+ }
193
+ },
194
+ "/user/{user_id}": {
195
+ "get": {
196
+ "tags": [
197
+ "user"
198
+ ],
199
+ "summary": "findUser",
200
+ "description": "Returns a user object containing information about an individual user (see <a href='https://kb.kentik.com/Cb02.htm#Cb02-User_Field_Definitions' target='_blank'>User Field Definitions</a>).<br/>* Required fields.",
201
+ "operationId": "findUser",
202
+ "parameters": [
203
+ {
204
+ "name": "user_id",
205
+ "in": "path",
206
+ "description": "The ID of the user whose information will be returned.",
207
+ "required": true,
208
+ "style": "simple",
209
+ "schema": {
210
+ "type": "integer",
211
+ "format": "int32"
212
+ }
213
+ }
214
+ ],
215
+ "responses": {
216
+ "200": {
217
+ "description": "",
218
+ "headers": {},
219
+ "content": {
220
+ "application/json": {
221
+ "schema": {
222
+ "type": "object"
223
+ }
224
+ }
225
+ }
226
+ }
227
+ },
228
+ "deprecated": false
229
+ },
230
+ "put": {
231
+ "tags": [
232
+ "user"
233
+ ],
234
+ "summary": "updateUser",
235
+ "description": "Updates and returns a user object containing information about an individual user (see <a href='https://kb.kentik.com/Cb02.htm#Cb02-User_Field_Definitions' target='_blank'>User Field Definitions</a>).<br/>* Required fields.",
236
+ "operationId": "updateUser",
237
+ "parameters": [
238
+ {
239
+ "name": "user_id",
240
+ "in": "path",
241
+ "description": "The ID of the user whose information will be updated.",
242
+ "required": true,
243
+ "style": "simple",
244
+ "schema": {
245
+ "type": "integer",
246
+ "format": "int32"
247
+ }
248
+ }
249
+ ],
250
+ "requestBody": {
251
+ "description": "",
252
+ "content": {
253
+ "application/json": {
254
+ "schema": {
255
+ "$ref": "#/components/schemas/updateUser"
256
+ }
257
+ }
258
+ },
259
+ "required": true
260
+ },
261
+ "responses": {
262
+ "200": {
263
+ "description": "",
264
+ "headers": {},
265
+ "content": {
266
+ "application/json": {
267
+ "schema": {
268
+ "type": "object"
269
+ }
270
+ }
271
+ }
272
+ }
273
+ },
274
+ "deprecated": false
275
+ },
276
+ "delete": {
277
+ "tags": [
278
+ "user"
279
+ ],
280
+ "summary": "deleteUser",
281
+ "description": "Deletes a user from the system.<br/>* Required fields.",
282
+ "operationId": "deleteUser",
283
+ "parameters": [
284
+ {
285
+ "name": "user_id",
286
+ "in": "path",
287
+ "description": "The id of the user to delete.",
288
+ "required": true,
289
+ "style": "simple",
290
+ "schema": {
291
+ "type": "integer",
292
+ "format": "int32"
293
+ }
294
+ }
295
+ ],
296
+ "responses": {
297
+ "200": {
298
+ "description": "",
299
+ "headers": {},
300
+ "content": {
301
+ "application/json": {
302
+ "schema": {
303
+ "type": "object"
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "deprecated": false
310
+ }
311
+ },
312
+ "/user": {
313
+ "post": {
314
+ "tags": [
315
+ "user"
316
+ ],
317
+ "summary": "createUser",
318
+ "description": "Creates and returns a user object containing information about an individual user (see <a href='https://kb.kentik.com/Cb02.htm#Cb02-User_Field_Definitions' target='_blank'>User Field Definitions</a>).<br/>* Required fields.",
319
+ "operationId": "createUser",
320
+ "parameters": [
321
+
322
+ ],
323
+ "requestBody": {
324
+ "description": "",
325
+ "content": {
326
+ "application/json": {
327
+ "schema": {
328
+ "$ref": "#/components/schemas/createUser"
329
+ }
330
+ }
331
+ },
332
+ "required": true
333
+ },
334
+ "responses": {
335
+ "200": {
336
+ "description": "",
337
+ "headers": {},
338
+ "content": {
339
+ "application/json": {
340
+ "schema": {
341
+ "type": "object"
342
+ }
343
+ }
344
+ }
345
+ }
346
+ },
347
+ "deprecated": false
348
+ }
349
+ },
350
+ "/devices": {
351
+ "get": {
352
+ "tags": [
353
+ "device"
354
+ ],
355
+ "summary": "findDevices",
356
+ "description": "Returns an array of device objects that each contain information about an individual device (see <a href='https://kb.kentik.com/Cb01.htm#Cb01-About_Devices' target='_blank'>About Devices</a>).<br/>* Required fields.",
357
+ "operationId": "findDevices",
358
+ "parameters": [
359
+
360
+ ],
361
+ "responses": {
362
+ "200": {
363
+ "description": "",
364
+ "headers": {},
365
+ "content": {
366
+ "application/json": {
367
+ "schema": {
368
+ "type": "object"
369
+ }
370
+ }
371
+ }
372
+ }
373
+ },
374
+ "deprecated": false
375
+ }
376
+ },
377
+ "/device/{device_id}": {
378
+ "get": {
379
+ "tags": [
380
+ "device"
381
+ ],
382
+ "summary": "findDevice",
383
+ "description": "Returns a device object containing information about an individual device (see <a href='https://kb.kentik.com/Cb01.htm#Cb01-About_Devices' target='_blank'>About Devices</a>).<br/>* Required fields.",
384
+ "operationId": "findDevice",
385
+ "parameters": [
386
+ {
387
+ "name": "device_id",
388
+ "in": "path",
389
+ "description": "The id of the device whose information will be returned.",
390
+ "required": true,
391
+ "style": "simple",
392
+ "schema": {
393
+ "type": "integer",
394
+ "format": "int32"
395
+ }
396
+ }
397
+ ],
398
+ "responses": {
399
+ "200": {
400
+ "description": "",
401
+ "headers": {},
402
+ "content": {
403
+ "application/json": {
404
+ "schema": {
405
+ "type": "object"
406
+ }
407
+ }
408
+ }
409
+ }
410
+ },
411
+ "deprecated": false
412
+ },
413
+ "put": {
414
+ "tags": [
415
+ "device"
416
+ ],
417
+ "summary": "updateDevice",
418
+ "description": "Updates and returns a device object containing information about an individual device (see <a href='https://kb.kentik.com/Cb01.htm#Cb01-About_Devices' target='_blank'>About Devices</a>).<br/>* Required fields.",
419
+ "operationId": "updateDevice",
420
+ "parameters": [
421
+ {
422
+ "name": "device_id",
423
+ "in": "path",
424
+ "description": "The id of the device whose information will be updated.",
425
+ "required": true,
426
+ "style": "simple",
427
+ "schema": {
428
+ "type": "integer",
429
+ "format": "int32"
430
+ }
431
+ }
432
+ ],
433
+ "requestBody": {
434
+ "description": "",
435
+ "content": {
436
+ "application/json": {
437
+ "schema": {
438
+ "$ref": "#/components/schemas/updateDevice"
439
+ }
440
+ }
441
+ },
442
+ "required": true
443
+ },
444
+ "responses": {
445
+ "200": {
446
+ "description": "",
447
+ "headers": {},
448
+ "content": {
449
+ "application/json": {
450
+ "schema": {
451
+ "type": "object"
452
+ }
453
+ }
454
+ }
455
+ }
456
+ },
457
+ "deprecated": false
458
+ },
459
+ "delete": {
460
+ "tags": [
461
+ "device"
462
+ ],
463
+ "summary": "deleteDevice",
464
+ "description": "Deletes a device.<br/>* Required fields.",
465
+ "operationId": "deleteDevice",
466
+ "parameters": [
467
+ {
468
+ "name": "device_id",
469
+ "in": "path",
470
+ "description": "The id of the device to delete.",
471
+ "required": true,
472
+ "style": "simple",
473
+ "schema": {
474
+ "type": "integer",
475
+ "format": "int32"
476
+ }
477
+ }
478
+ ],
479
+ "responses": {
480
+ "200": {
481
+ "description": "",
482
+ "headers": {},
483
+ "content": {
484
+ "application/json": {
485
+ "schema": {
486
+ "type": "object"
487
+ }
488
+ }
489
+ }
490
+ }
491
+ },
492
+ "deprecated": false
493
+ }
494
+ },
495
+ "/device": {
496
+ "post": {
497
+ "tags": [
498
+ "device"
499
+ ],
500
+ "summary": "createDevice",
501
+ "description": "Creates and returns a device object containing information about an individual device (see <a href='https://kb.kentik.com/Cb01.htm#Cb01-About_Devices' target='_blank'>About Devices</a>).<br/>* Required fields.<br/>** Conditionally required fields.",
502
+ "operationId": "createDevice",
503
+ "parameters": [
504
+
505
+ ],
506
+ "requestBody": {
507
+ "description": "",
508
+ "content": {
509
+ "application/json": {
510
+ "schema": {
511
+ "$ref": "#/components/schemas/createDevice"
512
+ }
513
+ }
514
+ },
515
+ "required": true
516
+ },
517
+ "responses": {
518
+ "200": {
519
+ "description": "",
520
+ "headers": {},
521
+ "content": {
522
+ "application/json": {
523
+ "schema": {
524
+ "type": "object"
525
+ }
526
+ }
527
+ }
528
+ }
529
+ },
530
+ "deprecated": false
531
+ }
532
+ },
533
+ "/devices/{device_id}/labels": {
534
+ "put": {
535
+ "tags": [
536
+ "device"
537
+ ],
538
+ "summary": "deviceApplyLabels",
539
+ "description": "Removes all existing labels from the device and applies the device labels (see <a href='https://kb.kentik.com/Cb16.htm#Cb16-About_Device_Labels' target='_blank'>About Device Labels</a>) specified by id. Returns a reduced version<br/>of device object containing an array of the applied labels.<br/>* Required fields.",
540
+ "operationId": "deviceApplyLabels",
541
+ "parameters": [
542
+ {
543
+ "name": "device_id",
544
+ "in": "path",
545
+ "description": "The id of the device whose labels will be applied.",
546
+ "required": true,
547
+ "style": "simple",
548
+ "schema": {
549
+ "type": "integer",
550
+ "format": "int32"
551
+ }
552
+ }
553
+ ],
554
+ "requestBody": {
555
+ "description": "",
556
+ "content": {
557
+ "application/json": {
558
+ "schema": {
559
+ "$ref": "#/components/schemas/deviceApplyLabels"
560
+ }
561
+ }
562
+ },
563
+ "required": true
564
+ },
565
+ "responses": {
566
+ "200": {
567
+ "description": "",
568
+ "headers": {},
569
+ "content": {
570
+ "application/json": {
571
+ "schema": {
572
+ "type": "object"
573
+ }
574
+ }
575
+ }
576
+ }
577
+ },
578
+ "deprecated": false
579
+ }
580
+ },
581
+ "/device/{device_id}/interfaces": {
582
+ "get": {
583
+ "tags": [
584
+ "device"
585
+ ],
586
+ "summary": "findInterfaces",
587
+ "description": "Returns an array of interface objects that each contain information about an interface from a specified device.<br/>* Required fields.",
588
+ "operationId": "findInterfaces",
589
+ "parameters": [
590
+ {
591
+ "name": "device_id",
592
+ "in": "path",
593
+ "description": "The id of the device whose interfaces will be returned.",
594
+ "required": true,
595
+ "style": "simple",
596
+ "schema": {
597
+ "type": "integer",
598
+ "format": "int32"
599
+ }
600
+ }
601
+ ],
602
+ "responses": {
603
+ "200": {
604
+ "description": "",
605
+ "headers": {},
606
+ "content": {
607
+ "application/json": {
608
+ "schema": {
609
+ "type": "object"
610
+ }
611
+ }
612
+ }
613
+ }
614
+ },
615
+ "deprecated": false
616
+ }
617
+ },
618
+ "/device/{device_id}/interface/{interface_id}": {
619
+ "get": {
620
+ "tags": [
621
+ "device"
622
+ ],
623
+ "summary": "findInterface",
624
+ "description": "Returns a interface object containing information about an individual interface from a given device.<br/>* Required fields.",
625
+ "operationId": "findInterface",
626
+ "parameters": [
627
+ {
628
+ "name": "device_id",
629
+ "in": "path",
630
+ "description": "The id of the device whose interface information will be returned.",
631
+ "required": true,
632
+ "style": "simple",
633
+ "schema": {
634
+ "type": "integer",
635
+ "format": "int32"
636
+ }
637
+ },
638
+ {
639
+ "name": "interface_id",
640
+ "in": "path",
641
+ "description": "The id of the interface whose information will be returned. This is NOT the same as the interface's SNMP ID.",
642
+ "required": true,
643
+ "style": "simple",
644
+ "schema": {
645
+ "type": "integer",
646
+ "format": "int32"
647
+ }
648
+ }
649
+ ],
650
+ "responses": {
651
+ "200": {
652
+ "description": "",
653
+ "headers": {},
654
+ "content": {
655
+ "application/json": {
656
+ "schema": {
657
+ "type": "object"
658
+ }
659
+ }
660
+ }
661
+ }
662
+ },
663
+ "deprecated": false
664
+ },
665
+ "put": {
666
+ "tags": [
667
+ "device"
668
+ ],
669
+ "summary": "updateInterface",
670
+ "description": "Updates and returns an interface object containing information about an individual interface from a specified device.<br/>* Required fields.<br/>*** Alternatively, instead of defining a vrf object, you can add the vrf_id.",
671
+ "operationId": "updateInterface",
672
+ "parameters": [
673
+ {
674
+ "name": "device_id",
675
+ "in": "path",
676
+ "description": "The id of the device whose interface information will be updated.",
677
+ "required": true,
678
+ "style": "simple",
679
+ "schema": {
680
+ "type": "integer",
681
+ "format": "int32"
682
+ }
683
+ },
684
+ {
685
+ "name": "interface_id",
686
+ "in": "path",
687
+ "description": "The id of the interface whose information will be updated. This is NOT the same as the SNMP ID.",
688
+ "required": true,
689
+ "style": "simple",
690
+ "schema": {
691
+ "type": "integer",
692
+ "format": "int32"
693
+ }
694
+ }
695
+ ],
696
+ "requestBody": {
697
+ "description": "",
698
+ "content": {
699
+ "application/json": {
700
+ "schema": {
701
+ "$ref": "#/components/schemas/updateInterface"
702
+ }
703
+ }
704
+ },
705
+ "required": true
706
+ },
707
+ "responses": {
708
+ "200": {
709
+ "description": "",
710
+ "headers": {},
711
+ "content": {
712
+ "application/json": {
713
+ "schema": {
714
+ "type": "object"
715
+ }
716
+ }
717
+ }
718
+ }
719
+ },
720
+ "deprecated": false
721
+ },
722
+ "delete": {
723
+ "tags": [
724
+ "device"
725
+ ],
726
+ "summary": "deleteInterface",
727
+ "description": "Deletes an interface from a given device.<br/>* Required fields.",
728
+ "operationId": "deleteInterface",
729
+ "parameters": [
730
+ {
731
+ "name": "device_id",
732
+ "in": "path",
733
+ "description": "The id of the device from which to delete the specified interface.",
734
+ "required": true,
735
+ "style": "simple",
736
+ "schema": {
737
+ "type": "integer",
738
+ "format": "int32"
739
+ }
740
+ },
741
+ {
742
+ "name": "interface_id",
743
+ "in": "path",
744
+ "description": "The id of the interface to delete from the specified device.",
745
+ "required": true,
746
+ "style": "simple",
747
+ "schema": {
748
+ "type": "integer",
749
+ "format": "int32"
750
+ }
751
+ }
752
+ ],
753
+ "responses": {
754
+ "200": {
755
+ "description": "",
756
+ "headers": {},
757
+ "content": {
758
+ "application/json": {
759
+ "schema": {
760
+ "type": "object"
761
+ }
762
+ }
763
+ }
764
+ }
765
+ },
766
+ "deprecated": false
767
+ }
768
+ },
769
+ "/device/{device_id}/interface": {
770
+ "post": {
771
+ "tags": [
772
+ "device"
773
+ ],
774
+ "summary": "createInterface",
775
+ "description": "Creates and returns an interface object containing information about an individual interface for a given device.<br/>* Required fields.<br/>*** Alternatively, instead of defining a vrf object, you can add the vrf_id.",
776
+ "operationId": "createInterface",
777
+ "parameters": [
778
+ {
779
+ "name": "device_id",
780
+ "in": "path",
781
+ "description": "The id of the device to which you want to add an interface.",
782
+ "required": true,
783
+ "style": "simple",
784
+ "schema": {
785
+ "type": "integer",
786
+ "format": "int32"
787
+ }
788
+ }
789
+ ],
790
+ "requestBody": {
791
+ "description": "",
792
+ "content": {
793
+ "application/json": {
794
+ "schema": {
795
+ "$ref": "#/components/schemas/createInterface"
796
+ }
797
+ }
798
+ },
799
+ "required": true
800
+ },
801
+ "responses": {
802
+ "200": {
803
+ "description": "",
804
+ "headers": {},
805
+ "content": {
806
+ "application/json": {
807
+ "schema": {
808
+ "type": "object"
809
+ }
810
+ }
811
+ }
812
+ }
813
+ },
814
+ "deprecated": false
815
+ }
816
+ },
817
+ "/deviceLabels": {
818
+ "get": {
819
+ "tags": [
820
+ "device label"
821
+ ],
822
+ "summary": "findDeviceLabels",
823
+ "description": "Returns an array of device label objects that each contain information about an individual device label (see <a href='https://kb.kentik.com/Cb16.htm#Cb16-Device_Labels' target='_blank'>Device Labels</a>).<br/>* Required fields.",
824
+ "operationId": "findDeviceLabels",
825
+ "parameters": [
826
+
827
+ ],
828
+ "responses": {
829
+ "200": {
830
+ "description": "",
831
+ "headers": {},
832
+ "content": {
833
+ "application/json": {
834
+ "schema": {
835
+ "type": "object"
836
+ }
837
+ }
838
+ }
839
+ }
840
+ },
841
+ "deprecated": false
842
+ },
843
+ "post": {
844
+ "tags": [
845
+ "device label"
846
+ ],
847
+ "summary": "createDeviceLabel",
848
+ "description": "Creates and returns a device label object containing information about an individual device label (see <a href='https://kb.kentik.com/Cb16.htm#Cb16-Device_Labels' target='_blank'>Device Labels</a>).<br/>* Required fields.<br/>** Conditionally required fields.",
849
+ "operationId": "createDeviceLabel",
850
+ "parameters": [
851
+
852
+ ],
853
+ "requestBody": {
854
+ "description": "",
855
+ "content": {
856
+ "application/json": {
857
+ "schema": {
858
+ "$ref": "#/components/schemas/createDeviceLabel"
859
+ }
860
+ }
861
+ },
862
+ "required": true
863
+ },
864
+ "responses": {
865
+ "200": {
866
+ "description": "",
867
+ "headers": {},
868
+ "content": {
869
+ "application/json": {
870
+ "schema": {
871
+ "type": "object"
872
+ }
873
+ }
874
+ }
875
+ }
876
+ },
877
+ "deprecated": false
878
+ }
879
+ },
880
+ "/deviceLabels/{device_label_id}": {
881
+ "get": {
882
+ "tags": [
883
+ "device label"
884
+ ],
885
+ "summary": "findDeviceLabel",
886
+ "description": "Returns a device label object containing information about an individual device label (see <a href='https://kb.kentik.com/Cb16.htm#Cb16-Device_Labels' target='_blank'>Device Labels</a>).<br/>* Required fields.",
887
+ "operationId": "findDeviceLabel",
888
+ "parameters": [
889
+ {
890
+ "name": "device_label_id",
891
+ "in": "path",
892
+ "description": "The id of the device label whose information will be returned.",
893
+ "required": true,
894
+ "style": "simple",
895
+ "schema": {
896
+ "type": "integer",
897
+ "format": "int32"
898
+ }
899
+ }
900
+ ],
901
+ "responses": {
902
+ "200": {
903
+ "description": "",
904
+ "headers": {},
905
+ "content": {
906
+ "application/json": {
907
+ "schema": {
908
+ "type": "object"
909
+ }
910
+ }
911
+ }
912
+ }
913
+ },
914
+ "deprecated": false
915
+ },
916
+ "put": {
917
+ "tags": [
918
+ "device label"
919
+ ],
920
+ "summary": "updateDeviceLabel",
921
+ "description": "Updates and returns a device label object containing information about an individual device label (see <a href='https://kb.kentik.com/Cb16.htm#Cb16-Device_Labels' target='_blank'>Device Labels</a>).<br/>* Required fields.",
922
+ "operationId": "updateDeviceLabel",
923
+ "parameters": [
924
+ {
925
+ "name": "device_label_id",
926
+ "in": "path",
927
+ "description": "The id of the device label whose information will be updated.",
928
+ "required": true,
929
+ "style": "simple",
930
+ "schema": {
931
+ "type": "integer",
932
+ "format": "int32"
933
+ }
934
+ }
935
+ ],
936
+ "requestBody": {
937
+ "description": "",
938
+ "content": {
939
+ "application/json": {
940
+ "schema": {
941
+ "$ref": "#/components/schemas/updateDeviceLabel"
942
+ }
943
+ }
944
+ },
945
+ "required": true
946
+ },
947
+ "responses": {
948
+ "200": {
949
+ "description": "",
950
+ "headers": {},
951
+ "content": {
952
+ "application/json": {
953
+ "schema": {
954
+ "type": "object"
955
+ }
956
+ }
957
+ }
958
+ }
959
+ },
960
+ "deprecated": false
961
+ },
962
+ "delete": {
963
+ "tags": [
964
+ "device label"
965
+ ],
966
+ "summary": "deleteDeviceLabel",
967
+ "description": "Deletes a device label.<br/>* Required fields.",
968
+ "operationId": "deleteDeviceLabel",
969
+ "parameters": [
970
+ {
971
+ "name": "device_label_id",
972
+ "in": "path",
973
+ "description": "The id of the device label to delete.",
974
+ "required": true,
975
+ "style": "simple",
976
+ "schema": {
977
+ "type": "integer",
978
+ "format": "int32"
979
+ }
980
+ }
981
+ ],
982
+ "responses": {
983
+ "200": {
984
+ "description": "",
985
+ "headers": {},
986
+ "content": {
987
+ "application/json": {
988
+ "schema": {
989
+ "type": "object"
990
+ }
991
+ }
992
+ }
993
+ }
994
+ },
995
+ "deprecated": false
996
+ }
997
+ },
998
+ "/plans": {
999
+ "get": {
1000
+ "tags": [
1001
+ "plan"
1002
+ ],
1003
+ "summary": "findPlans",
1004
+ "description": "Returns an array of plan objects, each of which contains information about an individual plan.",
1005
+ "operationId": "findPlans",
1006
+ "parameters": [
1007
+
1008
+ ],
1009
+ "responses": {
1010
+ "200": {
1011
+ "description": "",
1012
+ "headers": {},
1013
+ "content": {
1014
+ "application/json": {
1015
+ "schema": {
1016
+ "type": "object"
1017
+ }
1018
+ }
1019
+ }
1020
+ }
1021
+ },
1022
+ "deprecated": false
1023
+ }
1024
+ },
1025
+ "/sites": {
1026
+ "get": {
1027
+ "tags": [
1028
+ "site"
1029
+ ],
1030
+ "summary": "findSites",
1031
+ "description": "Returns an array of site objects, each of which contains information about an individual site (see <a href='https://kb.kentik.com/Cb13.htm#Cb13-About_Sites' target='_blank'>About Sites</a>).<br/>* Required fields.",
1032
+ "operationId": "findSites",
1033
+ "parameters": [
1034
+
1035
+ ],
1036
+ "responses": {
1037
+ "200": {
1038
+ "description": "",
1039
+ "headers": {},
1040
+ "content": {
1041
+ "application/json": {
1042
+ "schema": {
1043
+ "type": "object"
1044
+ }
1045
+ }
1046
+ }
1047
+ }
1048
+ },
1049
+ "deprecated": false
1050
+ }
1051
+ },
1052
+ "/site/{site_id}": {
1053
+ "get": {
1054
+ "tags": [
1055
+ "site"
1056
+ ],
1057
+ "summary": "findSite",
1058
+ "description": "Returns a site object containing information about an individual site (see <a href='https://kb.kentik.com/Cb13.htm#Cb13-About_Sites' target='_blank'>About Sites</a>).<br/>* Required fields.",
1059
+ "operationId": "findSite",
1060
+ "parameters": [
1061
+ {
1062
+ "name": "site_id",
1063
+ "in": "path",
1064
+ "description": "The ID of the site whose information will be returned.",
1065
+ "required": true,
1066
+ "style": "simple",
1067
+ "schema": {
1068
+ "type": "integer",
1069
+ "format": "int32"
1070
+ }
1071
+ }
1072
+ ],
1073
+ "responses": {
1074
+ "200": {
1075
+ "description": "",
1076
+ "headers": {},
1077
+ "content": {
1078
+ "application/json": {
1079
+ "schema": {
1080
+ "type": "object"
1081
+ }
1082
+ }
1083
+ }
1084
+ }
1085
+ },
1086
+ "deprecated": false
1087
+ },
1088
+ "put": {
1089
+ "tags": [
1090
+ "site"
1091
+ ],
1092
+ "summary": "updateSite",
1093
+ "description": "Updates and returns a site object containing information about an individual site (see <a href='https://kb.kentik.com/Cb13.htm#Cb13-About_Sites' target='_blank'>About Sites</a>).<br/>* Required fields.",
1094
+ "operationId": "updateSite",
1095
+ "parameters": [
1096
+ {
1097
+ "name": "site_id",
1098
+ "in": "path",
1099
+ "description": "The id of the site whose information will be updated.",
1100
+ "required": true,
1101
+ "style": "simple",
1102
+ "schema": {
1103
+ "type": "integer",
1104
+ "format": "int32"
1105
+ }
1106
+ }
1107
+ ],
1108
+ "requestBody": {
1109
+ "description": "",
1110
+ "content": {
1111
+ "application/json": {
1112
+ "schema": {
1113
+ "$ref": "#/components/schemas/updateSite"
1114
+ }
1115
+ }
1116
+ },
1117
+ "required": true
1118
+ },
1119
+ "responses": {
1120
+ "200": {
1121
+ "description": "",
1122
+ "headers": {},
1123
+ "content": {
1124
+ "application/json": {
1125
+ "schema": {
1126
+ "type": "object"
1127
+ }
1128
+ }
1129
+ }
1130
+ }
1131
+ },
1132
+ "deprecated": false
1133
+ },
1134
+ "delete": {
1135
+ "tags": [
1136
+ "site"
1137
+ ],
1138
+ "summary": "deleteSite",
1139
+ "description": "Deletes a site.<br/>* Required fields.",
1140
+ "operationId": "deleteSite",
1141
+ "parameters": [
1142
+ {
1143
+ "name": "site_id",
1144
+ "in": "path",
1145
+ "description": "The id of the site to delete.",
1146
+ "required": true,
1147
+ "style": "simple",
1148
+ "schema": {
1149
+ "type": "integer",
1150
+ "format": "int32"
1151
+ }
1152
+ }
1153
+ ],
1154
+ "responses": {
1155
+ "200": {
1156
+ "description": "",
1157
+ "headers": {},
1158
+ "content": {
1159
+ "application/json": {
1160
+ "schema": {
1161
+ "type": "object"
1162
+ }
1163
+ }
1164
+ }
1165
+ }
1166
+ },
1167
+ "deprecated": false
1168
+ }
1169
+ },
1170
+ "/site": {
1171
+ "post": {
1172
+ "tags": [
1173
+ "site"
1174
+ ],
1175
+ "summary": "createSite",
1176
+ "description": "Creates and returns a site object containing information about an individual site (see <a href='https://kb.kentik.com/Cb13.htm#Cb13-About_Sites' target='_blank'>About Sites</a>).<br/>* Required fields.",
1177
+ "operationId": "createSite",
1178
+ "parameters": [
1179
+
1180
+ ],
1181
+ "requestBody": {
1182
+ "description": "",
1183
+ "content": {
1184
+ "application/json": {
1185
+ "schema": {
1186
+ "$ref": "#/components/schemas/createSite"
1187
+ }
1188
+ }
1189
+ },
1190
+ "required": true
1191
+ },
1192
+ "responses": {
1193
+ "200": {
1194
+ "description": "",
1195
+ "headers": {},
1196
+ "content": {
1197
+ "application/json": {
1198
+ "schema": {
1199
+ "type": "object"
1200
+ }
1201
+ }
1202
+ }
1203
+ }
1204
+ },
1205
+ "deprecated": false
1206
+ }
1207
+ },
1208
+ "/tags": {
1209
+ "get": {
1210
+ "tags": [
1211
+ "tag"
1212
+ ],
1213
+ "summary": "findTags",
1214
+ "description": "Returns an array of tag objects that each contain information about an individual tag (see <a href='https://kb.kentik.com/Eb02.htm#Eb02-About_Tags' target='_blank'>About Tags</a>).",
1215
+ "operationId": "findTags",
1216
+ "parameters": [
1217
+
1218
+ ],
1219
+ "responses": {
1220
+ "200": {
1221
+ "description": "",
1222
+ "headers": {},
1223
+ "content": {
1224
+ "application/json": {
1225
+ "schema": {
1226
+ "type": "object"
1227
+ }
1228
+ }
1229
+ }
1230
+ }
1231
+ },
1232
+ "deprecated": false
1233
+ }
1234
+ },
1235
+ "/tag/{tag_id}": {
1236
+ "get": {
1237
+ "tags": [
1238
+ "tag"
1239
+ ],
1240
+ "summary": "findTag",
1241
+ "description": "Returns a tag object containing information about an individual tag (see <a href='https://kb.kentik.com/Eb02.htm#Eb02-About_Tags' target='_blank'>About Tags</a>).<br/>* Required fields.",
1242
+ "operationId": "findTag",
1243
+ "parameters": [
1244
+ {
1245
+ "name": "tag_id",
1246
+ "in": "path",
1247
+ "description": "The id of the tag whose information will be returned.",
1248
+ "required": true,
1249
+ "style": "simple",
1250
+ "schema": {
1251
+ "type": "integer",
1252
+ "format": "int32"
1253
+ }
1254
+ }
1255
+ ],
1256
+ "responses": {
1257
+ "200": {
1258
+ "description": "",
1259
+ "headers": {},
1260
+ "content": {
1261
+ "application/json": {
1262
+ "schema": {
1263
+ "type": "object"
1264
+ }
1265
+ }
1266
+ }
1267
+ }
1268
+ },
1269
+ "deprecated": false
1270
+ },
1271
+ "put": {
1272
+ "tags": [
1273
+ "tag"
1274
+ ],
1275
+ "summary": "updateTag",
1276
+ "description": "Updates and returns a tag object containing information about an individual tag (see <a href='https://kb.kentik.com/Eb02.htm#Eb02-About_Tags' target='_blank'>About Tags</a>).<br/>* Required fields.",
1277
+ "operationId": "updateTag",
1278
+ "parameters": [
1279
+ {
1280
+ "name": "tag_id",
1281
+ "in": "path",
1282
+ "description": "The id of the tag whose information will be updated.",
1283
+ "required": true,
1284
+ "style": "simple",
1285
+ "schema": {
1286
+ "type": "integer",
1287
+ "format": "int32"
1288
+ }
1289
+ }
1290
+ ],
1291
+ "requestBody": {
1292
+ "description": "",
1293
+ "content": {
1294
+ "application/json": {
1295
+ "schema": {
1296
+ "$ref": "#/components/schemas/updateTag"
1297
+ }
1298
+ }
1299
+ },
1300
+ "required": true
1301
+ },
1302
+ "responses": {
1303
+ "200": {
1304
+ "description": "",
1305
+ "headers": {},
1306
+ "content": {
1307
+ "application/json": {
1308
+ "schema": {
1309
+ "type": "object"
1310
+ }
1311
+ }
1312
+ }
1313
+ }
1314
+ },
1315
+ "deprecated": false
1316
+ },
1317
+ "delete": {
1318
+ "tags": [
1319
+ "tag"
1320
+ ],
1321
+ "summary": "deleteTag",
1322
+ "description": "Deletes a tag.<br/>* Required fields.",
1323
+ "operationId": "deleteTag",
1324
+ "parameters": [
1325
+ {
1326
+ "name": "tag_id",
1327
+ "in": "path",
1328
+ "description": "The id of the tag to delete.",
1329
+ "required": true,
1330
+ "style": "simple",
1331
+ "schema": {
1332
+ "type": "integer",
1333
+ "format": "int32"
1334
+ }
1335
+ }
1336
+ ],
1337
+ "responses": {
1338
+ "200": {
1339
+ "description": "",
1340
+ "headers": {},
1341
+ "content": {
1342
+ "application/json": {
1343
+ "schema": {
1344
+ "type": "object"
1345
+ }
1346
+ }
1347
+ }
1348
+ }
1349
+ },
1350
+ "deprecated": false
1351
+ }
1352
+ },
1353
+ "/tag": {
1354
+ "post": {
1355
+ "tags": [
1356
+ "tag"
1357
+ ],
1358
+ "summary": "createTag",
1359
+ "description": "Creates and returns a tag object containing information about an individual tag (see <a href='https://kb.kentik.com/Eb02.htm#Eb02-About_Tags' target='_blank'>About Tags</a>).<br/>* Required fields.",
1360
+ "operationId": "createTag",
1361
+ "parameters": [
1362
+
1363
+ ],
1364
+ "requestBody": {
1365
+ "description": "",
1366
+ "content": {
1367
+ "application/json": {
1368
+ "schema": {
1369
+ "$ref": "#/components/schemas/createTag"
1370
+ }
1371
+ }
1372
+ },
1373
+ "required": true
1374
+ },
1375
+ "responses": {
1376
+ "200": {
1377
+ "description": "",
1378
+ "headers": {},
1379
+ "content": {
1380
+ "application/json": {
1381
+ "schema": {
1382
+ "type": "object"
1383
+ }
1384
+ }
1385
+ }
1386
+ }
1387
+ },
1388
+ "deprecated": false
1389
+ }
1390
+ },
1391
+ "/customdimensions": {
1392
+ "get": {
1393
+ "tags": [
1394
+ "custom_dimension"
1395
+ ],
1396
+ "summary": "findCustomDimensions",
1397
+ "description": "Returns an array of custom dimension objects that each contain information about an individual custom dimension (see <a href='https://kb.kentik.com/proto/?Ec03.htm#Ec03-Custom_Dimension_API' target='_blank'>About Custom Dimensions</a>).",
1398
+ "operationId": "findCustomDimensions",
1399
+ "parameters": [
1400
+
1401
+ ],
1402
+ "responses": {
1403
+ "200": {
1404
+ "description": "",
1405
+ "headers": {},
1406
+ "content": {
1407
+ "application/json": {
1408
+ "schema": {
1409
+ "type": "object"
1410
+ }
1411
+ }
1412
+ }
1413
+ }
1414
+ },
1415
+ "deprecated": false
1416
+ }
1417
+ },
1418
+ "/customdimension/{dimension_id}": {
1419
+ "get": {
1420
+ "tags": [
1421
+ "custom_dimension"
1422
+ ],
1423
+ "summary": "findCustomDimension",
1424
+ "description": "Returns a custom dimension object containing information about an individual custom dimension (see <a href='https://kb.kentik.com/proto/?Ec03.htm#Ec03-Custom_Dimension_API' target='_blank'>About Custom Dimensions</a>).<br/>* Required fields.",
1425
+ "operationId": "findCustomDimension",
1426
+ "parameters": [
1427
+ {
1428
+ "name": "dimension_id",
1429
+ "in": "path",
1430
+ "description": "The id of the custom dimension whose information will be returned.",
1431
+ "required": true,
1432
+ "style": "simple",
1433
+ "schema": {
1434
+ "type": "integer",
1435
+ "format": "int32"
1436
+ }
1437
+ }
1438
+ ],
1439
+ "responses": {
1440
+ "200": {
1441
+ "description": "",
1442
+ "headers": {},
1443
+ "content": {
1444
+ "application/json": {
1445
+ "schema": {
1446
+ "type": "object"
1447
+ }
1448
+ }
1449
+ }
1450
+ }
1451
+ },
1452
+ "deprecated": false
1453
+ },
1454
+ "put": {
1455
+ "tags": [
1456
+ "custom_dimension"
1457
+ ],
1458
+ "summary": "updateCustomDimension",
1459
+ "description": "Updates and returns a custom dimension object containing information about an individual custom dimension (see <a href='https://kb.kentik.com/proto/?Ec03.htm#Ec03-Custom_Dimension_API' target='_blank'>About Custom Dimensions</a>).<br/>* Required fields.<br/>Populators are not sent back in the response body. To get them use \"Custom Dimension info\" section instead.",
1460
+ "operationId": "updateCustomDimension",
1461
+ "parameters": [
1462
+ {
1463
+ "name": "dimension_id",
1464
+ "in": "path",
1465
+ "description": "The id of the custom dimension whose information will be updated.",
1466
+ "required": true,
1467
+ "style": "simple",
1468
+ "schema": {
1469
+ "type": "integer",
1470
+ "format": "int32"
1471
+ }
1472
+ }
1473
+ ],
1474
+ "requestBody": {
1475
+ "description": "",
1476
+ "content": {
1477
+ "application/json": {
1478
+ "schema": {
1479
+ "$ref": "#/components/schemas/updateCustomDimension"
1480
+ }
1481
+ }
1482
+ },
1483
+ "required": true
1484
+ },
1485
+ "responses": {
1486
+ "200": {
1487
+ "description": "",
1488
+ "headers": {},
1489
+ "content": {
1490
+ "application/json": {
1491
+ "schema": {
1492
+ "type": "object"
1493
+ }
1494
+ }
1495
+ }
1496
+ }
1497
+ },
1498
+ "deprecated": false
1499
+ },
1500
+ "delete": {
1501
+ "tags": [
1502
+ "custom_dimension"
1503
+ ],
1504
+ "summary": "deleteCustomDimension",
1505
+ "description": "Deletes a custom dimension.<br/>* Required fields.",
1506
+ "operationId": "deleteCustomDimension",
1507
+ "parameters": [
1508
+ {
1509
+ "name": "dimension_id",
1510
+ "in": "path",
1511
+ "description": "The id of the custom dimension to delete.",
1512
+ "required": true,
1513
+ "style": "simple",
1514
+ "schema": {
1515
+ "type": "integer",
1516
+ "format": "int32"
1517
+ }
1518
+ }
1519
+ ],
1520
+ "responses": {
1521
+ "200": {
1522
+ "description": "",
1523
+ "headers": {},
1524
+ "content": {
1525
+ "application/json": {
1526
+ "schema": {
1527
+ "type": "object"
1528
+ }
1529
+ }
1530
+ }
1531
+ }
1532
+ },
1533
+ "deprecated": false
1534
+ }
1535
+ },
1536
+ "/customdimension": {
1537
+ "post": {
1538
+ "tags": [
1539
+ "custom_dimension"
1540
+ ],
1541
+ "summary": "createCustomDimension",
1542
+ "description": "Creates and returns a custom dimension object containing information about an individual custom dimension (see <a href='https://kb.kentik.com/proto/?Ec03.htm#Ec03-Custom_Dimension_API' target='_blank'>About Custom Dimensions</a>).<br/>* Required fields.",
1543
+ "operationId": "createCustomDimension",
1544
+ "parameters": [
1545
+
1546
+ ],
1547
+ "requestBody": {
1548
+ "description": "",
1549
+ "content": {
1550
+ "application/json": {
1551
+ "schema": {
1552
+ "$ref": "#/components/schemas/createCustomDimension"
1553
+ }
1554
+ }
1555
+ },
1556
+ "required": true
1557
+ },
1558
+ "responses": {
1559
+ "200": {
1560
+ "description": "",
1561
+ "headers": {},
1562
+ "content": {
1563
+ "application/json": {
1564
+ "schema": {
1565
+ "type": "object"
1566
+ }
1567
+ }
1568
+ }
1569
+ }
1570
+ },
1571
+ "deprecated": false
1572
+ }
1573
+ },
1574
+ "/customdimension/{dimension_id}/populator/": {
1575
+ "post": {
1576
+ "tags": [
1577
+ "custom_dimension"
1578
+ ],
1579
+ "summary": "createPopulator",
1580
+ "description": "Creates and returns a populator object containing information about an individual populator (see <a href='https://kb.kentik.com/proto/?Ec03.htm#Ec03-Custom_Dimension_API' target='_blank'>About Populators</a>).<br/>* Required fields.",
1581
+ "operationId": "createPopulator",
1582
+ "parameters": [
1583
+ {
1584
+ "name": "dimension_id",
1585
+ "in": "path",
1586
+ "description": "The id of the custom dimension that contains the populator.",
1587
+ "required": true,
1588
+ "style": "simple",
1589
+ "schema": {
1590
+ "type": "integer",
1591
+ "format": "int32"
1592
+ }
1593
+ }
1594
+ ],
1595
+ "requestBody": {
1596
+ "description": "",
1597
+ "content": {
1598
+ "application/json": {
1599
+ "schema": {
1600
+ "$ref": "#/components/schemas/createPopulator"
1601
+ }
1602
+ }
1603
+ },
1604
+ "required": true
1605
+ },
1606
+ "responses": {
1607
+ "200": {
1608
+ "description": "",
1609
+ "headers": {},
1610
+ "content": {
1611
+ "application/json": {
1612
+ "schema": {
1613
+ "type": "object"
1614
+ }
1615
+ }
1616
+ }
1617
+ }
1618
+ },
1619
+ "deprecated": false
1620
+ }
1621
+ },
1622
+ "/customdimension/{dimension_id}/populator/{populator_id}": {
1623
+ "put": {
1624
+ "tags": [
1625
+ "custom_dimension"
1626
+ ],
1627
+ "summary": "updatePopulator",
1628
+ "description": "Updates and returns a populator object containing information about an individual populator (see <a href='https://kb.kentik.com/proto/?Ec03.htm#Ec03-Custom_Dimension_API' target='_blank'>About Populators</a>).<br/>* Required fields.",
1629
+ "operationId": "updatePopulator",
1630
+ "parameters": [
1631
+ {
1632
+ "name": "populator_id",
1633
+ "in": "path",
1634
+ "description": "The id of the populator whose information will be updated.",
1635
+ "required": true,
1636
+ "style": "simple",
1637
+ "schema": {
1638
+ "type": "integer",
1639
+ "format": "int32"
1640
+ }
1641
+ },
1642
+ {
1643
+ "name": "dimension_id",
1644
+ "in": "path",
1645
+ "description": "The id of the custom dimension that contains the populator.",
1646
+ "required": true,
1647
+ "style": "simple",
1648
+ "schema": {
1649
+ "type": "integer",
1650
+ "format": "int32"
1651
+ }
1652
+ }
1653
+ ],
1654
+ "requestBody": {
1655
+ "description": "",
1656
+ "content": {
1657
+ "application/json": {
1658
+ "schema": {
1659
+ "$ref": "#/components/schemas/updatePopulator"
1660
+ }
1661
+ }
1662
+ },
1663
+ "required": true
1664
+ },
1665
+ "responses": {
1666
+ "200": {
1667
+ "description": "",
1668
+ "headers": {},
1669
+ "content": {
1670
+ "application/json": {
1671
+ "schema": {
1672
+ "type": "object"
1673
+ }
1674
+ }
1675
+ }
1676
+ }
1677
+ },
1678
+ "deprecated": false
1679
+ },
1680
+ "delete": {
1681
+ "tags": [
1682
+ "custom_dimension"
1683
+ ],
1684
+ "summary": "deletePopulator",
1685
+ "description": "Deletes a populator.<br/>* Required fields.",
1686
+ "operationId": "deletePopulator",
1687
+ "parameters": [
1688
+ {
1689
+ "name": "populator_id",
1690
+ "in": "path",
1691
+ "description": "The id of the populator to delete.",
1692
+ "required": true,
1693
+ "style": "simple",
1694
+ "schema": {
1695
+ "type": "integer",
1696
+ "format": "int32"
1697
+ }
1698
+ },
1699
+ {
1700
+ "name": "dimension_id",
1701
+ "in": "path",
1702
+ "description": "The id of the custom dimension that contains the populator to delete.",
1703
+ "required": true,
1704
+ "style": "simple",
1705
+ "schema": {
1706
+ "type": "integer",
1707
+ "format": "int32"
1708
+ }
1709
+ }
1710
+ ],
1711
+ "responses": {
1712
+ "200": {
1713
+ "description": "",
1714
+ "headers": {},
1715
+ "content": {
1716
+ "application/json": {
1717
+ "schema": {
1718
+ "type": "object"
1719
+ }
1720
+ }
1721
+ }
1722
+ }
1723
+ },
1724
+ "deprecated": false
1725
+ }
1726
+ },
1727
+ "/customApplications": {
1728
+ "get": {
1729
+ "tags": [
1730
+ "custom_application"
1731
+ ],
1732
+ "summary": "findCustomApplications",
1733
+ "description": "Returns an array of custom application object, each of which contains information about an individual custom application.<br/>* Required fields.",
1734
+ "operationId": "findCustomApplications",
1735
+ "parameters": [
1736
+
1737
+ ],
1738
+ "responses": {
1739
+ "200": {
1740
+ "description": "",
1741
+ "headers": {},
1742
+ "content": {
1743
+ "application/json": {
1744
+ "schema": {
1745
+ "type": "object"
1746
+ }
1747
+ }
1748
+ }
1749
+ }
1750
+ },
1751
+ "deprecated": false
1752
+ },
1753
+ "post": {
1754
+ "tags": [
1755
+ "custom_application"
1756
+ ],
1757
+ "summary": "createCustomApplication",
1758
+ "description": "Creates and returns a custom application object containing information about an individual custom application.<br/>* Required fields.",
1759
+ "operationId": "createCustomApplication",
1760
+ "parameters": [
1761
+
1762
+ ],
1763
+ "requestBody": {
1764
+ "description": "",
1765
+ "content": {
1766
+ "application/json": {
1767
+ "schema": {
1768
+ "$ref": "#/components/schemas/createCustomApplication"
1769
+ }
1770
+ }
1771
+ },
1772
+ "required": true
1773
+ },
1774
+ "responses": {
1775
+ "200": {
1776
+ "description": "",
1777
+ "headers": {},
1778
+ "content": {
1779
+ "application/json": {
1780
+ "schema": {
1781
+ "type": "object"
1782
+ }
1783
+ }
1784
+ }
1785
+ }
1786
+ },
1787
+ "deprecated": false
1788
+ }
1789
+ },
1790
+ "/customApplications/{application_id}": {
1791
+ "put": {
1792
+ "tags": [
1793
+ "custom_application"
1794
+ ],
1795
+ "summary": "updateCustomApplication",
1796
+ "description": "Updates and returns a custom application object containing information about an individual custom application.<br/>* Required fields.",
1797
+ "operationId": "updateCustomApplication",
1798
+ "parameters": [
1799
+ {
1800
+ "name": "application_id",
1801
+ "in": "path",
1802
+ "description": "The ID of the custom application whose information will be updated.",
1803
+ "required": true,
1804
+ "style": "simple",
1805
+ "schema": {
1806
+ "type": "integer",
1807
+ "format": "int32"
1808
+ }
1809
+ }
1810
+ ],
1811
+ "requestBody": {
1812
+ "description": "",
1813
+ "content": {
1814
+ "application/json": {
1815
+ "schema": {
1816
+ "$ref": "#/components/schemas/updateCustomApplication"
1817
+ }
1818
+ }
1819
+ },
1820
+ "required": true
1821
+ },
1822
+ "responses": {
1823
+ "200": {
1824
+ "description": "",
1825
+ "headers": {},
1826
+ "content": {
1827
+ "application/json": {
1828
+ "schema": {
1829
+ "type": "object"
1830
+ }
1831
+ }
1832
+ }
1833
+ }
1834
+ },
1835
+ "deprecated": false
1836
+ },
1837
+ "delete": {
1838
+ "tags": [
1839
+ "custom_application"
1840
+ ],
1841
+ "summary": "deleteCustomApplication",
1842
+ "description": "Deletes a custom application from the system.<br/>* Required fields.",
1843
+ "operationId": "deleteCustomApplication",
1844
+ "parameters": [
1845
+ {
1846
+ "name": "application_id",
1847
+ "in": "path",
1848
+ "description": "The id of the custom application to delete.",
1849
+ "required": true,
1850
+ "style": "simple",
1851
+ "schema": {
1852
+ "type": "integer",
1853
+ "format": "int32"
1854
+ }
1855
+ }
1856
+ ],
1857
+ "responses": {
1858
+ "200": {
1859
+ "description": "",
1860
+ "headers": {},
1861
+ "content": {
1862
+ "application/json": {
1863
+ "schema": {
1864
+ "type": "object"
1865
+ }
1866
+ }
1867
+ }
1868
+ }
1869
+ },
1870
+ "deprecated": false
1871
+ }
1872
+ },
1873
+ "/saved-filters/custom": {
1874
+ "get": {
1875
+ "tags": [
1876
+ "savedfilter"
1877
+ ],
1878
+ "summary": "findSavedFilters",
1879
+ "description": "Returns an array of saved filter objects, each of which contains information about an individual saved filter (see <a href='https://kb.kentik.com/Ec07.htm#Ec07-Saved_Filter_List' target='_blank'>Saved Filters</a>).<br/>* Required fields.",
1880
+ "operationId": "findSavedFilters",
1881
+ "parameters": [
1882
+
1883
+ ],
1884
+ "responses": {
1885
+ "200": {
1886
+ "description": "",
1887
+ "headers": {},
1888
+ "content": {
1889
+ "application/json": {
1890
+ "schema": {
1891
+ "type": "object"
1892
+ }
1893
+ }
1894
+ }
1895
+ }
1896
+ },
1897
+ "deprecated": false
1898
+ }
1899
+ },
1900
+ "/saved-filter/custom/{savedfilter_id}": {
1901
+ "get": {
1902
+ "tags": [
1903
+ "savedfilter"
1904
+ ],
1905
+ "summary": "findSavedFilter",
1906
+ "description": "Returns a saved filter object containing information about an individual saved filter (see <a href='https://kb.kentik.com/Ec07.htm#Ec07-Saved_Filter_Info' target='_blank'>Saved Filters</a>).<br/>* Required fields.",
1907
+ "operationId": "findSavedFilter",
1908
+ "parameters": [
1909
+ {
1910
+ "name": "savedfilter_id",
1911
+ "in": "path",
1912
+ "description": "The ID of the saved filter whose information will be returned.",
1913
+ "required": true,
1914
+ "style": "simple",
1915
+ "schema": {
1916
+ "type": "integer",
1917
+ "format": "int32"
1918
+ }
1919
+ }
1920
+ ],
1921
+ "responses": {
1922
+ "200": {
1923
+ "description": "",
1924
+ "headers": {},
1925
+ "content": {
1926
+ "application/json": {
1927
+ "schema": {
1928
+ "type": "object"
1929
+ }
1930
+ }
1931
+ }
1932
+ }
1933
+ },
1934
+ "deprecated": false
1935
+ },
1936
+ "put": {
1937
+ "tags": [
1938
+ "savedfilter"
1939
+ ],
1940
+ "summary": "updateSavedFilter",
1941
+ "description": "Updates and returns a saved filter object containing information about an individual saved filter (see <a href='https://kb.kentik.com/Ec07.htm#Ec07-Saved_Filter_Update' target='_blank'>Saved Filters</a>).<br/>* Required fields.",
1942
+ "operationId": "updateSavedFilter",
1943
+ "parameters": [
1944
+ {
1945
+ "name": "savedfilter_id",
1946
+ "in": "path",
1947
+ "description": "The ID of the saved filter whose information will be updated.",
1948
+ "required": true,
1949
+ "style": "simple",
1950
+ "schema": {
1951
+ "type": "integer",
1952
+ "format": "int32"
1953
+ }
1954
+ }
1955
+ ],
1956
+ "requestBody": {
1957
+ "description": "",
1958
+ "content": {
1959
+ "application/json": {
1960
+ "schema": {
1961
+ "$ref": "#/components/schemas/updateSavedFilter"
1962
+ }
1963
+ }
1964
+ },
1965
+ "required": true
1966
+ },
1967
+ "responses": {
1968
+ "200": {
1969
+ "description": "",
1970
+ "headers": {},
1971
+ "content": {
1972
+ "application/json": {
1973
+ "schema": {
1974
+ "type": "object"
1975
+ }
1976
+ }
1977
+ }
1978
+ }
1979
+ },
1980
+ "deprecated": false
1981
+ },
1982
+ "delete": {
1983
+ "tags": [
1984
+ "savedfilter"
1985
+ ],
1986
+ "summary": "deleteSavedFilter",
1987
+ "description": "Deletes a saved filter from the system.<br/>* Required fields.",
1988
+ "operationId": "deleteSavedFilter",
1989
+ "parameters": [
1990
+ {
1991
+ "name": "savedfilter_id",
1992
+ "in": "path",
1993
+ "description": "The id of the saved filter to delete.",
1994
+ "required": true,
1995
+ "style": "simple",
1996
+ "schema": {
1997
+ "type": "integer",
1998
+ "format": "int32"
1999
+ }
2000
+ }
2001
+ ],
2002
+ "responses": {
2003
+ "200": {
2004
+ "description": "",
2005
+ "headers": {},
2006
+ "content": {
2007
+ "application/json": {
2008
+ "schema": {
2009
+ "type": "object"
2010
+ }
2011
+ }
2012
+ }
2013
+ }
2014
+ },
2015
+ "deprecated": false
2016
+ }
2017
+ },
2018
+ "/saved-filter/custom": {
2019
+ "post": {
2020
+ "tags": [
2021
+ "savedfilter"
2022
+ ],
2023
+ "summary": "createSavedFilter",
2024
+ "description": "Creates and returns a saved filter object containing information about an individual saved filter (see <a href='https://kb.kentik.com/Ec07.htm#Ec07-Saved_Filter_Create' target='_blank'>Saved Filters</a>).<br/>* Required fields.",
2025
+ "operationId": "createSavedFilter",
2026
+ "parameters": [
2027
+
2028
+ ],
2029
+ "requestBody": {
2030
+ "description": "",
2031
+ "content": {
2032
+ "application/json": {
2033
+ "schema": {
2034
+ "$ref": "#/components/schemas/createSavedFilter"
2035
+ }
2036
+ }
2037
+ },
2038
+ "required": true
2039
+ },
2040
+ "responses": {
2041
+ "200": {
2042
+ "description": "",
2043
+ "headers": {},
2044
+ "content": {
2045
+ "application/json": {
2046
+ "schema": {
2047
+ "type": "object"
2048
+ }
2049
+ }
2050
+ }
2051
+ }
2052
+ },
2053
+ "deprecated": false
2054
+ }
2055
+ },
2056
+ "/alerts/manual-mitigate": {
2057
+ "post": {
2058
+ "tags": [
2059
+ "alerts"
2060
+ ],
2061
+ "summary": "createManualMitigation",
2062
+ "description": "Creates a manual mitigation. A mitigation started manually will not clear on its own. It must be stopped manually from the active alerts page.",
2063
+ "operationId": "createManualMitigation",
2064
+ "parameters": [
2065
+
2066
+ ],
2067
+ "requestBody": {
2068
+ "description": "",
2069
+ "content": {
2070
+ "application/json": {
2071
+ "schema": {
2072
+ "$ref": "#/components/schemas/createManualMitigation"
2073
+ }
2074
+ }
2075
+ },
2076
+ "required": true
2077
+ },
2078
+ "responses": {
2079
+ "200": {
2080
+ "description": "",
2081
+ "headers": {},
2082
+ "content": {
2083
+ "application/json": {
2084
+ "schema": {
2085
+ "type": "object"
2086
+ }
2087
+ }
2088
+ }
2089
+ }
2090
+ },
2091
+ "deprecated": false
2092
+ }
2093
+ },
2094
+ "/alerts-active/alarms": {
2095
+ "get": {
2096
+ "tags": [
2097
+ "alerts_active"
2098
+ ],
2099
+ "summary": "alarms",
2100
+ "description": "Returns alarms.",
2101
+ "operationId": "alarms",
2102
+ "parameters": [
2103
+ {
2104
+ "name": "startTime",
2105
+ "in": "query",
2106
+ "description": "startTime - The startTime of the alert. E.g. \"2018-10-15T22:15:00\".",
2107
+ "required": true,
2108
+ "style": "simple",
2109
+ "schema": {
2110
+ "type": "string"
2111
+ }
2112
+ },
2113
+ {
2114
+ "name": "endTime",
2115
+ "in": "query",
2116
+ "description": "endTime - The endTime of the alert. E.g. \"2018-10-15T22:16:00\".",
2117
+ "required": true,
2118
+ "style": "simple",
2119
+ "schema": {
2120
+ "type": "string"
2121
+ }
2122
+ },
2123
+ {
2124
+ "name": "filterBy",
2125
+ "in": "query",
2126
+ "description": "filterBy - The filter by field. (Acceptable values are: \"\", \"old_state\", \"new_state\", \"any_state\", \"alert_key_partial\", \"dimension_key\", \"mitigation_id\", \"alert_id\", \"alert_key\", \"alarm_id\")",
2127
+ "required": true,
2128
+ "style": "simple",
2129
+ "schema": {
2130
+ "type": "string"
2131
+ }
2132
+ },
2133
+ {
2134
+ "name": "filterVal",
2135
+ "in": "query",
2136
+ "description": "filterVal - The filter by value.",
2137
+ "required": true,
2138
+ "style": "simple",
2139
+ "schema": {
2140
+ "type": "string"
2141
+ }
2142
+ },
2143
+ {
2144
+ "name": "showMitigations",
2145
+ "in": "query",
2146
+ "description": "showMitigations - 0 showMitigations off, 1 showMitigations on.",
2147
+ "required": true,
2148
+ "style": "simple",
2149
+ "schema": {
2150
+ "type": "integer",
2151
+ "format": "int32"
2152
+ }
2153
+ },
2154
+ {
2155
+ "name": "showAlarms",
2156
+ "in": "query",
2157
+ "description": "showAlarms - 0 showAlarms off, 1 showAlarms on.",
2158
+ "required": true,
2159
+ "style": "simple",
2160
+ "schema": {
2161
+ "type": "integer",
2162
+ "format": "int32"
2163
+ }
2164
+ },
2165
+ {
2166
+ "name": "showMatches",
2167
+ "in": "query",
2168
+ "description": "showMatches - 0 showMatches off, 1 showMatches on.",
2169
+ "required": true,
2170
+ "style": "simple",
2171
+ "schema": {
2172
+ "type": "integer",
2173
+ "format": "int32"
2174
+ }
2175
+ },
2176
+ {
2177
+ "name": "learningMode",
2178
+ "in": "query",
2179
+ "description": "learningMode - 0 learning mode off, 1 learning mode on.",
2180
+ "required": true,
2181
+ "style": "simple",
2182
+ "schema": {
2183
+ "type": "integer",
2184
+ "format": "int32"
2185
+ }
2186
+ }
2187
+ ],
2188
+ "responses": {
2189
+ "200": {
2190
+ "description": "",
2191
+ "headers": {},
2192
+ "content": {
2193
+ "application/json": {
2194
+ "schema": {
2195
+ "type": "object"
2196
+ }
2197
+ }
2198
+ }
2199
+ }
2200
+ },
2201
+ "deprecated": false
2202
+ }
2203
+ },
2204
+ "/alerts-active/alerts-history": {
2205
+ "get": {
2206
+ "tags": [
2207
+ "alerts_active"
2208
+ ],
2209
+ "summary": "alertsHistory",
2210
+ "description": "Returns alerts history.",
2211
+ "operationId": "alertsHistory",
2212
+ "parameters": [
2213
+ {
2214
+ "name": "startTime",
2215
+ "in": "query",
2216
+ "description": "startTime - The startTime of the alert. E.g. \"2018-10-15T22:15:00\".",
2217
+ "required": true,
2218
+ "style": "simple",
2219
+ "schema": {
2220
+ "type": "string"
2221
+ }
2222
+ },
2223
+ {
2224
+ "name": "endTime",
2225
+ "in": "query",
2226
+ "description": "endTime - The endTime of the alert. E.g. \"2018-10-15T22:16:00\".",
2227
+ "required": true,
2228
+ "style": "simple",
2229
+ "schema": {
2230
+ "type": "string"
2231
+ }
2232
+ },
2233
+ {
2234
+ "name": "filterBy",
2235
+ "in": "query",
2236
+ "description": "filterBy - The filter by field. (Acceptable values are: \"\", \"old_state\", \"new_state\", \"any_state\", \"alert_key_partial\", \"dimension_key\", \"mitigation_id\", \"alert_id\", \"alert_key\", \"alarm_id\")",
2237
+ "required": true,
2238
+ "style": "simple",
2239
+ "schema": {
2240
+ "type": "string"
2241
+ }
2242
+ },
2243
+ {
2244
+ "name": "filterVal",
2245
+ "in": "query",
2246
+ "description": "filterVal - The filter by value.",
2247
+ "required": true,
2248
+ "style": "simple",
2249
+ "schema": {
2250
+ "type": "string"
2251
+ }
2252
+ },
2253
+ {
2254
+ "name": "sortOrder",
2255
+ "in": "query",
2256
+ "description": "sortOrder - The dimension to sort by. (Acceptable values are: \"alert_key\", \"severity\", \"mitigation_id\", \"alarm_id\", \"alert_id\", \"alert_value\", \"alarm_state\")",
2257
+ "required": true,
2258
+ "style": "simple",
2259
+ "schema": {
2260
+ "type": "string",
2261
+ "default": "alert_id"
2262
+ }
2263
+ },
2264
+ {
2265
+ "name": "showMitigations",
2266
+ "in": "query",
2267
+ "description": "showMitigations - 0 showMitigations off, 1 showMitigations on.",
2268
+ "required": true,
2269
+ "style": "simple",
2270
+ "schema": {
2271
+ "type": "integer",
2272
+ "format": "int32"
2273
+ }
2274
+ },
2275
+ {
2276
+ "name": "showAlarms",
2277
+ "in": "query",
2278
+ "description": "showAlarms - 0 showAlarms off, 1 showAlarms on.",
2279
+ "required": true,
2280
+ "style": "simple",
2281
+ "schema": {
2282
+ "type": "integer",
2283
+ "format": "int32"
2284
+ }
2285
+ },
2286
+ {
2287
+ "name": "showMatches",
2288
+ "in": "query",
2289
+ "description": "showMatches - 0 showMatches off, 1 showMatches on.",
2290
+ "required": true,
2291
+ "style": "simple",
2292
+ "schema": {
2293
+ "type": "integer",
2294
+ "format": "int32"
2295
+ }
2296
+ },
2297
+ {
2298
+ "name": "learningMode",
2299
+ "in": "query",
2300
+ "description": "learningMode - 0 learning mode off, 1 learning mode on.",
2301
+ "required": true,
2302
+ "style": "simple",
2303
+ "schema": {
2304
+ "type": "integer",
2305
+ "format": "int32"
2306
+ }
2307
+ }
2308
+ ],
2309
+ "responses": {
2310
+ "200": {
2311
+ "description": "",
2312
+ "headers": {},
2313
+ "content": {
2314
+ "application/json": {
2315
+ "schema": {
2316
+ "type": "object"
2317
+ }
2318
+ }
2319
+ }
2320
+ }
2321
+ },
2322
+ "deprecated": false
2323
+ }
2324
+ },
2325
+ "/mykentik/tenants": {
2326
+ "get": {
2327
+ "tags": [
2328
+ "My Kentik Portal"
2329
+ ],
2330
+ "summary": "findUserGroups",
2331
+ "description": "Returns an array of tenants, each of which contains information about an individual tenant (see <a href='https://kb.kentik.com/Cb15.htm#Cb15-Tenant_List' target='_blank'>Tenant List</a>).<br/>* Required fields.",
2332
+ "operationId": "findUserGroups",
2333
+ "parameters": [
2334
+
2335
+ ],
2336
+ "responses": {
2337
+ "200": {
2338
+ "description": "",
2339
+ "headers": {},
2340
+ "content": {
2341
+ "application/json": {
2342
+ "schema": {
2343
+ "type": "object"
2344
+ }
2345
+ }
2346
+ }
2347
+ }
2348
+ },
2349
+ "deprecated": false
2350
+ }
2351
+ },
2352
+ "/mykentik/tenant/{tenant_id}": {
2353
+ "get": {
2354
+ "tags": [
2355
+ "My Kentik Portal"
2356
+ ],
2357
+ "summary": "findUserGroup",
2358
+ "description": "Returns a tenant object containing information about an individual tenant (see <a href='https://kb.kentik.com/Cb15.htm#Cb15-Tenant_Dialogs' target='_blank'>Tenant Dialogs</a>).<br/>* Required fields.",
2359
+ "operationId": "findUserGroup",
2360
+ "parameters": [
2361
+ {
2362
+ "name": "tenant_id",
2363
+ "in": "path",
2364
+ "description": "tenant_id - The ID of the tenant whose information will be returned.",
2365
+ "required": true,
2366
+ "style": "simple",
2367
+ "schema": {
2368
+ "type": "integer",
2369
+ "format": "int32"
2370
+ }
2371
+ }
2372
+ ],
2373
+ "responses": {
2374
+ "200": {
2375
+ "description": "",
2376
+ "headers": {},
2377
+ "content": {
2378
+ "application/json": {
2379
+ "schema": {
2380
+ "type": "object"
2381
+ }
2382
+ }
2383
+ }
2384
+ }
2385
+ },
2386
+ "deprecated": false
2387
+ }
2388
+ },
2389
+ "/mykentik/tenant/{tenant_id}/user": {
2390
+ "post": {
2391
+ "tags": [
2392
+ "My Kentik Portal"
2393
+ ],
2394
+ "summary": "createTenantUser",
2395
+ "description": "Creates and returns a tenant user object containing information about an individual tenant user (see <a href='https://kb.kentik.com/Cb15.htm#Cb15-Add_a_Tenant_User' target='_blank'>Add a Tenant User</a>).<br/>* Required fields.",
2396
+ "operationId": "createTenantUser",
2397
+ "parameters": [
2398
+ {
2399
+ "name": "tenant_id",
2400
+ "in": "path",
2401
+ "description": "tenant_id - The ID of the tenant.",
2402
+ "required": true,
2403
+ "style": "simple",
2404
+ "schema": {
2405
+ "type": "integer",
2406
+ "format": "int32"
2407
+ }
2408
+ }
2409
+ ],
2410
+ "requestBody": {
2411
+ "description": "",
2412
+ "content": {
2413
+ "application/json": {
2414
+ "schema": {
2415
+ "$ref": "#/components/schemas/createTenantUser"
2416
+ }
2417
+ }
2418
+ },
2419
+ "required": true
2420
+ },
2421
+ "responses": {
2422
+ "200": {
2423
+ "description": "",
2424
+ "headers": {},
2425
+ "content": {
2426
+ "application/json": {
2427
+ "schema": {
2428
+ "type": "object"
2429
+ }
2430
+ }
2431
+ }
2432
+ }
2433
+ },
2434
+ "deprecated": false
2435
+ }
2436
+ },
2437
+ "/mykentik/tenant/{tenant_id}/user/{user_id}": {
2438
+ "delete": {
2439
+ "tags": [
2440
+ "My Kentik Portal"
2441
+ ],
2442
+ "summary": "deleteTenantUser",
2443
+ "description": "Deletes a tenant user from the system (see <a href='https://kb.kentik.com/Cb15.htm#Cb15-Remove_a_Tenant_User' target='_blank'>Remove a Tenant User</a>).<br/>* Required fields.",
2444
+ "operationId": "deleteTenantUser",
2445
+ "parameters": [
2446
+ {
2447
+ "name": "tenant_id",
2448
+ "in": "path",
2449
+ "description": "tenant_id - The ID of the tenant.",
2450
+ "required": true,
2451
+ "style": "simple",
2452
+ "schema": {
2453
+ "type": "integer",
2454
+ "format": "int32"
2455
+ }
2456
+ },
2457
+ {
2458
+ "name": "user_id",
2459
+ "in": "path",
2460
+ "description": "user_id - The ID of the user.",
2461
+ "required": true,
2462
+ "style": "simple",
2463
+ "schema": {
2464
+ "type": "integer",
2465
+ "format": "int32"
2466
+ }
2467
+ }
2468
+ ],
2469
+ "responses": {
2470
+ "200": {
2471
+ "description": "",
2472
+ "headers": {},
2473
+ "content": {
2474
+ "application/json": {
2475
+ "schema": {
2476
+ "type": "object"
2477
+ }
2478
+ }
2479
+ }
2480
+ }
2481
+ },
2482
+ "deprecated": false
2483
+ }
2484
+ }
2485
+ },
2486
+ "components": {
2487
+ "schemas": {
2488
+ "runQuery": {
2489
+ "title": "runQuery",
2490
+ "type": "object",
2491
+ "properties": {
2492
+ "query": {
2493
+ "type": "string",
2494
+ "description": "SQL query to run."
2495
+ }
2496
+ }
2497
+ },
2498
+ "queryUrl": {
2499
+ "title": "queryUrl",
2500
+ "type": "object",
2501
+ "properties": {
2502
+ "version": {
2503
+ "allOf": [
2504
+ {
2505
+ "$ref": "#/components/schemas/KentikPortalVersion"
2506
+ },
2507
+ {
2508
+ "description": "Generates a URL for a particular version of Kentik"
2509
+ }
2510
+ ]
2511
+ },
2512
+ "queries": {
2513
+ "type": "array",
2514
+ "items": {
2515
+ "$ref": "#/components/schemas/query"
2516
+ },
2517
+ "description": ""
2518
+ }
2519
+ }
2520
+ },
2521
+ "topxdata": {
2522
+ "title": "topxdata",
2523
+ "type": "object",
2524
+ "properties": {
2525
+ "queries": {
2526
+ "type": "array",
2527
+ "items": {
2528
+ "$ref": "#/components/schemas/query2"
2529
+ },
2530
+ "description": ""
2531
+ }
2532
+ }
2533
+ },
2534
+ "topxchart": {
2535
+ "title": "topxchart",
2536
+ "type": "object",
2537
+ "properties": {
2538
+ "queries": {
2539
+ "type": "array",
2540
+ "items": {
2541
+ "$ref": "#/components/schemas/query4"
2542
+ },
2543
+ "description": ""
2544
+ },
2545
+ "imageType": {
2546
+ "allOf": [
2547
+ {
2548
+ "$ref": "#/components/schemas/imageType"
2549
+ },
2550
+ {
2551
+ "description": "imageType - Type of image"
2552
+ }
2553
+ ]
2554
+ }
2555
+ }
2556
+ },
2557
+ "createUser": {
2558
+ "title": "createUser",
2559
+ "type": "object",
2560
+ "properties": {
2561
+ "user": {
2562
+ "$ref": "#/components/schemas/User"
2563
+ }
2564
+ }
2565
+ },
2566
+ "updateUser": {
2567
+ "title": "updateUser",
2568
+ "type": "object",
2569
+ "properties": {
2570
+ "user": {
2571
+ "$ref": "#/components/schemas/User1"
2572
+ }
2573
+ }
2574
+ },
2575
+ "createDevice": {
2576
+ "title": "createDevice",
2577
+ "type": "object",
2578
+ "properties": {
2579
+ "device": {
2580
+ "$ref": "#/components/schemas/Device"
2581
+ }
2582
+ }
2583
+ },
2584
+ "updateDevice": {
2585
+ "title": "updateDevice",
2586
+ "type": "object",
2587
+ "properties": {
2588
+ "device": {
2589
+ "$ref": "#/components/schemas/Device1"
2590
+ }
2591
+ }
2592
+ },
2593
+ "deviceApplyLabels": {
2594
+ "title": "deviceApplyLabels",
2595
+ "required": [
2596
+ "labels"
2597
+ ],
2598
+ "type": "object",
2599
+ "properties": {
2600
+ "labels": {
2601
+ "type": "array",
2602
+ "items": {
2603
+ "$ref": "#/components/schemas/Labelid"
2604
+ },
2605
+ "description": ""
2606
+ }
2607
+ }
2608
+ },
2609
+ "createDeviceLabel": {
2610
+ "title": "createDeviceLabel",
2611
+ "required": [
2612
+ "name",
2613
+ "color"
2614
+ ],
2615
+ "type": "object",
2616
+ "properties": {
2617
+ "name": {
2618
+ "type": "string",
2619
+ "description": "name - The name of the device label."
2620
+ },
2621
+ "color": {
2622
+ "type": "string",
2623
+ "description": "color - The color of device label."
2624
+ }
2625
+ }
2626
+ },
2627
+ "updateDeviceLabel": {
2628
+ "title": "updateDeviceLabel",
2629
+ "required": [
2630
+ "name"
2631
+ ],
2632
+ "type": "object",
2633
+ "properties": {
2634
+ "name": {
2635
+ "type": "string",
2636
+ "description": "name - The name of the device label."
2637
+ },
2638
+ "color": {
2639
+ "type": "string",
2640
+ "description": "color - The color of device label."
2641
+ }
2642
+ }
2643
+ },
2644
+ "createInterface": {
2645
+ "title": "createInterface",
2646
+ "required": [
2647
+ "snmp_id",
2648
+ "interface_description",
2649
+ "snmp_speed"
2650
+ ],
2651
+ "type": "object",
2652
+ "properties": {
2653
+ "snmp_id": {
2654
+ "type": "string",
2655
+ "description": "snmp_id - The SNMP ID of the interface."
2656
+ },
2657
+ "interface_description": {
2658
+ "type": "string",
2659
+ "description": "interface_description - The name of the interface."
2660
+ },
2661
+ "snmp_alias": {
2662
+ "type": "string",
2663
+ "description": "snmp_alias - The description of the interface."
2664
+ },
2665
+ "interface_ip": {
2666
+ "type": "string",
2667
+ "description": "interface_ip - The IP address assigned to the interface."
2668
+ },
2669
+ "interface_ip_netmask": {
2670
+ "type": "string",
2671
+ "description": "interface_ip_netmask - Netmask for the interface."
2672
+ },
2673
+ "snmp_speed": {
2674
+ "type": "number",
2675
+ "description": "snmp_speed - The capacity of the interface in Mbps."
2676
+ },
2677
+ "secondary_ips": {
2678
+ "type": "array",
2679
+ "items": {
2680
+ "$ref": "#/components/schemas/SecondaryIP"
2681
+ },
2682
+ "description": ""
2683
+ },
2684
+ "vrf": {
2685
+ "$ref": "#/components/schemas/VRF"
2686
+ }
2687
+ }
2688
+ },
2689
+ "updateInterface": {
2690
+ "title": "updateInterface",
2691
+ "required": [
2692
+ "snmp_id",
2693
+ "snmp_speed"
2694
+ ],
2695
+ "type": "object",
2696
+ "properties": {
2697
+ "snmp_id": {
2698
+ "type": "number",
2699
+ "description": "snmp_id - The SNMP ID of the interface."
2700
+ },
2701
+ "interface_description": {
2702
+ "type": "string",
2703
+ "description": "interface_description - The name of the interface."
2704
+ },
2705
+ "snmp_alias": {
2706
+ "type": "string",
2707
+ "description": "snmp_alias - The description of the interface."
2708
+ },
2709
+ "interface_ip": {
2710
+ "type": "string",
2711
+ "description": "interface_ip - The IP address assigned to the interface."
2712
+ },
2713
+ "interface_ip_netmask": {
2714
+ "type": "string",
2715
+ "description": "interface_ip_netmask - Netmask for the interface."
2716
+ },
2717
+ "snmp_speed": {
2718
+ "type": "number",
2719
+ "description": "snmp_speed - The capacity of the interface in Mbps."
2720
+ },
2721
+ "secondary_ips": {
2722
+ "type": "array",
2723
+ "items": {
2724
+ "$ref": "#/components/schemas/SecondaryIP"
2725
+ },
2726
+ "description": ""
2727
+ },
2728
+ "vrf": {
2729
+ "$ref": "#/components/schemas/VRF"
2730
+ }
2731
+ }
2732
+ },
2733
+ "createSite": {
2734
+ "title": "createSite",
2735
+ "type": "object",
2736
+ "properties": {
2737
+ "site": {
2738
+ "$ref": "#/components/schemas/Site"
2739
+ }
2740
+ }
2741
+ },
2742
+ "updateSite": {
2743
+ "title": "updateSite",
2744
+ "type": "object",
2745
+ "properties": {
2746
+ "site": {
2747
+ "$ref": "#/components/schemas/Site1"
2748
+ }
2749
+ }
2750
+ },
2751
+ "createTag": {
2752
+ "title": "createTag",
2753
+ "type": "object",
2754
+ "properties": {
2755
+ "tag": {
2756
+ "$ref": "#/components/schemas/Tag"
2757
+ }
2758
+ }
2759
+ },
2760
+ "updateTag": {
2761
+ "title": "updateTag",
2762
+ "type": "object",
2763
+ "properties": {
2764
+ "tag": {
2765
+ "$ref": "#/components/schemas/Tag"
2766
+ }
2767
+ }
2768
+ },
2769
+ "createCustomDimension": {
2770
+ "title": "createCustomDimension",
2771
+ "required": [
2772
+ "name",
2773
+ "type",
2774
+ "display_name"
2775
+ ],
2776
+ "type": "object",
2777
+ "properties": {
2778
+ "name": {
2779
+ "type": "string",
2780
+ "description": "name - The name of the custom dimension. Must start with \"c_\". Valid characters: alphanumeric dashes and underscores. Length: min=1, max=20."
2781
+ },
2782
+ "type": {
2783
+ "allOf": [
2784
+ {
2785
+ "$ref": "#/components/schemas/Type"
2786
+ },
2787
+ {
2788
+ "description": "type - The type of the custom dimension. Valid values: \"string\" or \"uint32\"."
2789
+ }
2790
+ ]
2791
+ },
2792
+ "display_name": {
2793
+ "type": "string",
2794
+ "description": "display_name - The name to be displayed of the custom dimension. Valid characters: alphanumeric spaces, dashes and underscores. Length: min=2, max=30."
2795
+ }
2796
+ }
2797
+ },
2798
+ "updateCustomDimension": {
2799
+ "title": "updateCustomDimension",
2800
+ "type": "object",
2801
+ "properties": {
2802
+ "display_name": {
2803
+ "type": "string",
2804
+ "description": "display_name - The name to be displayed of the custom dimension. Valid characters: alphanumeric spaces, dashes and underscores. Length: min=2, max=30."
2805
+ }
2806
+ }
2807
+ },
2808
+ "createPopulator": {
2809
+ "title": "createPopulator",
2810
+ "type": "object",
2811
+ "properties": {
2812
+ "populator": {
2813
+ "$ref": "#/components/schemas/Populator"
2814
+ }
2815
+ }
2816
+ },
2817
+ "updatePopulator": {
2818
+ "title": "updatePopulator",
2819
+ "type": "object",
2820
+ "properties": {
2821
+ "populator": {
2822
+ "$ref": "#/components/schemas/Populator"
2823
+ }
2824
+ }
2825
+ },
2826
+ "createCustomApplication": {
2827
+ "title": "createCustomApplication",
2828
+ "required": [
2829
+ "name"
2830
+ ],
2831
+ "type": "object",
2832
+ "properties": {
2833
+ "name": {
2834
+ "type": "string",
2835
+ "description": "name - A unique name for the custom application."
2836
+ },
2837
+ "description": {
2838
+ "type": "string",
2839
+ "description": "description - An optional description for the custom application."
2840
+ },
2841
+ "ip_range": {
2842
+ "type": "string",
2843
+ "description": "ip_range - A comma-separated list of IP addresses in IP/CIDR format."
2844
+ },
2845
+ "protocol": {
2846
+ "type": "string",
2847
+ "description": "protocol - A comma-separated list of protocol numbers."
2848
+ },
2849
+ "port": {
2850
+ "type": "string",
2851
+ "description": "port - A comma-separated list of port numbers."
2852
+ },
2853
+ "asn": {
2854
+ "type": "string",
2855
+ "description": "asn - A comma-separated list of ASNs."
2856
+ }
2857
+ }
2858
+ },
2859
+ "updateCustomApplication": {
2860
+ "title": "updateCustomApplication",
2861
+ "type": "object",
2862
+ "properties": {
2863
+ "name": {
2864
+ "type": "string",
2865
+ "description": "name - A unique name for the custom application."
2866
+ },
2867
+ "description": {
2868
+ "type": "string",
2869
+ "description": "description - An optional description for the custom application."
2870
+ },
2871
+ "ip_range": {
2872
+ "type": "string",
2873
+ "description": "ip_range - A comma-separated list of IP addresses in IP/CIDR format."
2874
+ },
2875
+ "protocol": {
2876
+ "type": "string",
2877
+ "description": "protocol - A comma-separated list of protocol numbers."
2878
+ },
2879
+ "port": {
2880
+ "type": "string",
2881
+ "description": "port - A comma-separated list of port numbers."
2882
+ },
2883
+ "asn": {
2884
+ "type": "string",
2885
+ "description": "asn - A comma-separated list of ASNs."
2886
+ }
2887
+ }
2888
+ },
2889
+ "createSavedFilter": {
2890
+ "title": "createSavedFilter",
2891
+ "required": [
2892
+ "filter_name"
2893
+ ],
2894
+ "type": "object",
2895
+ "properties": {
2896
+ "filter_name": {
2897
+ "type": "string",
2898
+ "description": "filter_name - An unique name for the saved filter."
2899
+ },
2900
+ "filter_description": {
2901
+ "type": "string",
2902
+ "description": "filter_description - The saved filter's description."
2903
+ },
2904
+ "filters": {
2905
+ "allOf": [
2906
+ {
2907
+ "$ref": "#/components/schemas/filters"
2908
+ },
2909
+ {
2910
+ "description": "filters - //"
2911
+ }
2912
+ ]
2913
+ }
2914
+ }
2915
+ },
2916
+ "updateSavedFilter": {
2917
+ "title": "updateSavedFilter",
2918
+ "type": "object",
2919
+ "properties": {
2920
+ "filter_name": {
2921
+ "type": "string",
2922
+ "description": "filter_name - An unique name for the saved filter."
2923
+ },
2924
+ "filter_description": {
2925
+ "type": "string",
2926
+ "description": "filter_description - The saved filter's description."
2927
+ },
2928
+ "filters": {
2929
+ "allOf": [
2930
+ {
2931
+ "$ref": "#/components/schemas/filters"
2932
+ },
2933
+ {
2934
+ "description": "filters - //"
2935
+ }
2936
+ ]
2937
+ }
2938
+ }
2939
+ },
2940
+ "createManualMitigation": {
2941
+ "title": "createManualMitigation",
2942
+ "required": [
2943
+ "ipCidr",
2944
+ "platformID",
2945
+ "methodID"
2946
+ ],
2947
+ "type": "object",
2948
+ "properties": {
2949
+ "ipCidr": {
2950
+ "type": "string",
2951
+ "description": "ipCidr - IP/CIDR To Mitigate"
2952
+ },
2953
+ "comment": {
2954
+ "type": "string",
2955
+ "description": "comment - Comment"
2956
+ },
2957
+ "platformID": {
2958
+ "type": "string",
2959
+ "description": "platformID - Platform id."
2960
+ },
2961
+ "methodID": {
2962
+ "type": "string",
2963
+ "description": "methodID - Method id."
2964
+ },
2965
+ "minutesBeforeAutoStop": {
2966
+ "type": "number",
2967
+ "description": "minutesBeforeAutoStop - Minutes Before Auto Stop.",
2968
+ "default": 0
2969
+ }
2970
+ }
2971
+ },
2972
+ "createTenantUser": {
2973
+ "title": "createTenantUser",
2974
+ "type": "object",
2975
+ "properties": {
2976
+ "user": {
2977
+ "$ref": "#/components/schemas/User2"
2978
+ }
2979
+ }
2980
+ },
2981
+ "aggregate": {
2982
+ "title": "aggregate",
2983
+ "type": "object",
2984
+ "properties": {
2985
+ "name": {
2986
+ "type": "string",
2987
+ "description": "name - Name of the aggregate you're defining."
2988
+ },
2989
+ "column": {
2990
+ "allOf": [
2991
+ {
2992
+ "$ref": "#/components/schemas/column"
2993
+ },
2994
+ {
2995
+ "description": "column - The raw SQL column to use as the source for this aggregation."
2996
+ }
2997
+ ]
2998
+ },
2999
+ "fn": {
3000
+ "allOf": [
3001
+ {
3002
+ "$ref": "#/components/schemas/fn"
3003
+ },
3004
+ {
3005
+ "description": "fn - Aggregation function you want to run against 'column'."
3006
+ }
3007
+ ]
3008
+ },
3009
+ "rank": {
3010
+ "type": "number",
3011
+ "description": "rank - Digit 5 to 99, for use with 'percentile' fn"
3012
+ },
3013
+ "leftOperand": {
3014
+ "type": "string",
3015
+ "description": "leftOperand - Value for left side of composite equation; used only for 'composite' fn"
3016
+ },
3017
+ "compositeFn": {
3018
+ "allOf": [
3019
+ {
3020
+ "$ref": "#/components/schemas/compositeFn"
3021
+ },
3022
+ {
3023
+ "description": "compositeFn - Operator function."
3024
+ }
3025
+ ]
3026
+ },
3027
+ "rightOperand": {
3028
+ "allOf": [
3029
+ {
3030
+ "$ref": "#/components/schemas/rightOperand"
3031
+ },
3032
+ {
3033
+ "description": "rightOperand - Value for right side of composite equation; used only for 'composite' fn"
3034
+ }
3035
+ ]
3036
+ },
3037
+ "raw": {
3038
+ "type": "boolean",
3039
+ "description": "raw - Whether or not to send raw 'chart' data back from the 'column' configured. required for topxchart calls.",
3040
+ "default": false
3041
+ }
3042
+ }
3043
+ },
3044
+ "AuthenticationProtocol": {
3045
+ "title": "AuthenticationProtocol",
3046
+ "enum": [
3047
+ "NoAuth",
3048
+ "MD5",
3049
+ "SHA"
3050
+ ],
3051
+ "type": "string",
3052
+ "description": "AuthenticationProtocol - the auth protocol to use via SNMP v3"
3053
+ },
3054
+ "AuthenticationProtocol1": {
3055
+ "title": "AuthenticationProtocol1",
3056
+ "enum": [
3057
+ "NoAuth",
3058
+ "MD5",
3059
+ "SHA"
3060
+ ],
3061
+ "type": "string",
3062
+ "description": "AuthenticationProtocol - the auth protocol to use via SNMP v3"
3063
+ },
3064
+ "BGPType": {
3065
+ "title": "BGPType",
3066
+ "enum": [
3067
+ "none",
3068
+ "device",
3069
+ "other_device"
3070
+ ],
3071
+ "type": "string",
3072
+ "description": "device_bgp_type - Device bgp type. Valid values: \"none\" (use generic IP/ASN mapping), \"device\" (peer with the device itself), \"other_device\" (share routing table of existing peered device)"
3073
+ },
3074
+ "BGP": {
3075
+ "title": "BGP",
3076
+ "enum": [
3077
+ "none",
3078
+ "device",
3079
+ "other_device"
3080
+ ],
3081
+ "type": "string",
3082
+ "description": "device_bgp_type - Device bgp type. Valid values: \"none\" (use generic IP/ASN mapping), \"device\" (peer with the device itself), \"other_device\" (share routing table of existing peered device)"
3083
+ },
3084
+ "column": {
3085
+ "title": "column",
3086
+ "enum": [
3087
+ "f_sum_both_bytes",
3088
+ "f_sum_in_bytes",
3089
+ "f_sum_out_bytes",
3090
+ "f_sum_both_pkts",
3091
+ "f_sum_in_pkts",
3092
+ "f_sum_out_pkts",
3093
+ "f_sum_tcp_retransmit",
3094
+ "perc_retransmits",
3095
+ "f_sum_retransmitted_in_pkts",
3096
+ "perc_retransmits_in",
3097
+ "f_sum_ooorder_in_pkts",
3098
+ "perc_ooorder_in",
3099
+ "f_sum_fragments",
3100
+ "perc_fragments",
3101
+ "f_sum_client_nw_latency_ms",
3102
+ "trautocount",
3103
+ "f_sum_server_nw_latency_ms",
3104
+ "f_sum_appl_latency_ms",
3105
+ "f_countdistinct_ipv4_src_addr",
3106
+ "f_countdistinct_ipv4_dst_addr"
3107
+ ],
3108
+ "type": "string",
3109
+ "description": "column - The raw SQL column to use as the source for this aggregation."
3110
+ },
3111
+ "compositeFn": {
3112
+ "title": "compositeFn",
3113
+ "enum": [
3114
+ "sum",
3115
+ "subtract",
3116
+ "multiply",
3117
+ "divide"
3118
+ ],
3119
+ "type": "string",
3120
+ "description": "compositeFn - Operator function."
3121
+ },
3122
+ "connector": {
3123
+ "title": "connector",
3124
+ "enum": [
3125
+ "All",
3126
+ "Any"
3127
+ ],
3128
+ "type": "string",
3129
+ "description": "connector - An AND/OR switch."
3130
+ },
3131
+ "ContributeToCDNAttribution": {
3132
+ "title": "ContributeToCDNAttribution",
3133
+ "enum": [
3134
+ "Y",
3135
+ "N"
3136
+ ],
3137
+ "type": "string",
3138
+ "description": "cdn_attr - If this is a DNS server, you can contribute its queries to Kentik's CDN attribution database. Valid values: \"Y\" or \"N\". ** cdn_attr is required when the device subtype's parent type is \"host-nprobe-dns-www\""
3139
+ },
3140
+ "ContributeToCDNAttribution1": {
3141
+ "title": "ContributeToCDNAttribution1",
3142
+ "enum": [
3143
+ "Y",
3144
+ "N"
3145
+ ],
3146
+ "type": "string",
3147
+ "description": "cdn_attr - If this is a DNS server, you can contribute its queries to Kentik's CDN attribution database. Valid values: \"Y\" or \"N\". cdn_attr is ignored when the device subtype's parent type is not \"host-nprobe-dns-www\"."
3148
+ },
3149
+ "Device": {
3150
+ "title": "Device",
3151
+ "required": [
3152
+ "device_name",
3153
+ "device_subtype",
3154
+ "plan_id",
3155
+ "device_bgp_type"
3156
+ ],
3157
+ "type": "object",
3158
+ "properties": {
3159
+ "device_name": {
3160
+ "type": "string",
3161
+ "description": "device_name - The name of the device. Valid characters: alphanumeric and underscores. Length: min=4, max=60."
3162
+ },
3163
+ "device_subtype": {
3164
+ "allOf": [
3165
+ {
3166
+ "$ref": "#/components/schemas/Devicesubtype"
3167
+ },
3168
+ {
3169
+ "description": "device_subtype - The device subtype."
3170
+ }
3171
+ ]
3172
+ },
3173
+ "cdn_attr": {
3174
+ "allOf": [
3175
+ {
3176
+ "$ref": "#/components/schemas/ContributeToCDNAttribution"
3177
+ },
3178
+ {
3179
+ "description": "cdn_attr - If this is a DNS server, you can contribute its queries to Kentik's CDN attribution database. Valid values: \"Y\" or \"N\". ** cdn_attr is required when the device subtype's parent type is \"host-nprobe-dns-www\""
3180
+ }
3181
+ ]
3182
+ },
3183
+ "device_description": {
3184
+ "type": "string",
3185
+ "description": "device_description - The device description. Valid characters: any. Length: max=128."
3186
+ },
3187
+ "sending_ips": {
3188
+ "type": "array",
3189
+ "items": {
3190
+ "type": "string"
3191
+ },
3192
+ "description": "",
3193
+ "default": []
3194
+ },
3195
+ "device_sample_rate": {
3196
+ "type": "number",
3197
+ "description": "device_sample_rate - The rate at which the device is sampling flows. Valid values: integer bigger than 1. Recommended rate varies depending on flow volume; see https://kb.kentik.com/Ab02.htm#Ab02-Flow_Sampling. ** device_sample_rate is required when the device subtype's parent type is \"router\"."
3198
+ },
3199
+ "plan_id": {
3200
+ "type": "number",
3201
+ "description": "plan_id - The ID of the plan to which this device is assigned. Available plan(s) can be found via the Plans API. Valid value: integer."
3202
+ },
3203
+ "site_id": {
3204
+ "type": "number",
3205
+ "description": "site_id - The ID of the site (if any) to which this device is assigned. Site IDs are system generated when a site is created. Valid value: integer."
3206
+ },
3207
+ "minimize_snmp": {
3208
+ "type": "boolean",
3209
+ "description": "minimize_snmp - The interval at which SNMP will be polled. If \"false\" (Standard), interface counter will be polled every 10 minutes and interface description every 30 minutes. If \"true\" (Minimum) (Minimum), interface counter won't be polled and interface description will be polled every 6 hours. ** minimize_snmp is required when the device subtype's parent type is \"router\".",
3210
+ "default": false
3211
+ },
3212
+ "device_snmp_ip": {
3213
+ "type": "string",
3214
+ "description": "device_snmp_ip - The SNMP IP to use when polling the device. device_snmp_ip is ignored unless the device subtype's parent type is \"router\"."
3215
+ },
3216
+ "device_snmp_community": {
3217
+ "type": "string",
3218
+ "description": "device_snmp_community - The SNMP community to use when polling the device. device_snmp_community is ignored unless the device subtype's parent type is \"router\"."
3219
+ },
3220
+ "device_snmp_v3_conf": {
3221
+ "allOf": [
3222
+ {
3223
+ "$ref": "#/components/schemas/SNMPv3Authentication"
3224
+ },
3225
+ {
3226
+ "description": "device_snmp_v3_conf - Include this configuration to enable SNMP v3 authentication protocols. This supercedes SNMP Community."
3227
+ }
3228
+ ]
3229
+ },
3230
+ "device_bgp_type": {
3231
+ "allOf": [
3232
+ {
3233
+ "$ref": "#/components/schemas/BGP"
3234
+ },
3235
+ {
3236
+ "description": "device_bgp_type - Device bgp type. Valid values: \"none\" (use generic IP/ASN mapping), \"device\" (peer with the device itself), \"other_device\" (share routing table of existing peered device)"
3237
+ }
3238
+ ]
3239
+ },
3240
+ "device_bgp_neighbor_ip": {
3241
+ "type": "string",
3242
+ "description": "device_bgp_neighbor_ip - A valid IPv4 address to use for peering with the device. ** An IPv4 and/or IPv6 peering address is required when device_bgp_type is set to \"device\"."
3243
+ },
3244
+ "device_bgp_neighbor_ip6": {
3245
+ "type": "string",
3246
+ "description": "device_bgp_neighbor_ip6 - A valid IPv6 address to use for peering with the device. ** An IPv4 and/or IPv6 peering address is required when device_bgp_type is set to \"device\"."
3247
+ },
3248
+ "device_bgp_neighbor_asn": {
3249
+ "type": "string",
3250
+ "description": "device_bgp_neighbor_asn - The valid AS number (ASN) of the autonomous system that this device belongs to. ** device_bgp_neighbor_asn is required when device_bgp_type is set to \"device\"."
3251
+ },
3252
+ "device_bgp_password": {
3253
+ "type": "string",
3254
+ "description": "device_bgp_password - Optional BGP MD5 password (shared authentication password for BGP peering). Valid characters: alphanumeric. Length: 32. device_bgp_password is optional when device_bgp_type is set to \"device\"."
3255
+ },
3256
+ "use_bgp_device_id": {
3257
+ "type": "number",
3258
+ "description": "use_bgp_device_id - The ID of the device whose BGP table should be shared with this device. ** use_bgp_device_id is required when device_bgp_type is set to \"other_device\"). Valid value: a system-generated device_id."
3259
+ },
3260
+ "device_bgp_flowspec": {
3261
+ "type": "boolean",
3262
+ "description": "device_bgp_flowspec - Toggle BGP Flowspec Compatibility for device.",
3263
+ "default": false
3264
+ }
3265
+ }
3266
+ },
3267
+ "Devicesubtype": {
3268
+ "title": "Devicesubtype",
3269
+ "enum": [
3270
+ "router",
3271
+ "host-nprobe-dns-www",
3272
+ "aws-subnet",
3273
+ "azure_subnet",
3274
+ "cisco_asa",
3275
+ "gcp-subnet",
3276
+ "istio_beta",
3277
+ "open_nms",
3278
+ "paloalto",
3279
+ "silverpeak"
3280
+ ],
3281
+ "type": "string",
3282
+ "description": "device_subtype - The device subtype."
3283
+ },
3284
+ "Device1": {
3285
+ "title": "Device1",
3286
+ "required": [
3287
+ "device_sample_rate",
3288
+ "device_bgp_type"
3289
+ ],
3290
+ "type": "object",
3291
+ "properties": {
3292
+ "cdn_attr": {
3293
+ "allOf": [
3294
+ {
3295
+ "$ref": "#/components/schemas/ContributeToCDNAttribution1"
3296
+ },
3297
+ {
3298
+ "description": "cdn_attr - If this is a DNS server, you can contribute its queries to Kentik's CDN attribution database. Valid values: \"Y\" or \"N\". cdn_attr is ignored when the device subtype's parent type is not \"host-nprobe-dns-www\"."
3299
+ }
3300
+ ]
3301
+ },
3302
+ "device_description": {
3303
+ "type": "string",
3304
+ "description": "device_description - The device description. Valid characters: any. Length: max=128."
3305
+ },
3306
+ "sending_ips": {
3307
+ "type": "array",
3308
+ "items": {
3309
+ "type": "string"
3310
+ },
3311
+ "description": ""
3312
+ },
3313
+ "device_sample_rate": {
3314
+ "type": "number",
3315
+ "description": "device_sample_rate - The rate at which the device is sampling flows. Valid values: integer bigger than 1. Recommended rate varies depending on flow volume; see https://kb.kentik.com/Ab02.htm#Ab02-Flow_Sampling. device_sample_rate is ignored unless the device subtype's parent type is \"router\"."
3316
+ },
3317
+ "plan_id": {
3318
+ "type": "number",
3319
+ "description": "plan_id - The ID of the plan to which this device is assigned. Available plan(s) can be found via the Plans API. Valid value: integer."
3320
+ },
3321
+ "site_id": {
3322
+ "type": "number",
3323
+ "description": "site_id - The ID of the site (if any) to which this device is assigned. Site IDs are system generated when a site is created. Valid value: integer."
3324
+ },
3325
+ "minimize_snmp": {
3326
+ "type": "boolean",
3327
+ "description": "minimize_snmp - The interval at which SNMP will be polled. If \"false\" (Standard), interface counter will be polled every 10 minutes and interface description every 30 minutes. If \"true\" (Minimum) (Minimum), interface counter won't be polled and interface description will be polled every 6 hours. minimize_snmp is ignored unless parent type is \"router\"."
3328
+ },
3329
+ "device_snmp_ip": {
3330
+ "type": "string",
3331
+ "description": "device_snmp_ip - The SNMP IP to use when polling the device. device_snmp_ip is ignored unless parent type is \"router\"."
3332
+ },
3333
+ "device_snmp_community": {
3334
+ "type": "string",
3335
+ "description": "device_snmp_community - The SNMP community to use when polling the device. device_snmp_community is ignored unless parent type is \"router\"."
3336
+ },
3337
+ "device_snmp_v3_conf": {
3338
+ "allOf": [
3339
+ {
3340
+ "$ref": "#/components/schemas/SNMPv3Authentication1"
3341
+ },
3342
+ {
3343
+ "description": "device_snmp_v3_conf - Include this configuration to enable SNMP v3 authentication protocols. This supercedes SNMP Community."
3344
+ }
3345
+ ]
3346
+ },
3347
+ "device_bgp_type": {
3348
+ "allOf": [
3349
+ {
3350
+ "$ref": "#/components/schemas/BGPType"
3351
+ },
3352
+ {
3353
+ "description": "device_bgp_type - Device bgp type. Valid values: \"none\" (use generic IP/ASN mapping), \"device\" (peer with the device itself), \"other_device\" (share routing table of existing peered device)"
3354
+ }
3355
+ ]
3356
+ },
3357
+ "device_bgp_neighbor_ip": {
3358
+ "type": "string",
3359
+ "description": "device_bgp_neighbor_ip - A valid IPv4 address to use for peering with the device. device_bgp_neighbor_ip is ignored unless device_bgp_type is set to \"device\"."
3360
+ },
3361
+ "device_bgp_neighbor_ip6": {
3362
+ "type": "string",
3363
+ "description": "device_bgp_neighbor_ip6 - A valid IPv6 address to use for peering with the device. device_bgp_neighbor_ip6 is ignored unless device_bgp_type is set to \"device\"."
3364
+ },
3365
+ "device_bgp_neighbor_asn": {
3366
+ "type": "string",
3367
+ "description": "device_bgp_neighbor_asn - The valid AS number (ASN) of the autonomous system that this device belongs to. device_bgp_neighbor_asn is ignored unless device_bgp_type is set to \"device\"."
3368
+ },
3369
+ "device_bgp_password": {
3370
+ "type": "string",
3371
+ "description": "device_bgp_password - Optional BGP MD5 password (shared authentication password for BGP peering). Valid characters: alphanumeric. Length: 32. device_bgp_password is ignored unless device_bgp_type is set to \"device\"."
3372
+ },
3373
+ "use_bgp_device_id": {
3374
+ "type": "number",
3375
+ "description": "use_bgp_device_id - The ID of the device whose BGP table should be shared with this device. ** use_bgp_device_id is required when device_bgp_type is set to \"other_device\"). Valid value: a system-generated device_id."
3376
+ },
3377
+ "device_bgp_flowspec": {
3378
+ "type": "boolean",
3379
+ "description": "device_bgp_flowspec - Toggle BGP Flowspec Compatibility for device.",
3380
+ "default": false
3381
+ }
3382
+ }
3383
+ },
3384
+ "dimension": {
3385
+ "title": "dimension",
3386
+ "enum": [
3387
+ "AS_src",
3388
+ "Geography_src",
3389
+ "InterfaceID_src",
3390
+ "Port_src",
3391
+ "src_eth_mac",
3392
+ "VLAN_src",
3393
+ "IP_src",
3394
+ "AS_dst",
3395
+ "Geography_dst",
3396
+ "InterfaceID_dst",
3397
+ "Port_dst",
3398
+ "dst_eth_mac",
3399
+ "VLAN_dst",
3400
+ "IP_dst",
3401
+ "TopFlow",
3402
+ "Proto",
3403
+ "Traffic",
3404
+ "ASTopTalkers",
3405
+ "InterfaceTopTalkers",
3406
+ "PortPortTalkers",
3407
+ "TopFlowsIP",
3408
+ "src_geo_region",
3409
+ "src_geo_city",
3410
+ "dst_geo_region",
3411
+ "dst_geo_city",
3412
+ "RegionTopTalkers",
3413
+ "i_device_id",
3414
+ "i_device_site_name",
3415
+ "src_route_prefix_len",
3416
+ "src_route_length",
3417
+ "src_bgp_community",
3418
+ "src_bgp_aspath",
3419
+ "src_nexthop_ip",
3420
+ "src_nexthop_asn",
3421
+ "src_second_asn",
3422
+ "src_third_asn",
3423
+ "src_proto_port",
3424
+ "dst_route_prefix_len",
3425
+ "dst_route_length",
3426
+ "dst_bgp_community",
3427
+ "dst_bgp_aspath",
3428
+ "dst_nexthop_ip",
3429
+ "dst_nexthop_asn",
3430
+ "dst_second_asn",
3431
+ "dst_third_asn",
3432
+ "dst_proto_port",
3433
+ "inet_family",
3434
+ "TOS",
3435
+ "tcp_flags"
3436
+ ],
3437
+ "type": "string",
3438
+ "description": "dimension - A field by which to aggregate results. (NOTE: you may also use a custom dimension name here -- but not available in this tester)."
3439
+ },
3440
+ "Direction": {
3441
+ "title": "Direction",
3442
+ "enum": [
3443
+ "src",
3444
+ "dst",
3445
+ "either"
3446
+ ],
3447
+ "type": "string",
3448
+ "description": "direction - The direction of the populator. Valid values: \"src\", \"dst\", or \"either\"."
3449
+ },
3450
+ "fastData": {
3451
+ "title": "fastData",
3452
+ "enum": [
3453
+ "Auto",
3454
+ "Fast",
3455
+ "Full"
3456
+ ],
3457
+ "type": "string",
3458
+ "description": "fastData - Overrides the default setting for the dataset on which to run the query. See https://www.kentik.com/KB/?Ab04.htm#Ab04-Query_Dataset_Selection."
3459
+ },
3460
+ "filtergroup": {
3461
+ "title": "filtergroup",
3462
+ "required": [
3463
+ "connector"
3464
+ ],
3465
+ "type": "object",
3466
+ "properties": {
3467
+ "connector": {
3468
+ "allOf": [
3469
+ {
3470
+ "$ref": "#/components/schemas/connector"
3471
+ },
3472
+ {
3473
+ "description": "connector - An AND/OR switch."
3474
+ }
3475
+ ]
3476
+ },
3477
+ "filters": {
3478
+ "type": "array",
3479
+ "items": {
3480
+ "$ref": "#/components/schemas/filter"
3481
+ },
3482
+ "description": "filters - //"
3483
+ },
3484
+ "not": {
3485
+ "type": "boolean",
3486
+ "description": "not - Whether or not to NOT() the filter group.",
3487
+ "default": false
3488
+ }
3489
+ }
3490
+ },
3491
+ "filter": {
3492
+ "title": "filter",
3493
+ "required": [
3494
+ "filterField",
3495
+ "operator"
3496
+ ],
3497
+ "type": "object",
3498
+ "properties": {
3499
+ "filterField": {
3500
+ "allOf": [
3501
+ {
3502
+ "$ref": "#/components/schemas/filterField"
3503
+ },
3504
+ {
3505
+ "description": "filterField - A field operand."
3506
+ }
3507
+ ]
3508
+ },
3509
+ "operator": {
3510
+ "allOf": [
3511
+ {
3512
+ "$ref": "#/components/schemas/operator"
3513
+ },
3514
+ {
3515
+ "description": "operator - An operator."
3516
+ }
3517
+ ]
3518
+ },
3519
+ "filterValue": {
3520
+ "type": "string",
3521
+ "description": "filterValue - An operand input by the user."
3522
+ }
3523
+ }
3524
+ },
3525
+ "filterField": {
3526
+ "title": "filterField",
3527
+ "enum": [
3528
+ "src_geo",
3529
+ "src_geo_region",
3530
+ "src_geo_city",
3531
+ "src_as",
3532
+ "src_flow_tags",
3533
+ "l4_src_port",
3534
+ "vlan_in",
3535
+ "src_eth_mac",
3536
+ "inet_src_addr",
3537
+ "input_port",
3538
+ "i_input_snmp_alias",
3539
+ "i_input_interface_description",
3540
+ "ipv4_src_route_prefix",
3541
+ "src_route_length",
3542
+ "src_bgp_aspath",
3543
+ "src_bgp_community",
3544
+ "ipv4_src_next_hop",
3545
+ "src_nexthop_as",
3546
+ "src_second_asn",
3547
+ "src_third_asn",
3548
+ "dst_geo",
3549
+ "dst_geo_region",
3550
+ "dst_geo_city",
3551
+ "dst_as",
3552
+ "dst_flow_tags",
3553
+ "l4_dst_port",
3554
+ "vlan_out",
3555
+ "dst_eth_mac",
3556
+ "inet_dst_addr",
3557
+ "output_port",
3558
+ "i_output_snmp_alias",
3559
+ "i_output_interface_description",
3560
+ "ipv4_dst_route_prefix",
3561
+ "dst_route_length",
3562
+ "dst_bgp_aspath",
3563
+ "dst_bgp_community",
3564
+ "ipv4_dst_next_hop",
3565
+ "dst_nexthop_as",
3566
+ "dst_second_asn",
3567
+ "dst_third_asn",
3568
+ "tcp_flags",
3569
+ "tcp_flags_raw",
3570
+ "protocol",
3571
+ "i_device_name",
3572
+ "both_pkts",
3573
+ "tcp_retransmit",
3574
+ "tos"
3575
+ ],
3576
+ "type": "string",
3577
+ "description": "filterField - A field operand."
3578
+ },
3579
+ "filters": {
3580
+ "title": "filters",
3581
+ "required": [
3582
+ "connector",
3583
+ "filterGroups"
3584
+ ],
3585
+ "type": "object",
3586
+ "properties": {
3587
+ "connector": {
3588
+ "allOf": [
3589
+ {
3590
+ "$ref": "#/components/schemas/connector"
3591
+ },
3592
+ {
3593
+ "description": "connector - An AND/OR switch."
3594
+ }
3595
+ ]
3596
+ },
3597
+ "filterGroups": {
3598
+ "type": "array",
3599
+ "items": {
3600
+ "$ref": "#/components/schemas/filtergroup"
3601
+ },
3602
+ "description": ""
3603
+ }
3604
+ },
3605
+ "description": "filters - //"
3606
+ },
3607
+ "filters_obj": {
3608
+ "title": "filters_obj",
3609
+ "required": [
3610
+ "connector",
3611
+ "filterGroups"
3612
+ ],
3613
+ "type": "object",
3614
+ "properties": {
3615
+ "connector": {
3616
+ "allOf": [
3617
+ {
3618
+ "$ref": "#/components/schemas/connector"
3619
+ },
3620
+ {
3621
+ "description": "connector - An AND/OR switch."
3622
+ }
3623
+ ]
3624
+ },
3625
+ "filterGroups": {
3626
+ "type": "array",
3627
+ "items": {
3628
+ "$ref": "#/components/schemas/filtergroup"
3629
+ },
3630
+ "description": ""
3631
+ }
3632
+ },
3633
+ "description": "filters_obj - //"
3634
+ },
3635
+ "fn": {
3636
+ "title": "fn",
3637
+ "enum": [
3638
+ "sum",
3639
+ "average",
3640
+ "percentile",
3641
+ "max",
3642
+ "composite",
3643
+ "exponent",
3644
+ "modulus",
3645
+ "greaterThan",
3646
+ "greaterThanEquals",
3647
+ "lessThan",
3648
+ "lessThanEquals",
3649
+ "equals",
3650
+ "notEquals"
3651
+ ],
3652
+ "type": "string",
3653
+ "description": "fn - Aggregation function you want to run against 'column'."
3654
+ },
3655
+ "imageType": {
3656
+ "title": "imageType",
3657
+ "enum": [
3658
+ "pdf",
3659
+ "png",
3660
+ "jpg",
3661
+ "svg"
3662
+ ],
3663
+ "type": "string",
3664
+ "description": "imageType - Type of image"
3665
+ },
3666
+ "KentikPortalVersion": {
3667
+ "title": "KentikPortalVersion",
3668
+ "enum": [
3669
+ 2,
3670
+ 3,
3671
+ 4
3672
+ ],
3673
+ "type": "integer",
3674
+ "description": "Generates a URL for a particular version of Kentik"
3675
+ },
3676
+ "Labelid": {
3677
+ "title": "Labelid",
3678
+ "type": "object",
3679
+ "properties": {
3680
+ "id": {
3681
+ "type": "number",
3682
+ "description": "id - Label id to be applied to the device."
3683
+ }
3684
+ }
3685
+ },
3686
+ "metric": {
3687
+ "title": "metric",
3688
+ "enum": [
3689
+ "bytes",
3690
+ "in_bytes",
3691
+ "out_bytes",
3692
+ "packets",
3693
+ "in_packets",
3694
+ "out_packets",
3695
+ "tcp_retransmit",
3696
+ "perc_retransmit",
3697
+ "retransmits_in",
3698
+ "perc_retransmits_in",
3699
+ "out_of_order_in",
3700
+ "perc_out_of_order_in",
3701
+ "fragments",
3702
+ "perc_fragments",
3703
+ "client_latency",
3704
+ "server_latency",
3705
+ "appl_latency",
3706
+ "fps",
3707
+ "unique_src_ip",
3708
+ "unique_dst_ip"
3709
+ ],
3710
+ "type": "string",
3711
+ "description": "metric - Unit of measure, e.g. bytes, packets, etc."
3712
+ },
3713
+ "operator": {
3714
+ "title": "operator",
3715
+ "enum": [
3716
+ "=",
3717
+ "<>",
3718
+ "ILIKE",
3719
+ "NOT ILIKE",
3720
+ "~",
3721
+ "!~",
3722
+ ">",
3723
+ "<",
3724
+ "&"
3725
+ ],
3726
+ "type": "string",
3727
+ "description": "operator - An operator."
3728
+ },
3729
+ "Populator": {
3730
+ "title": "Populator",
3731
+ "required": [
3732
+ "value",
3733
+ "direction"
3734
+ ],
3735
+ "type": "object",
3736
+ "properties": {
3737
+ "value": {
3738
+ "type": "string",
3739
+ "description": "value - The value of the dimension. When the custom dimension's type is \"string\" - Valid characters: alphanumeric, spaces, dashes and underscores. Length: min=1, max=128. When the custom dimension's type is \"uint32\" - Valid values: min=0, max=4294967295."
3740
+ },
3741
+ "direction": {
3742
+ "allOf": [
3743
+ {
3744
+ "$ref": "#/components/schemas/Direction"
3745
+ },
3746
+ {
3747
+ "description": "direction - The direction of the populator. Valid values: \"src\", \"dst\", or \"either\"."
3748
+ }
3749
+ ]
3750
+ },
3751
+ "device_name": {
3752
+ "type": "string",
3753
+ "description": "device_name - A comma-separated list of device names, IPs, or regular expressions. A match results when any specified device name matches the device name or IP address associated with a device sending flow data."
3754
+ },
3755
+ "device_type": {
3756
+ "type": "string",
3757
+ "description": "device_type - A comma-separated list of device types or regular expressions. A match results when any specified device type matches the device_type associated with a device sending flow data."
3758
+ },
3759
+ "site": {
3760
+ "type": "string",
3761
+ "description": "site - A comma-separated list of sites or regular expressions. A match results when any specified site matches the site associated with a device sending flow data."
3762
+ },
3763
+ "interface_name": {
3764
+ "type": "string",
3765
+ "description": "interface_name - A comma-separated list of interface names or regular expressions. A match results when any specified interface name matches the name or description of an interface sending flow data."
3766
+ },
3767
+ "addr": {
3768
+ "type": "string",
3769
+ "description": "addr - A comma-separated list of IP addresses in IP/CIDR format. A match results when any specified IP address corresponds to a range of IP addresses in incoming flow. It allows IPv6 CIDRs. 'short form' (e.g. 1::2/127) is allowed. If no CIDRs are specified in a tag, the tag will be matched against both incoming IPv4 and v6 flows. If CIDRs are given, the tag will only be matched against the given type of flow; in particular, if you only give IPv4 CIDRs, the tag will not match any IPv6 flows, and vice versa."
3770
+ },
3771
+ "port": {
3772
+ "type": "string",
3773
+ "description": "port - A comma-separated list of number of ports (between 0 and 65535). A match results when any specified port matches a port number in incoming flow."
3774
+ },
3775
+ "tcp_flags": {
3776
+ "type": "string",
3777
+ "description": "tcp_flags - An integer number between 0 and 255 representing an 8-bit binary bit pattern corresponding to TCP flags. A match will result if the value in both the flow bit pattern and the bitmask is 1 at any of the eight places."
3778
+ },
3779
+ "protocol": {
3780
+ "type": "string",
3781
+ "description": "protocol - A comma-separated list of protocol numbers (between 0 and 255). A match results when any specified protocol number is the same as the protocol of the traffic represented by the flow."
3782
+ },
3783
+ "asn": {
3784
+ "type": "string",
3785
+ "description": "asn - A comma-separated list of ASNs (between 1 and 2^32-1=4294967295). A match results when any specified ASN is the same as the last ASN in the path in the routing table for either the source (SRC IP) or destination (DST IP)."
3786
+ },
3787
+ "lasthop_as_name": {
3788
+ "type": "string",
3789
+ "description": "lasthop_as_name - A comma-separated list of AS Names or regular expressions. A match results when any specified AS Name represents the name corresponding to the last ASN in the path in the routing table for either the source (SRC IP) or destination (DST IP)."
3790
+ },
3791
+ "nexthop_asn": {
3792
+ "type": "string",
3793
+ "description": "nexthop_asn - A comma-separated list of ASNs (between 1 and 2^32-1=4294967295). A match results when any specified ASN is the same as the ASN of the next hop router based on AS path."
3794
+ },
3795
+ "nexthop_as_name": {
3796
+ "type": "string",
3797
+ "description": "nexthop_as_name - A comma-separated list of AS Names or regular expressions. A match results when any specified ASN represents the name corresponding to the ASN of the next hop router based on AS path."
3798
+ },
3799
+ "nexthop": {
3800
+ "type": "string",
3801
+ "description": "nexthop - A comma-separated list of IPv4 and/or IPv6 CIDRs. A match results when any specified IP is within a range of specified IPv4 and/or IPv6 CIDRs."
3802
+ },
3803
+ "bgp_aspath": {
3804
+ "type": "string",
3805
+ "description": "bgp_aspath - A comma-separated list of numbers representing bgp aspath. A match results when any specified value is the same as the BGP AS-PATH in the route. Example: \"^3737 1212,_7801_,2906$\" would look for any of those 3 combinations in the AS path. Permitted characters []*:_^$.0123456789()+?,space-"
3806
+ },
3807
+ "bgp_community": {
3808
+ "type": "string",
3809
+ "description": "bgp_community - A comma-separated list of numbers or regular expression representing BGP community (i.e. 2096:2212). A match results when any specified value is the same as the BGP community of the BGP route associated with incoming flow data. Permitted characters []*:_^$.0123456789()+?,space-"
3810
+ },
3811
+ "mac": {
3812
+ "type": "string",
3813
+ "description": "mac - A comma-separated list of MAC Addresses. A match results when any specified MAC Address matches source or destination Ethernet (L2) address."
3814
+ },
3815
+ "country": {
3816
+ "type": "string",
3817
+ "description": "country - A comma-separated list of two-character country codes. A match results when any specified country code matches source or destination country of the flow."
3818
+ },
3819
+ "vlans": {
3820
+ "type": "string",
3821
+ "description": "vlans - A comma delimited list of integers or ranges of integers between 0 and 4095."
3822
+ }
3823
+ }
3824
+ },
3825
+ "PrivacyProtocol": {
3826
+ "title": "PrivacyProtocol",
3827
+ "enum": [
3828
+ "NoPriv",
3829
+ "DES",
3830
+ "AES"
3831
+ ],
3832
+ "type": "string",
3833
+ "description": "PrivacyProtocol - the privacy protocol to use to authenticate via SNMP v3"
3834
+ },
3835
+ "PrivacyProtocol1": {
3836
+ "title": "PrivacyProtocol1",
3837
+ "enum": [
3838
+ "NoPriv",
3839
+ "DES",
3840
+ "AES"
3841
+ ],
3842
+ "type": "string",
3843
+ "description": "PrivacyProtocol - the privacy protocol to use to authenticate via SNMP v3"
3844
+ },
3845
+ "query": {
3846
+ "title": "query",
3847
+ "type": "object",
3848
+ "properties": {
3849
+ "query": {
3850
+ "allOf": [
3851
+ {
3852
+ "$ref": "#/components/schemas/query1"
3853
+ },
3854
+ {
3855
+ "description": "query - Query object."
3856
+ }
3857
+ ]
3858
+ },
3859
+ "bucket": {
3860
+ "type": "string",
3861
+ "description": "bucket - Name of 'bucket' to return data. A bucket runs all queries simultaneously. Queries not at bucketIndex 0 inherit certain values from the query at bucketIndex 0."
3862
+ },
3863
+ "bucketIndex": {
3864
+ "type": "number",
3865
+ "description": "bucketIndex - A bucket index. Valid value: digit 0 or greater than 0."
3866
+ }
3867
+ }
3868
+ },
3869
+ "query1": {
3870
+ "title": "query1",
3871
+ "required": [
3872
+ "dimension",
3873
+ "metric",
3874
+ "topx",
3875
+ "depth",
3876
+ "fastData",
3877
+ "outsort",
3878
+ "lookback_seconds",
3879
+ "time_format",
3880
+ "device_name"
3881
+ ],
3882
+ "type": "object",
3883
+ "properties": {
3884
+ "dimension": {
3885
+ "type": "array",
3886
+ "items": {
3887
+ "$ref": "#/components/schemas/dimension"
3888
+ },
3889
+ "description": ""
3890
+ },
3891
+ "cidr": {
3892
+ "type": "number",
3893
+ "description": "cidr - A CIDR filter to use on IP queries, such as when grouping by dest_ip/24. See https://www.kentik.com/KB/?Eb02.htm#Eb02-CIDRrelated_Subqueries. Valid values: digit between 0 and 32."
3894
+ },
3895
+ "cidr6": {
3896
+ "type": "number",
3897
+ "description": "cidr6 - A CIDR6 filter to use on IP queries. Valid values: digit between 0 and 128."
3898
+ },
3899
+ "pps_threshold": {
3900
+ "type": "number",
3901
+ "description": "pps_threshold - The minimum packets per second required to match flow (used in conjunction with metrics like retransmits, out of order, etc). Valid value: digit greater than 0."
3902
+ },
3903
+ "metric": {
3904
+ "allOf": [
3905
+ {
3906
+ "$ref": "#/components/schemas/metric"
3907
+ },
3908
+ {
3909
+ "description": "metric - Unit of measure, e.g. bytes, packets, etc."
3910
+ }
3911
+ ]
3912
+ },
3913
+ "topx": {
3914
+ "type": "number",
3915
+ "description": "topx - The number of results you want to see on your chart / get chart data for. Valid value: digit between 1 and 40."
3916
+ },
3917
+ "depth": {
3918
+ "type": "number",
3919
+ "description": "depth - The number of rows you want to retrieve (topX but aggregates only). Valid value: digit between 25 and 250."
3920
+ },
3921
+ "fastData": {
3922
+ "allOf": [
3923
+ {
3924
+ "$ref": "#/components/schemas/fastData"
3925
+ },
3926
+ {
3927
+ "description": "fastData - Overrides the default setting for the dataset on which to run the query. See https://www.kentik.com/KB/?Ab04.htm#Ab04-Query_Dataset_Selection."
3928
+ }
3929
+ ]
3930
+ },
3931
+ "outsort": {
3932
+ "type": "string",
3933
+ "description": "outsort - This maps to an aggregate name (see aggregates below). Common ones are: 'avg', 'sum', 'max', 'p95th'; what aggregate column to sort the results by to produce a topx/depth."
3934
+ },
3935
+ "lookback_seconds": {
3936
+ "type": "number",
3937
+ "description": "lookback_seconds - The time period to look back from present, e.g. for time span of last 2 hours, set to 7200. If you want starting_time/ending_time to take effect, you MUST set lookback_seconds to zero."
3938
+ },
3939
+ "time_format": {
3940
+ "allOf": [
3941
+ {
3942
+ "$ref": "#/components/schemas/timeformat"
3943
+ },
3944
+ {
3945
+ "description": "time_format - The time zone in which times are expressed, either UTC or local."
3946
+ }
3947
+ ]
3948
+ },
3949
+ "hostname_lookup": {
3950
+ "type": "boolean",
3951
+ "description": "hostname_lookup - Allow DNS lookup when checked (true). Queries against IP dimensions will run faster without allowing DNS lookup.",
3952
+ "default": true
3953
+ },
3954
+ "starting_time": {
3955
+ "type": "string",
3956
+ "description": "starting_time - The fixed start time of the query time-span, e.g. 'YYYY-MM-DD HH:mm:00'. If you want starting_time/ending_time to take effect, you MUST set lookback_seconds to zero."
3957
+ },
3958
+ "ending_time": {
3959
+ "type": "string",
3960
+ "description": "ending_time - The fixed ending time of the query time-span, e.g. 'YYYY-MM-DD HH:mm:00'. If you want starting_time/ending_time to take effect, you MUST set lookback_seconds to zero."
3961
+ },
3962
+ "device_name": {
3963
+ "type": "string",
3964
+ "description": "device_name - Sets the device against which to query. Multiple devices can be set using comma delimited string."
3965
+ },
3966
+ "all_selected": {
3967
+ "type": "boolean",
3968
+ "description": "all_selected - Whether or not you want us to query against all of your devices (if true, we ignore device_name)",
3969
+ "default": false
3970
+ },
3971
+ "filters_obj": {
3972
+ "allOf": [
3973
+ {
3974
+ "$ref": "#/components/schemas/filters_obj"
3975
+ },
3976
+ {
3977
+ "description": "filters_obj - //"
3978
+ }
3979
+ ]
3980
+ },
3981
+ "saved_filters": {
3982
+ "type": "array",
3983
+ "items": {
3984
+ "$ref": "#/components/schemas/saved_filter"
3985
+ },
3986
+ "description": "saved_filters - //"
3987
+ },
3988
+ "descriptor": {
3989
+ "type": "string",
3990
+ "description": "descriptor - This effects the 'name' column returned when using the 'Traffic' dimension"
3991
+ },
3992
+ "aggregates": {
3993
+ "type": "array",
3994
+ "items": {
3995
+ "$ref": "#/components/schemas/aggregate"
3996
+ },
3997
+ "description": ""
3998
+ }
3999
+ },
4000
+ "description": "query - Query object."
4001
+ },
4002
+ "query3": {
4003
+ "title": "query3",
4004
+ "required": [
4005
+ "dimension",
4006
+ "metric",
4007
+ "topx",
4008
+ "depth",
4009
+ "fastData",
4010
+ "outsort",
4011
+ "lookback_seconds",
4012
+ "device_name"
4013
+ ],
4014
+ "type": "object",
4015
+ "properties": {
4016
+ "dimension": {
4017
+ "type": "array",
4018
+ "items": {
4019
+ "$ref": "#/components/schemas/dimension"
4020
+ },
4021
+ "description": ""
4022
+ },
4023
+ "cidr": {
4024
+ "type": "number",
4025
+ "description": "cidr - A CIDR filter to use on IP queries, such as when grouping by dest_ip/24. See https://www.kentik.com/KB/?Eb02.htm#Eb02-CIDRrelated_Subqueries. Valid values: digit between 0 and 32."
4026
+ },
4027
+ "cidr6": {
4028
+ "type": "number",
4029
+ "description": "cidr6 - A CIDR6 filter to use on IP queries. Valid values: digit between 0 and 128."
4030
+ },
4031
+ "pps_threshold": {
4032
+ "type": "number",
4033
+ "description": "pps_threshold - The minimum packets per second required to match flow (used in conjunction with metrics like retransmits, out of order, etc). Valid value: digit greater than 0."
4034
+ },
4035
+ "metric": {
4036
+ "allOf": [
4037
+ {
4038
+ "$ref": "#/components/schemas/metric"
4039
+ },
4040
+ {
4041
+ "description": "metric - Unit of measure, e.g. bytes, packets, etc."
4042
+ }
4043
+ ]
4044
+ },
4045
+ "topx": {
4046
+ "type": "number",
4047
+ "description": "topx - The number of results you want to see on your chart / get chart data for. Valid value: digit between 1 and 40."
4048
+ },
4049
+ "depth": {
4050
+ "type": "number",
4051
+ "description": "depth - The number of rows you want to retrieve (topX but aggregates only). Valid value: digit between 25 and 250."
4052
+ },
4053
+ "fastData": {
4054
+ "allOf": [
4055
+ {
4056
+ "$ref": "#/components/schemas/fastData"
4057
+ },
4058
+ {
4059
+ "description": "fastData - Overrides the default setting for the dataset on which to run the query. See https://www.kentik.com/KB/?Ab04.htm#Ab04-Query_Dataset_Selection."
4060
+ }
4061
+ ]
4062
+ },
4063
+ "outsort": {
4064
+ "type": "string",
4065
+ "description": "outsort - This maps to an aggregate name (see aggregates below). Common ones are: 'avg', 'sum', 'max', 'p95th'; what aggregate column to sort the results by to produce a topx/depth."
4066
+ },
4067
+ "lookback_seconds": {
4068
+ "type": "number",
4069
+ "description": "lookback_seconds - The time period to look back from present, e.g. for time span of last 2 hours, set to 7200. If you want starting_time/ending_time to take effect, you MUST set lookback_seconds to zero."
4070
+ },
4071
+ "hostname_lookup": {
4072
+ "type": "boolean",
4073
+ "description": "hostname_lookup - Allow DNS lookup when checked (true). Queries against IP dimensions will run faster without allowing DNS lookup.",
4074
+ "default": true
4075
+ },
4076
+ "starting_time": {
4077
+ "type": "string",
4078
+ "description": "starting_time - The fixed start time of the query time-span, e.g. 'YYYY-MM-DD HH:mm:00'. If you want starting_time/ending_time to take effect, you MUST set lookback_seconds to zero."
4079
+ },
4080
+ "ending_time": {
4081
+ "type": "string",
4082
+ "description": "ending_time - The fixed ending time of the query time-span, e.g. 'YYYY-MM-DD HH:mm:00'. If you want starting_time/ending_time to take effect, you MUST set lookback_seconds to zero."
4083
+ },
4084
+ "device_name": {
4085
+ "type": "string",
4086
+ "description": "device_name - Sets the device against which to query. Multiple devices can be set using comma delimited string."
4087
+ },
4088
+ "all_selected": {
4089
+ "type": "boolean",
4090
+ "description": "all_selected - Whether or not you want us to query against all of your devices (if true, we ignore device_name)",
4091
+ "default": false
4092
+ },
4093
+ "filters_obj": {
4094
+ "allOf": [
4095
+ {
4096
+ "$ref": "#/components/schemas/filters_obj"
4097
+ },
4098
+ {
4099
+ "description": "filters_obj - //"
4100
+ }
4101
+ ]
4102
+ },
4103
+ "saved_filters": {
4104
+ "type": "array",
4105
+ "items": {
4106
+ "$ref": "#/components/schemas/saved_filter"
4107
+ },
4108
+ "description": "saved_filters - //"
4109
+ },
4110
+ "descriptor": {
4111
+ "type": "string",
4112
+ "description": "descriptor - This effects the 'name' column returned when using the 'Traffic' dimension"
4113
+ },
4114
+ "aggregates": {
4115
+ "type": "array",
4116
+ "items": {
4117
+ "$ref": "#/components/schemas/aggregate"
4118
+ },
4119
+ "description": ""
4120
+ }
4121
+ },
4122
+ "description": "query - Query object."
4123
+ },
4124
+ "query5": {
4125
+ "title": "query5",
4126
+ "required": [
4127
+ "dimension",
4128
+ "metric",
4129
+ "topx",
4130
+ "depth",
4131
+ "fastData",
4132
+ "outsort",
4133
+ "lookback_seconds",
4134
+ "device_name"
4135
+ ],
4136
+ "type": "object",
4137
+ "properties": {
4138
+ "viz_type": {
4139
+ "type": "string",
4140
+ "description": "viz_type - The chart type."
4141
+ },
4142
+ "show_overlay": {
4143
+ "type": "boolean",
4144
+ "description": "show_overlay - Whether or not to show a historical overlay (if supported by viz_type)",
4145
+ "default": false
4146
+ },
4147
+ "overlay_day": {
4148
+ "type": "number",
4149
+ "description": "overlay_day - Number of days to lookback for historical overlay."
4150
+ },
4151
+ "sync_axes": {
4152
+ "type": "boolean",
4153
+ "description": "sync_axes - For use with multiple data series; whether or not you want left and right axes scales to be synced.",
4154
+ "default": false
4155
+ },
4156
+ "dimension": {
4157
+ "type": "array",
4158
+ "items": {
4159
+ "$ref": "#/components/schemas/dimension"
4160
+ },
4161
+ "description": ""
4162
+ },
4163
+ "cidr": {
4164
+ "type": "number",
4165
+ "description": "cidr - A CIDR filter to use on IP queries, such as when grouping by dest_ip/24. See https://www.kentik.com/KB/?Eb02.htm#Eb02-CIDRrelated_Subqueries. Valid values: digit between 0 and 32."
4166
+ },
4167
+ "cidr6": {
4168
+ "type": "number",
4169
+ "description": "cidr6 - A CIDR6 filter to use on IP queries. Valid values: digit between 0 and 128."
4170
+ },
4171
+ "pps_threshold": {
4172
+ "type": "number",
4173
+ "description": "pps_threshold - The minimum packets per second required to match flow (used in conjunction with metrics like retransmits, out of order, etc). Valid value: digit greater than 0."
4174
+ },
4175
+ "metric": {
4176
+ "allOf": [
4177
+ {
4178
+ "$ref": "#/components/schemas/metric"
4179
+ },
4180
+ {
4181
+ "description": "metric - Unit of measure, e.g. bytes, packets, etc."
4182
+ }
4183
+ ]
4184
+ },
4185
+ "topx": {
4186
+ "type": "number",
4187
+ "description": "topx - The number of results you want to see on your chart / get chart data for. Valid value: digit between 1 and 40."
4188
+ },
4189
+ "depth": {
4190
+ "type": "number",
4191
+ "description": "depth - The number of rows you want to retrieve (topX but aggregates only). Valid value: digit between 25 and 250."
4192
+ },
4193
+ "fastData": {
4194
+ "allOf": [
4195
+ {
4196
+ "$ref": "#/components/schemas/fastData"
4197
+ },
4198
+ {
4199
+ "description": "fastData - Overrides the default setting for the dataset on which to run the query. See https://www.kentik.com/KB/?Ab04.htm#Ab04-Query_Dataset_Selection."
4200
+ }
4201
+ ]
4202
+ },
4203
+ "outsort": {
4204
+ "type": "string",
4205
+ "description": "outsort - This maps to an aggregate name (see aggregates below). Common ones are: 'avg', 'sum', 'max', 'p95th'; what aggregate column to sort the results by to produce a topx/depth."
4206
+ },
4207
+ "lookback_seconds": {
4208
+ "type": "number",
4209
+ "description": "lookback_seconds - The time period to look back from present, e.g. for time span of last 2 hours, set to 7200. If you want starting_time/ending_time to take effect, you MUST set lookback_seconds to zero."
4210
+ },
4211
+ "hostname_lookup": {
4212
+ "type": "boolean",
4213
+ "description": "hostname_lookup - Allow DNS lookup when checked (true). Queries against IP dimensions will run faster without allowing DNS lookup.",
4214
+ "default": true
4215
+ },
4216
+ "starting_time": {
4217
+ "type": "string",
4218
+ "description": "starting_time - The fixed start time of the query time-span, e.g. 'YYYY-MM-DD HH:mm:00'. If you want starting_time/ending_time to take effect, you MUST set lookback_seconds to zero."
4219
+ },
4220
+ "ending_time": {
4221
+ "type": "string",
4222
+ "description": "ending_time - The fixed ending time of the query time-span, e.g. 'YYYY-MM-DD HH:mm:00'. If you want starting_time/ending_time to take effect, you MUST set lookback_seconds to zero."
4223
+ },
4224
+ "device_name": {
4225
+ "type": "string",
4226
+ "description": "device_name - Sets the device against which to query. Multiple devices can be set using comma delimited string."
4227
+ },
4228
+ "all_selected": {
4229
+ "type": "boolean",
4230
+ "description": "all_selected - Whether or not you want us to query against all of your devices (if true, we ignore device_name)",
4231
+ "default": false
4232
+ },
4233
+ "filters_obj": {
4234
+ "allOf": [
4235
+ {
4236
+ "$ref": "#/components/schemas/filters_obj"
4237
+ },
4238
+ {
4239
+ "description": "filters_obj - //"
4240
+ }
4241
+ ]
4242
+ },
4243
+ "saved_filters": {
4244
+ "type": "array",
4245
+ "items": {
4246
+ "$ref": "#/components/schemas/saved_filter"
4247
+ },
4248
+ "description": "saved_filters - //"
4249
+ },
4250
+ "descriptor": {
4251
+ "type": "string",
4252
+ "description": "descriptor - This effects the 'name' column returned when using the 'Traffic' dimension"
4253
+ },
4254
+ "aggregates": {
4255
+ "type": "array",
4256
+ "items": {
4257
+ "$ref": "#/components/schemas/aggregate"
4258
+ },
4259
+ "description": ""
4260
+ },
4261
+ "query_title": {
4262
+ "type": "string",
4263
+ "description": "query_title - The query's title."
4264
+ }
4265
+ },
4266
+ "description": "query - Query object."
4267
+ },
4268
+ "query2": {
4269
+ "title": "query2",
4270
+ "type": "object",
4271
+ "properties": {
4272
+ "query": {
4273
+ "allOf": [
4274
+ {
4275
+ "$ref": "#/components/schemas/query3"
4276
+ },
4277
+ {
4278
+ "description": "query - Query object."
4279
+ }
4280
+ ]
4281
+ },
4282
+ "bucket": {
4283
+ "type": "string",
4284
+ "description": "bucket - Name of 'bucket' to return data. A bucket runs all queries simultaneously. Queries not at bucketIndex 0 inherit certain values from the query at bucketIndex 0."
4285
+ },
4286
+ "bucketIndex": {
4287
+ "type": "number",
4288
+ "description": "bucketIndex - A bucket index. Valid value: digit 0 or greater than 0."
4289
+ }
4290
+ }
4291
+ },
4292
+ "query4": {
4293
+ "title": "query4",
4294
+ "type": "object",
4295
+ "properties": {
4296
+ "query": {
4297
+ "allOf": [
4298
+ {
4299
+ "$ref": "#/components/schemas/query5"
4300
+ },
4301
+ {
4302
+ "description": "query - Query object."
4303
+ }
4304
+ ]
4305
+ },
4306
+ "bucket": {
4307
+ "type": "string",
4308
+ "description": "bucket - Name of 'bucket' to return data. A bucket runs all queries simultaneously. Queries not at bucketIndex 0 inherit certain values from the query at bucketIndex 0."
4309
+ },
4310
+ "bucketIndex": {
4311
+ "type": "number",
4312
+ "description": "bucketIndex - A bucket index. Valid value: digit 0 or greater than 0."
4313
+ },
4314
+ "isOverlay": {
4315
+ "type": "boolean",
4316
+ "description": "isOverlay - Whether or not query should be treated like an overlay",
4317
+ "default": false
4318
+ }
4319
+ }
4320
+ },
4321
+ "rightOperand": {
4322
+ "title": "rightOperand",
4323
+ "enum": [
4324
+ "sum",
4325
+ "subtract",
4326
+ "multiply",
4327
+ "divide"
4328
+ ],
4329
+ "type": "string",
4330
+ "description": "rightOperand - Value for right side of composite equation; used only for 'composite' fn"
4331
+ },
4332
+ "saved_filter": {
4333
+ "title": "saved_filter",
4334
+ "type": "object",
4335
+ "properties": {
4336
+ "filter_id": {
4337
+ "type": "number",
4338
+ "description": "filter_id - Id of saved filter you want to use"
4339
+ },
4340
+ "isNot": {
4341
+ "type": "boolean",
4342
+ "description": "isNot - Whether or not to NOT() the saved filter",
4343
+ "default": false
4344
+ }
4345
+ },
4346
+ "description": "saved_filters - //"
4347
+ },
4348
+ "SecondaryIP": {
4349
+ "title": "SecondaryIP",
4350
+ "type": "object",
4351
+ "properties": {
4352
+ "address": {
4353
+ "type": "string",
4354
+ "description": "address - A secondary IP address for the interface."
4355
+ },
4356
+ "netmask": {
4357
+ "type": "string",
4358
+ "description": "netmask - Netmask for the associated secondary IP."
4359
+ }
4360
+ }
4361
+ },
4362
+ "Site": {
4363
+ "title": "Site",
4364
+ "required": [
4365
+ "site_name"
4366
+ ],
4367
+ "type": "object",
4368
+ "properties": {
4369
+ "site_name": {
4370
+ "type": "string",
4371
+ "description": "site_name - The name of the site. Valid characters: alphanumeric, spaces and underscores. Length: min=3, max=40."
4372
+ },
4373
+ "lat": {
4374
+ "type": "number",
4375
+ "description": "lat - The latitude of the site. Valid values: min=-90, max=90."
4376
+ },
4377
+ "lon": {
4378
+ "type": "number",
4379
+ "description": "lon - The longitude of the site. Valid values: min=-180, max=180."
4380
+ }
4381
+ }
4382
+ },
4383
+ "Site1": {
4384
+ "title": "Site1",
4385
+ "type": "object",
4386
+ "properties": {
4387
+ "site_name": {
4388
+ "type": "string",
4389
+ "description": "site_name - The name of the site. Valid characters: alphanumeric, spaces and underscores. Length: min=3, max=40."
4390
+ },
4391
+ "lat": {
4392
+ "type": "number",
4393
+ "description": "lat - The latitude of the site. Valid values: min=-90, max=90."
4394
+ },
4395
+ "lon": {
4396
+ "type": "number",
4397
+ "description": "lon - The longitude of the site. Valid values: min=-180, max=180."
4398
+ }
4399
+ }
4400
+ },
4401
+ "SNMPv3Authentication": {
4402
+ "title": "SNMPv3Authentication",
4403
+ "required": [
4404
+ "AuthenticationProtocol",
4405
+ "PrivacyProtocol"
4406
+ ],
4407
+ "type": "object",
4408
+ "properties": {
4409
+ "UserName": {
4410
+ "type": "string",
4411
+ "description": "UserName - the user name to use to authenticate via SNMP v3. ** UserName is required when device_snmp_v3_conf is not null"
4412
+ },
4413
+ "AuthenticationProtocol": {
4414
+ "allOf": [
4415
+ {
4416
+ "$ref": "#/components/schemas/AuthenticationProtocol"
4417
+ },
4418
+ {
4419
+ "description": "AuthenticationProtocol - the auth protocol to use via SNMP v3"
4420
+ }
4421
+ ]
4422
+ },
4423
+ "AuthenticationPassphrase": {
4424
+ "type": "string",
4425
+ "description": "AuthenticationPassphrase - the passphrase to use for SNMP v3 authentication protocol (required when AuthenticationProtocol not NoAuth)"
4426
+ },
4427
+ "PrivacyProtocol": {
4428
+ "allOf": [
4429
+ {
4430
+ "$ref": "#/components/schemas/PrivacyProtocol"
4431
+ },
4432
+ {
4433
+ "description": "PrivacyProtocol - the privacy protocol to use to authenticate via SNMP v3"
4434
+ }
4435
+ ]
4436
+ },
4437
+ "PrivacyPassphrase": {
4438
+ "type": "string",
4439
+ "description": "PrivacyPassphrase - the passphrase to use for SNMP v3 privacy protocol (required when PrivacyProtocol not NoPriv)"
4440
+ }
4441
+ },
4442
+ "description": "device_snmp_v3_conf - Include this configuration to enable SNMP v3 authentication protocols. This supercedes SNMP Community."
4443
+ },
4444
+ "SNMPv3Authentication1": {
4445
+ "title": "SNMPv3Authentication1",
4446
+ "type": "object",
4447
+ "properties": {
4448
+ "UserName": {
4449
+ "type": "string",
4450
+ "description": "UserName - the user name to use to authenticate via SNMP v3."
4451
+ },
4452
+ "AuthenticationProtocol": {
4453
+ "allOf": [
4454
+ {
4455
+ "$ref": "#/components/schemas/AuthenticationProtocol1"
4456
+ },
4457
+ {
4458
+ "description": "AuthenticationProtocol - the auth protocol to use via SNMP v3"
4459
+ }
4460
+ ]
4461
+ },
4462
+ "AuthenticationPassphrase": {
4463
+ "type": "string",
4464
+ "description": "AuthenticationPassphrase - the passphrase to use for SNMP v3 authentication protocol (required when AuthenticationProtocol not NoAuth)"
4465
+ },
4466
+ "PrivacyProtocol": {
4467
+ "allOf": [
4468
+ {
4469
+ "$ref": "#/components/schemas/PrivacyProtocol1"
4470
+ },
4471
+ {
4472
+ "description": "PrivacyProtocol - the privacy protocol to use to authenticate via SNMP v3"
4473
+ }
4474
+ ]
4475
+ },
4476
+ "PrivacyPassphrase": {
4477
+ "type": "string",
4478
+ "description": "PrivacyPassphrase - the passphrase to use for SNMP v3 privacy protocol (required when PrivacyProtocol not NoPriv)"
4479
+ }
4480
+ },
4481
+ "description": "device_snmp_v3_conf - Include this configuration to enable SNMP v3 authentication protocols. This supercedes SNMP Community."
4482
+ },
4483
+ "Tag": {
4484
+ "title": "Tag",
4485
+ "required": [
4486
+ "flow_tag"
4487
+ ],
4488
+ "type": "object",
4489
+ "properties": {
4490
+ "flow_tag": {
4491
+ "type": "string",
4492
+ "description": "flow_tag - A name for the tag. When a match for any of the other tag parameters is found in the flow from a given device, this string will be added to the src_flow_tags and/or dst_flow_tags column in that device's KDE main table."
4493
+ },
4494
+ "device_name": {
4495
+ "type": "string",
4496
+ "description": "device_name - A comma-separated list of device names, IPs, or regular expressions. A match results when any specified device name matches the device name or IP address associated with a device sending flow data."
4497
+ },
4498
+ "device_type": {
4499
+ "type": "string",
4500
+ "description": "device_type - A comma-separated list of device types or regular expressions. A match results when any specified device type matches the device_type associated with a device sending flow data."
4501
+ },
4502
+ "site": {
4503
+ "type": "string",
4504
+ "description": "site - A comma-separated list of sites or regular expressions. A match results when any specified site matches the site associated with a device sending flow data."
4505
+ },
4506
+ "interface_name": {
4507
+ "type": "string",
4508
+ "description": "interface_name - A comma-separated list of interface names or regular expressions. A match results when any specified interface name matches the name or description of an interface sending flow data."
4509
+ },
4510
+ "addr": {
4511
+ "type": "string",
4512
+ "description": "addr - A comma-separated list of IP addresses in IP/CIDR format. A match results when any specified IP address corresponds to a range of IP addresses in incoming flow. It allows IPv6 CIDRs. 'short form' (e.g. 1::2/127) is allowed. If no CIDRs are specified in a tag, the tag will be matched against both incoming IPv4 and v6 flows. If CIDRs are given, the tag will only be matched against the given type of flow; in particular, if you only give IPv4 CIDRs, the tag will not match any IPv6 flows, and vice versa."
4513
+ },
4514
+ "port": {
4515
+ "type": "string",
4516
+ "description": "port - A comma-separated list of number of ports (between 0 and 65535). A match results when any specified port matches a port number in incoming flow."
4517
+ },
4518
+ "tcp_flags": {
4519
+ "type": "string",
4520
+ "description": "tcp_flags - An integer number between 0 and 255 representing an 8-bit binary bit pattern corresponding to TCP flags. A match will result if the value in both the flow bit pattern and the bitmask is 1 at any of the eight places."
4521
+ },
4522
+ "protocol": {
4523
+ "type": "string",
4524
+ "description": "protocol - A comma-separated list of protocol numbers (between 0 and 255). A match results when any specified protocol number is the same as the protocol of the traffic represented by the flow."
4525
+ },
4526
+ "asn": {
4527
+ "type": "string",
4528
+ "description": "asn - A comma-separated list of ASNs (between 1 and 2^32-1=4294967295). A match results when any specified ASN is the same as the last ASN in the path in the routing table for either the source (SRC IP) or destination (DST IP)."
4529
+ },
4530
+ "lasthop_as_name": {
4531
+ "type": "string",
4532
+ "description": "lasthop_as_name - A comma-separated list of AS Names or regular expressions. A match results when any specified AS Name represents the name corresponding to the last ASN in the path in the routing table for either the source (SRC IP) or destination (DST IP)."
4533
+ },
4534
+ "nexthop_asn": {
4535
+ "type": "string",
4536
+ "description": "nexthop_asn - A comma-separated list of ASNs (between 1 and 2^32-1=4294967295). A match results when any specified ASN is the same as the ASN of the next hop router based on AS path."
4537
+ },
4538
+ "nexthop_as_name": {
4539
+ "type": "string",
4540
+ "description": "nexthop_as_name - A comma-separated list of AS Names or regular expressions. A match results when any specified ASN represents the name corresponding to the ASN of the next hop router based on AS path."
4541
+ },
4542
+ "nexthop": {
4543
+ "type": "string",
4544
+ "description": "nexthop - A comma-separated list of IPv4 and/or IPv6 CIDRs. A match results when any specified IP is within a range of specified IPv4 and/or IPv6 CIDRs."
4545
+ },
4546
+ "bgp_aspath": {
4547
+ "type": "string",
4548
+ "description": "bgp_aspath - A comma-separated list of numbers representing bgp aspath. A match results when any specified value is the same as the BGP AS-PATH in the route. Example: \"^3737 1212,_7801_,2906$\" would look for any of those 3 combinations in the AS path. Permitted characters []*:_^$.0123456789()+?,space-"
4549
+ },
4550
+ "bgp_community": {
4551
+ "type": "string",
4552
+ "description": "bgp_community - A comma-separated list of numbers or regular expression representing BGP community (i.e. 2096:2212). A match results when any specified value is the same as the BGP community of the BGP route associated with incoming flow data. Permitted characters []*:_^$.0123456789()+?,space-"
4553
+ },
4554
+ "mac": {
4555
+ "type": "string",
4556
+ "description": "mac - A comma-separated list of MAC Addresses. A match results when any specified MAC Address matches source or destination Ethernet (L2) address."
4557
+ },
4558
+ "country": {
4559
+ "type": "string",
4560
+ "description": "country - A comma-separated list of two-character country codes. A match results when any specified country code matches source or destination country of the flow."
4561
+ },
4562
+ "vlans": {
4563
+ "type": "string",
4564
+ "description": "vlans - A comma delimited list of integers or ranges of integers between 0 and 4095."
4565
+ }
4566
+ }
4567
+ },
4568
+ "timeformat": {
4569
+ "title": "timeformat",
4570
+ "enum": [
4571
+ "UTC",
4572
+ "Local"
4573
+ ],
4574
+ "type": "string",
4575
+ "description": "time_format - The time zone in which times are expressed, either UTC or local."
4576
+ },
4577
+ "Type": {
4578
+ "title": "Type",
4579
+ "enum": [
4580
+ "string",
4581
+ "uint32"
4582
+ ],
4583
+ "type": "string",
4584
+ "description": "type - The type of the custom dimension. Valid values: \"string\" or \"uint32\"."
4585
+ },
4586
+ "User": {
4587
+ "title": "User",
4588
+ "required": [
4589
+ "user_email",
4590
+ "role",
4591
+ "email_product",
4592
+ "email_service"
4593
+ ],
4594
+ "type": "object",
4595
+ "properties": {
4596
+ "user_email": {
4597
+ "type": "string",
4598
+ "description": "user_email - A valid email address for the user."
4599
+ },
4600
+ "user_full_name": {
4601
+ "type": "string",
4602
+ "description": "user_full_name - The user's full name. Valid characters: all except double quotes. Length: max=50."
4603
+ },
4604
+ "role": {
4605
+ "allOf": [
4606
+ {
4607
+ "$ref": "#/components/schemas/Userrole"
4608
+ },
4609
+ {
4610
+ "description": "role - The user's role. Valid values: Member (0) or Administrator (1)."
4611
+ }
4612
+ ]
4613
+ },
4614
+ "email_product": {
4615
+ "type": "boolean",
4616
+ "description": "email_product - Determines whether the user will receive emails about Kentik Detect product upgrades (e.g. updates to features, interface, capabilities, etc.): true if yes, false if no."
4617
+ },
4618
+ "email_service": {
4619
+ "type": "boolean",
4620
+ "description": "email_service - Determines whether the user will receive emails about Kentik Detect service status (e.g. scheduled maintenance, etc.): true if yes, false if no."
4621
+ }
4622
+ }
4623
+ },
4624
+ "Userrole": {
4625
+ "title": "Userrole",
4626
+ "enum": [
4627
+ "Administrator",
4628
+ "Member"
4629
+ ],
4630
+ "type": "string",
4631
+ "description": "role - The user's role. Valid values: Member (0) or Administrator (1)."
4632
+ },
4633
+ "Userrole1": {
4634
+ "title": "Userrole1",
4635
+ "enum": [
4636
+ "Administrator",
4637
+ "Member"
4638
+ ],
4639
+ "type": "string",
4640
+ "description": "role - The user's role. Valid values: Member (0) or Administrator (1)."
4641
+ },
4642
+ "User1": {
4643
+ "title": "User1",
4644
+ "required": [
4645
+ "role"
4646
+ ],
4647
+ "type": "object",
4648
+ "properties": {
4649
+ "user_email": {
4650
+ "type": "string",
4651
+ "description": "user_email - A valid email address for the user. Changes will send a verification message to the updated address. The new address will only appear after user has completed verification."
4652
+ },
4653
+ "user_full_name": {
4654
+ "type": "string",
4655
+ "description": "user_full_name - The user's full name. Valid characters: all except double quotes. Length: max=50."
4656
+ },
4657
+ "role": {
4658
+ "allOf": [
4659
+ {
4660
+ "$ref": "#/components/schemas/Userrole1"
4661
+ },
4662
+ {
4663
+ "description": "role - The user's role. Valid values: Member (0) or Administrator (1)."
4664
+ }
4665
+ ]
4666
+ },
4667
+ "email_product": {
4668
+ "type": "boolean",
4669
+ "description": "email_product - Determines whether the user will receive emails about Kentik Detect product upgrades (e.g. updates to features, interface, capabilities, etc.): true if yes, false if no.",
4670
+ "default": true
4671
+ },
4672
+ "email_service": {
4673
+ "type": "boolean",
4674
+ "description": "email_service - Determines whether the user will receive emails about Kentik Detect service status (e.g. scheduled maintenance, etc.): true if yes, false if no.",
4675
+ "default": true
4676
+ }
4677
+ }
4678
+ },
4679
+ "User2": {
4680
+ "title": "User2",
4681
+ "required": [
4682
+ "user_email"
4683
+ ],
4684
+ "type": "object",
4685
+ "properties": {
4686
+ "user_email": {
4687
+ "type": "string",
4688
+ "description": "user_email - A valid email address for the user."
4689
+ }
4690
+ }
4691
+ },
4692
+ "VRF": {
4693
+ "title": "VRF",
4694
+ "required": [
4695
+ "name",
4696
+ "description",
4697
+ "route_target",
4698
+ "route_distinguisher"
4699
+ ],
4700
+ "type": "object",
4701
+ "properties": {
4702
+ "name": {
4703
+ "type": "string",
4704
+ "description": "name - Name of the VRF entry."
4705
+ },
4706
+ "description": {
4707
+ "type": "string",
4708
+ "description": "description - Description of the VRF entry."
4709
+ },
4710
+ "route_target": {
4711
+ "type": "string",
4712
+ "description": "route_target - Route Target Community of the VRF entry."
4713
+ },
4714
+ "route_distinguisher": {
4715
+ "type": "string",
4716
+ "description": "route_distinguisher - Route Distinguisher of the VRF entry."
4717
+ },
4718
+ "ext_route_distinguisher": {
4719
+ "type": "number",
4720
+ "description": "ext_route_distinguisher - External Route Distinguisher of the VRF entry."
4721
+ }
4722
+ }
4723
+ }
4724
+ }
4725
+ },
4726
+ "tags": [
4727
+ {
4728
+ "name": "Query Methods",
4729
+ "description": ""
4730
+ },
4731
+ {
4732
+ "name": "user",
4733
+ "description": ""
4734
+ },
4735
+ {
4736
+ "name": "device",
4737
+ "description": ""
4738
+ },
4739
+ {
4740
+ "name": "device label",
4741
+ "description": ""
4742
+ },
4743
+ {
4744
+ "name": "plan",
4745
+ "description": ""
4746
+ },
4747
+ {
4748
+ "name": "site",
4749
+ "description": ""
4750
+ },
4751
+ {
4752
+ "name": "tag",
4753
+ "description": ""
4754
+ },
4755
+ {
4756
+ "name": "custom_dimension",
4757
+ "description": ""
4758
+ },
4759
+ {
4760
+ "name": "custom_application",
4761
+ "description": ""
4762
+ },
4763
+ {
4764
+ "name": "savedfilter",
4765
+ "description": ""
4766
+ },
4767
+ {
4768
+ "name": "alerts",
4769
+ "description": ""
4770
+ },
4771
+ {
4772
+ "name": "alerts_active",
4773
+ "description": ""
4774
+ },
4775
+ {
4776
+ "name": "My Kentik Portal",
4777
+ "description": ""
4778
+ }
4779
+ ]
4780
+ }