@itentialopensource/adapter-splunk 0.1.1 → 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.
Files changed (45) hide show
  1. package/.eslintignore +0 -1
  2. package/.jshintrc +3 -0
  3. package/AUTH.md +5 -11
  4. package/CALLS.md +317 -23
  5. package/CHANGELOG.md +16 -1
  6. package/CONTRIBUTING.md +1 -160
  7. package/ENHANCE.md +2 -2
  8. package/README.md +31 -22
  9. package/SYSTEMINFO.md +11 -3
  10. package/adapter.js +159 -330
  11. package/adapterBase.js +538 -873
  12. package/changelogs/changelog.md +9 -0
  13. package/metadata.json +59 -0
  14. package/package.json +23 -25
  15. package/pronghorn.json +474 -142
  16. package/propertiesSchema.json +444 -40
  17. package/refs?service=git-upload-pack +0 -0
  18. package/report/adapter-openapi.json +2340 -0
  19. package/report/adapter-openapi.yaml +1690 -0
  20. package/report/adapterInfo.json +10 -0
  21. package/report/updateReport1691508892522.json +120 -0
  22. package/report/updateReport1692202206847.json +120 -0
  23. package/report/updateReport1692203308193.json +120 -0
  24. package/report/updateReport1694469246825.json +120 -0
  25. package/sampleProperties.json +65 -4
  26. package/test/integration/adapterTestBasicGet.js +1 -1
  27. package/test/integration/adapterTestConnectivity.js +91 -42
  28. package/test/integration/adapterTestIntegration.js +130 -2
  29. package/test/unit/adapterBaseTestUnit.js +388 -313
  30. package/test/unit/adapterTestUnit.js +306 -109
  31. package/utils/adapterInfo.js +1 -1
  32. package/utils/addAuth.js +1 -1
  33. package/utils/artifactize.js +1 -1
  34. package/utils/checkMigrate.js +1 -1
  35. package/utils/entitiesToDB.js +1 -0
  36. package/utils/findPath.js +1 -1
  37. package/utils/methodDocumentor.js +57 -22
  38. package/utils/modify.js +13 -15
  39. package/utils/packModificationScript.js +1 -1
  40. package/utils/taskMover.js +309 -0
  41. package/utils/tbScript.js +3 -10
  42. package/utils/tbUtils.js +2 -3
  43. package/utils/testRunner.js +1 -1
  44. package/utils/troubleshootingAdapter.js +1 -3
  45. package/workflows/README.md +0 -3
@@ -0,0 +1,2340 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "Splunk Adapter",
5
+ "description": "Splunk Adapter API calls",
6
+ "contact": {
7
+ "email": "venu.madhav@itential.com"
8
+ },
9
+ "version": "1.0.0"
10
+ },
11
+ "servers": [
12
+ {
13
+ "url": "https://www.example.com/",
14
+ "variables": {}
15
+ }
16
+ ],
17
+ "paths": {
18
+ "/services/data/commands/{name}": {
19
+ "get": {
20
+ "tags": [
21
+ "default"
22
+ ],
23
+ "summary": "getDataCommandsByName",
24
+ "description": "getDataCommandsByName",
25
+ "operationId": "getDataCommandsByName",
26
+ "parameters": [
27
+ {
28
+ "name": "name",
29
+ "in": "path",
30
+ "description": "name",
31
+ "required": true,
32
+ "style": "simple",
33
+ "schema": {
34
+ "type": "string"
35
+ }
36
+ }
37
+ ],
38
+ "responses": {
39
+ "200": {
40
+ "description": "successful operation",
41
+ "headers": {},
42
+ "content": {}
43
+ },
44
+ "400": {
45
+ "description": "failed operation",
46
+ "headers": {},
47
+ "content": {}
48
+ }
49
+ },
50
+ "deprecated": false
51
+ }
52
+ },
53
+ "/services/saved/searches": {
54
+ "get": {
55
+ "tags": [
56
+ "default"
57
+ ],
58
+ "summary": "getSavedSearches",
59
+ "description": "getSavedSearches",
60
+ "operationId": "getSavedSearches",
61
+ "parameters": [
62
+ {
63
+ "name": "earliest_time10-20-2022",
64
+ "in": "query",
65
+ "description": "earliest_time10-20-2022",
66
+ "required": true,
67
+ "style": "form",
68
+ "explode": true,
69
+ "schema": {
70
+ "type": "string"
71
+ }
72
+ },
73
+ {
74
+ "name": "latest_time",
75
+ "in": "query",
76
+ "description": "latest_time",
77
+ "required": true,
78
+ "style": "form",
79
+ "explode": true,
80
+ "schema": {
81
+ "type": "string"
82
+ }
83
+ },
84
+ {
85
+ "name": "listDefaultActionArgs",
86
+ "in": "query",
87
+ "description": "listDefaultActionArgs",
88
+ "required": true,
89
+ "style": "form",
90
+ "explode": true,
91
+ "schema": {
92
+ "type": "string"
93
+ }
94
+ },
95
+ {
96
+ "name": "add_orphan_field",
97
+ "in": "query",
98
+ "description": "add_orphan_field",
99
+ "required": true,
100
+ "style": "form",
101
+ "explode": true,
102
+ "schema": {
103
+ "type": "string"
104
+ }
105
+ }
106
+ ],
107
+ "responses": {
108
+ "200": {
109
+ "description": "successful operation",
110
+ "headers": {},
111
+ "content": {}
112
+ },
113
+ "400": {
114
+ "description": "failed operation",
115
+ "headers": {},
116
+ "content": {}
117
+ }
118
+ },
119
+ "deprecated": false
120
+ }
121
+ },
122
+ "/services/admin/search/saved/searches/{name}": {
123
+ "delete": {
124
+ "tags": [
125
+ "default"
126
+ ],
127
+ "summary": "deleteSavedSearchesByName",
128
+ "description": "deleteSavedSearchesByName",
129
+ "operationId": "deleteSavedSearchesByName",
130
+ "parameters": [
131
+ {
132
+ "name": "name",
133
+ "in": "path",
134
+ "description": "name",
135
+ "required": true,
136
+ "style": "simple",
137
+ "schema": {
138
+ "type": "string"
139
+ }
140
+ }
141
+ ],
142
+ "responses": {
143
+ "200": {
144
+ "description": "successful operation",
145
+ "headers": {},
146
+ "content": {}
147
+ },
148
+ "400": {
149
+ "description": "failed operation",
150
+ "headers": {},
151
+ "content": {}
152
+ }
153
+ },
154
+ "deprecated": false
155
+ },
156
+ "get": {
157
+ "tags": [
158
+ "default"
159
+ ],
160
+ "summary": "getSavedSearchesByName",
161
+ "description": "getSavedSearchesByName",
162
+ "operationId": "getSavedSearchesByName",
163
+ "parameters": [
164
+ {
165
+ "name": "name",
166
+ "in": "path",
167
+ "description": "name",
168
+ "required": true,
169
+ "style": "simple",
170
+ "schema": {
171
+ "type": "string"
172
+ }
173
+ },
174
+ {
175
+ "name": "earliest_time10-20-2022",
176
+ "in": "query",
177
+ "description": "earliest_time10-20-2022",
178
+ "required": true,
179
+ "style": "form",
180
+ "explode": true,
181
+ "schema": {
182
+ "type": "string"
183
+ }
184
+ },
185
+ {
186
+ "name": "latest_time",
187
+ "in": "query",
188
+ "description": "latest_time",
189
+ "required": true,
190
+ "style": "form",
191
+ "explode": true,
192
+ "schema": {
193
+ "type": "string"
194
+ }
195
+ },
196
+ {
197
+ "name": "listDefaultActionArgs",
198
+ "in": "query",
199
+ "description": "listDefaultActionArgs",
200
+ "required": true,
201
+ "style": "form",
202
+ "explode": true,
203
+ "schema": {
204
+ "type": "string"
205
+ }
206
+ },
207
+ {
208
+ "name": "add_orphan_field",
209
+ "in": "query",
210
+ "description": "add_orphan_field",
211
+ "required": true,
212
+ "style": "form",
213
+ "explode": true,
214
+ "schema": {
215
+ "type": "string"
216
+ }
217
+ }
218
+ ],
219
+ "responses": {
220
+ "200": {
221
+ "description": "successful operation",
222
+ "headers": {},
223
+ "content": {}
224
+ },
225
+ "400": {
226
+ "description": "failed operation",
227
+ "headers": {},
228
+ "content": {}
229
+ }
230
+ },
231
+ "deprecated": false
232
+ },
233
+ "post": {
234
+ "tags": [
235
+ "default"
236
+ ],
237
+ "summary": "postSavedSearches",
238
+ "description": "postSavedSearches",
239
+ "operationId": "postSavedSearches",
240
+ "parameters": [
241
+ {
242
+ "name": "name",
243
+ "in": "path",
244
+ "description": "name",
245
+ "required": true,
246
+ "style": "simple",
247
+ "schema": {
248
+ "type": "string"
249
+ }
250
+ }
251
+ ],
252
+ "requestBody": {
253
+ "description": "body",
254
+ "content": {
255
+ "*/*": {
256
+ "schema": {
257
+ "description": "body",
258
+ "example": {
259
+ "actions": "email",
260
+ "action.email.to": "nobody@example.com, info@example.com",
261
+ "search": "my search here"
262
+ }
263
+ },
264
+ "example": {
265
+ "actions": "email",
266
+ "action.email.to": "nobody@example.com, info@example.com",
267
+ "search": "my search here"
268
+ }
269
+ }
270
+ },
271
+ "required": true
272
+ },
273
+ "responses": {
274
+ "200": {
275
+ "description": "successful operation",
276
+ "headers": {},
277
+ "content": {}
278
+ },
279
+ "400": {
280
+ "description": "failed operation",
281
+ "headers": {},
282
+ "content": {}
283
+ }
284
+ },
285
+ "deprecated": false
286
+ }
287
+ },
288
+ "/services/admin/search/saved/searches/{name}/acknowledge": {
289
+ "post": {
290
+ "tags": [
291
+ "default"
292
+ ],
293
+ "summary": "postSavedSearchesAcknowledge",
294
+ "description": "postSavedSearchesAcknowledge",
295
+ "operationId": "postSavedSearchesAcknowledge",
296
+ "parameters": [
297
+ {
298
+ "name": "name",
299
+ "in": "path",
300
+ "description": "name",
301
+ "required": true,
302
+ "style": "simple",
303
+ "schema": {
304
+ "type": "string"
305
+ }
306
+ }
307
+ ],
308
+ "requestBody": {
309
+ "description": "body",
310
+ "content": {
311
+ "*/*": {
312
+ "schema": {
313
+ "description": "body",
314
+ "example": {
315
+ "key": "string"
316
+ }
317
+ },
318
+ "example": {
319
+ "key": "string"
320
+ }
321
+ }
322
+ },
323
+ "required": true
324
+ },
325
+ "responses": {
326
+ "200": {
327
+ "description": "successful operation",
328
+ "headers": {},
329
+ "content": {}
330
+ },
331
+ "400": {
332
+ "description": "failed operation",
333
+ "headers": {},
334
+ "content": {}
335
+ }
336
+ },
337
+ "deprecated": false
338
+ }
339
+ },
340
+ "/services/saved/searches/{name}/dispatch": {
341
+ "post": {
342
+ "tags": [
343
+ "default"
344
+ ],
345
+ "summary": "postSavedSearchesDispatchByName",
346
+ "description": "postSavedSearchesDispatchByName",
347
+ "operationId": "postSavedSearchesDispatchByName",
348
+ "parameters": [
349
+ {
350
+ "name": "name",
351
+ "in": "path",
352
+ "description": "name",
353
+ "required": true,
354
+ "style": "simple",
355
+ "schema": {
356
+ "type": "string"
357
+ }
358
+ }
359
+ ],
360
+ "requestBody": {
361
+ "description": "body",
362
+ "content": {
363
+ "*/*": {
364
+ "schema": {
365
+ "description": "body",
366
+ "example": {
367
+ "trigger_actions": true,
368
+ "dispatchAs": "owner",
369
+ "dispatch.adhoc_search_level": "verbose",
370
+ "dispatch.now": true,
371
+ "force_dispatch": true,
372
+ "replay_speed": 1,
373
+ "replay_et": "earliest",
374
+ "replay_lt": "latest"
375
+ }
376
+ },
377
+ "example": {
378
+ "trigger_actions": true,
379
+ "dispatchAs": "owner",
380
+ "dispatch.adhoc_search_level": "verbose",
381
+ "dispatch.now": true,
382
+ "force_dispatch": true,
383
+ "replay_speed": 1,
384
+ "replay_et": "earliest",
385
+ "replay_lt": "latest"
386
+ }
387
+ }
388
+ },
389
+ "required": true
390
+ },
391
+ "responses": {
392
+ "200": {
393
+ "description": "successful operation",
394
+ "headers": {},
395
+ "content": {}
396
+ },
397
+ "400": {
398
+ "description": "failed operation",
399
+ "headers": {},
400
+ "content": {}
401
+ }
402
+ },
403
+ "deprecated": false
404
+ }
405
+ },
406
+ "/services/saved/searches/{name}/history": {
407
+ "get": {
408
+ "tags": [
409
+ "default"
410
+ ],
411
+ "summary": "getSavedSearchesHistoryByName",
412
+ "description": "getSavedSearchesHistoryByName",
413
+ "operationId": "getSavedSearchesHistoryByName",
414
+ "parameters": [
415
+ {
416
+ "name": "name",
417
+ "in": "path",
418
+ "description": "name",
419
+ "required": true,
420
+ "style": "simple",
421
+ "schema": {
422
+ "type": "string"
423
+ }
424
+ },
425
+ {
426
+ "name": "savedsearch",
427
+ "in": "query",
428
+ "description": "savedsearch",
429
+ "required": true,
430
+ "style": "form",
431
+ "explode": true,
432
+ "schema": {
433
+ "type": "string"
434
+ }
435
+ }
436
+ ],
437
+ "responses": {
438
+ "200": {
439
+ "description": "successful operation",
440
+ "headers": {},
441
+ "content": {}
442
+ },
443
+ "400": {
444
+ "description": "failed operation",
445
+ "headers": {},
446
+ "content": {}
447
+ }
448
+ },
449
+ "deprecated": false
450
+ }
451
+ },
452
+ "/services/saved/searches/{name}/reschedule": {
453
+ "post": {
454
+ "tags": [
455
+ "default"
456
+ ],
457
+ "summary": "postSavedSearchesReschedule",
458
+ "description": "postSavedSearchesReschedule",
459
+ "operationId": "postSavedSearchesReschedule",
460
+ "parameters": [
461
+ {
462
+ "name": "name",
463
+ "in": "path",
464
+ "description": "name",
465
+ "required": true,
466
+ "style": "simple",
467
+ "schema": {
468
+ "type": "string"
469
+ }
470
+ }
471
+ ],
472
+ "requestBody": {
473
+ "description": "body",
474
+ "content": {
475
+ "*/*": {
476
+ "schema": {
477
+ "description": "body",
478
+ "example": {
479
+ "schedule_time": "2012-08-15T14:11:01Z"
480
+ }
481
+ },
482
+ "example": {
483
+ "schedule_time": "2012-08-15T14:11:01Z"
484
+ }
485
+ }
486
+ },
487
+ "required": true
488
+ },
489
+ "responses": {
490
+ "200": {
491
+ "description": "successful operation",
492
+ "headers": {},
493
+ "content": {}
494
+ },
495
+ "400": {
496
+ "description": "failed operation",
497
+ "headers": {},
498
+ "content": {}
499
+ }
500
+ },
501
+ "deprecated": false
502
+ }
503
+ },
504
+ "/services/saved/searches/{name}/scheduled_times": {
505
+ "get": {
506
+ "tags": [
507
+ "default"
508
+ ],
509
+ "summary": "getSavedSearchesScheduledItemsByName",
510
+ "description": "getSavedSearchesScheduledItemsByName",
511
+ "operationId": "getSavedSearchesScheduledItemsByName",
512
+ "parameters": [
513
+ {
514
+ "name": "name",
515
+ "in": "path",
516
+ "description": "name",
517
+ "required": true,
518
+ "style": "simple",
519
+ "schema": {
520
+ "type": "string"
521
+ }
522
+ },
523
+ {
524
+ "name": "earliest_time",
525
+ "in": "query",
526
+ "description": "earliest_time",
527
+ "required": true,
528
+ "style": "form",
529
+ "explode": true,
530
+ "schema": {
531
+ "type": "string"
532
+ }
533
+ },
534
+ {
535
+ "name": "latest_time",
536
+ "in": "query",
537
+ "description": "latest_time",
538
+ "required": true,
539
+ "style": "form",
540
+ "explode": true,
541
+ "schema": {
542
+ "type": "string"
543
+ }
544
+ }
545
+ ],
546
+ "responses": {
547
+ "200": {
548
+ "description": "successful operation",
549
+ "headers": {},
550
+ "content": {}
551
+ },
552
+ "400": {
553
+ "description": "failed operation",
554
+ "headers": {},
555
+ "content": {}
556
+ }
557
+ },
558
+ "deprecated": false
559
+ }
560
+ },
561
+ "/services/saved/searches/{name}/suppress": {
562
+ "get": {
563
+ "tags": [
564
+ "default"
565
+ ],
566
+ "summary": "getSavedSearchesSupresssByName",
567
+ "description": "getSavedSearchesSupresssByName",
568
+ "operationId": "getSavedSearchesSupresssByName",
569
+ "parameters": [
570
+ {
571
+ "name": "name",
572
+ "in": "path",
573
+ "description": "name",
574
+ "required": true,
575
+ "style": "simple",
576
+ "schema": {
577
+ "type": "string"
578
+ }
579
+ },
580
+ {
581
+ "name": "expiration",
582
+ "in": "query",
583
+ "description": "expiration",
584
+ "required": true,
585
+ "style": "form",
586
+ "explode": true,
587
+ "schema": {
588
+ "type": "string"
589
+ }
590
+ }
591
+ ],
592
+ "responses": {
593
+ "200": {
594
+ "description": "successful operation",
595
+ "headers": {},
596
+ "content": {}
597
+ },
598
+ "400": {
599
+ "description": "failed operation",
600
+ "headers": {},
601
+ "content": {}
602
+ }
603
+ },
604
+ "deprecated": false
605
+ }
606
+ },
607
+ "/services/scheduled/views": {
608
+ "get": {
609
+ "tags": [
610
+ "default"
611
+ ],
612
+ "summary": "getScheduledViews",
613
+ "description": "getScheduledViews",
614
+ "operationId": "getScheduledViews",
615
+ "parameters": [
616
+ {
617
+ "name": "count",
618
+ "in": "query",
619
+ "description": "count",
620
+ "required": true,
621
+ "style": "form",
622
+ "explode": true,
623
+ "schema": {
624
+ "type": "string"
625
+ }
626
+ },
627
+ {
628
+ "name": "f",
629
+ "in": "query",
630
+ "description": "f",
631
+ "required": true,
632
+ "style": "form",
633
+ "explode": true,
634
+ "schema": {
635
+ "type": "string"
636
+ }
637
+ },
638
+ {
639
+ "name": "offset",
640
+ "in": "query",
641
+ "description": "offset",
642
+ "required": true,
643
+ "style": "form",
644
+ "explode": true,
645
+ "schema": {
646
+ "type": "string"
647
+ }
648
+ },
649
+ {
650
+ "name": "search",
651
+ "in": "query",
652
+ "description": "search",
653
+ "required": true,
654
+ "style": "form",
655
+ "explode": true,
656
+ "schema": {
657
+ "type": "string"
658
+ }
659
+ },
660
+ {
661
+ "name": "sort_dir",
662
+ "in": "query",
663
+ "description": "sort_dir",
664
+ "required": true,
665
+ "style": "form",
666
+ "explode": true,
667
+ "schema": {
668
+ "type": "string"
669
+ }
670
+ },
671
+ {
672
+ "name": "sort_key",
673
+ "in": "query",
674
+ "description": "sort_key",
675
+ "required": true,
676
+ "style": "form",
677
+ "explode": true,
678
+ "schema": {
679
+ "type": "string"
680
+ }
681
+ },
682
+ {
683
+ "name": "sort_mode",
684
+ "in": "query",
685
+ "description": "sort_mode",
686
+ "required": true,
687
+ "style": "form",
688
+ "explode": true,
689
+ "schema": {
690
+ "type": "string"
691
+ }
692
+ },
693
+ {
694
+ "name": "summarize",
695
+ "in": "query",
696
+ "description": "summarize",
697
+ "required": true,
698
+ "style": "form",
699
+ "explode": true,
700
+ "schema": {
701
+ "type": "string"
702
+ }
703
+ }
704
+ ],
705
+ "responses": {
706
+ "200": {
707
+ "description": "successful operation",
708
+ "headers": {},
709
+ "content": {}
710
+ },
711
+ "400": {
712
+ "description": "failed operation",
713
+ "headers": {},
714
+ "content": {}
715
+ }
716
+ },
717
+ "deprecated": false
718
+ }
719
+ },
720
+ "/services/scheduled/views/{name}": {
721
+ "delete": {
722
+ "tags": [
723
+ "default"
724
+ ],
725
+ "summary": "deleteScheduledViewByName",
726
+ "description": "deleteScheduledViewByName",
727
+ "operationId": "deleteScheduledViewByName",
728
+ "parameters": [
729
+ {
730
+ "name": "name",
731
+ "in": "path",
732
+ "description": "name",
733
+ "required": true,
734
+ "style": "simple",
735
+ "schema": {
736
+ "type": "string"
737
+ }
738
+ }
739
+ ],
740
+ "responses": {
741
+ "200": {
742
+ "description": "successful operation",
743
+ "headers": {},
744
+ "content": {}
745
+ },
746
+ "400": {
747
+ "description": "failed operation",
748
+ "headers": {},
749
+ "content": {}
750
+ }
751
+ },
752
+ "deprecated": false
753
+ },
754
+ "get": {
755
+ "tags": [
756
+ "default"
757
+ ],
758
+ "summary": "getScheduledViewByName",
759
+ "description": "getScheduledViewByName",
760
+ "operationId": "getScheduledViewByName",
761
+ "parameters": [
762
+ {
763
+ "name": "name",
764
+ "in": "path",
765
+ "description": "name",
766
+ "required": true,
767
+ "style": "simple",
768
+ "schema": {
769
+ "type": "string"
770
+ }
771
+ }
772
+ ],
773
+ "responses": {
774
+ "200": {
775
+ "description": "successful operation",
776
+ "headers": {},
777
+ "content": {}
778
+ },
779
+ "400": {
780
+ "description": "failed operation",
781
+ "headers": {},
782
+ "content": {}
783
+ }
784
+ },
785
+ "deprecated": false
786
+ },
787
+ "post": {
788
+ "tags": [
789
+ "default"
790
+ ],
791
+ "summary": "postScheduledViewByName",
792
+ "description": "postScheduledViewByName",
793
+ "operationId": "postScheduledViewByName",
794
+ "parameters": [
795
+ {
796
+ "name": "name",
797
+ "in": "path",
798
+ "description": "name",
799
+ "required": true,
800
+ "style": "simple",
801
+ "schema": {
802
+ "type": "string"
803
+ }
804
+ }
805
+ ],
806
+ "requestBody": {
807
+ "description": "body",
808
+ "content": {
809
+ "*/*": {
810
+ "schema": {
811
+ "description": "body",
812
+ "example": {
813
+ "action.email.to": "user1@test.com,user2@test.com",
814
+ "action.email*": "",
815
+ "cron_schedule": "*/5 * * * * ",
816
+ "description": "description",
817
+ "disabled": false,
818
+ "is_scheduled": true,
819
+ "next_scheduled_time": ""
820
+ }
821
+ },
822
+ "example": {
823
+ "action.email.to": "user1@test.com,user2@test.com",
824
+ "action.email*": "",
825
+ "cron_schedule": "*/5 * * * * ",
826
+ "description": "description",
827
+ "disabled": false,
828
+ "is_scheduled": true,
829
+ "next_scheduled_time": ""
830
+ }
831
+ }
832
+ },
833
+ "required": true
834
+ },
835
+ "responses": {
836
+ "200": {
837
+ "description": "successful operation",
838
+ "headers": {},
839
+ "content": {}
840
+ },
841
+ "400": {
842
+ "description": "failed operation",
843
+ "headers": {},
844
+ "content": {}
845
+ }
846
+ },
847
+ "deprecated": false
848
+ }
849
+ },
850
+ "/services/scheduled/views/{name}/dispatch": {
851
+ "post": {
852
+ "tags": [
853
+ "default"
854
+ ],
855
+ "summary": "postScheduledViewDispatch",
856
+ "description": "postScheduledViewDispatch",
857
+ "operationId": "postScheduledViewDispatch",
858
+ "parameters": [
859
+ {
860
+ "name": "name",
861
+ "in": "path",
862
+ "description": "name",
863
+ "required": true,
864
+ "style": "simple",
865
+ "schema": {
866
+ "type": "string"
867
+ }
868
+ }
869
+ ],
870
+ "requestBody": {
871
+ "description": "body",
872
+ "content": {
873
+ "*/*": {
874
+ "schema": {
875
+ "description": "body",
876
+ "example": {
877
+ "dispatch.now": true,
878
+ "force_dispatch": true,
879
+ "trigger_actions": true,
880
+ "args.*": "$username$"
881
+ }
882
+ },
883
+ "example": {
884
+ "dispatch.now": true,
885
+ "force_dispatch": true,
886
+ "trigger_actions": true,
887
+ "args.*": "$username$"
888
+ }
889
+ }
890
+ },
891
+ "required": true
892
+ },
893
+ "responses": {
894
+ "200": {
895
+ "description": "successful operation",
896
+ "headers": {},
897
+ "content": {}
898
+ },
899
+ "400": {
900
+ "description": "failed operation",
901
+ "headers": {},
902
+ "content": {}
903
+ }
904
+ },
905
+ "deprecated": false
906
+ }
907
+ },
908
+ "/services/scheduled/views/{name}/history": {
909
+ "get": {
910
+ "tags": [
911
+ "default"
912
+ ],
913
+ "summary": "getScheduledViewHistory",
914
+ "description": "getScheduledViewHistory",
915
+ "operationId": "getScheduledViewHistory",
916
+ "parameters": [
917
+ {
918
+ "name": "name",
919
+ "in": "path",
920
+ "description": "name",
921
+ "required": true,
922
+ "style": "simple",
923
+ "schema": {
924
+ "type": "string"
925
+ }
926
+ }
927
+ ],
928
+ "responses": {
929
+ "200": {
930
+ "description": "successful operation",
931
+ "headers": {},
932
+ "content": {}
933
+ },
934
+ "400": {
935
+ "description": "failed operation",
936
+ "headers": {},
937
+ "content": {}
938
+ }
939
+ },
940
+ "deprecated": false
941
+ }
942
+ },
943
+ "/services/scheduled/views/{name}/reschedule": {
944
+ "post": {
945
+ "tags": [
946
+ "default"
947
+ ],
948
+ "summary": "postScheduledViewHistory",
949
+ "description": "postScheduledViewHistory",
950
+ "operationId": "postScheduledViewHistory",
951
+ "parameters": [
952
+ {
953
+ "name": "name",
954
+ "in": "path",
955
+ "description": "name",
956
+ "required": true,
957
+ "style": "simple",
958
+ "schema": {
959
+ "type": "string"
960
+ }
961
+ }
962
+ ],
963
+ "requestBody": {
964
+ "description": "body",
965
+ "content": {
966
+ "*/*": {
967
+ "schema": {
968
+ "description": "body",
969
+ "example": {
970
+ "schedule_time": "2013-02-15T14:11:01Z"
971
+ }
972
+ },
973
+ "example": {
974
+ "schedule_time": "2013-02-15T14:11:01Z"
975
+ }
976
+ }
977
+ },
978
+ "required": true
979
+ },
980
+ "responses": {
981
+ "200": {
982
+ "description": "successful operation",
983
+ "headers": {},
984
+ "content": {}
985
+ },
986
+ "400": {
987
+ "description": "failed operation",
988
+ "headers": {},
989
+ "content": {}
990
+ }
991
+ },
992
+ "deprecated": false
993
+ }
994
+ },
995
+ "/services/scheduled/views/{name}/scheduled_times": {
996
+ "get": {
997
+ "tags": [
998
+ "default"
999
+ ],
1000
+ "summary": "getScheduledViewScheduledTimes",
1001
+ "description": "getScheduledViewScheduledTimes",
1002
+ "operationId": "getScheduledViewScheduledTimes",
1003
+ "parameters": [
1004
+ {
1005
+ "name": "name",
1006
+ "in": "path",
1007
+ "description": "name",
1008
+ "required": true,
1009
+ "style": "simple",
1010
+ "schema": {
1011
+ "type": "string"
1012
+ }
1013
+ },
1014
+ {
1015
+ "name": "earliest_time",
1016
+ "in": "query",
1017
+ "description": "earliest_time",
1018
+ "required": true,
1019
+ "style": "form",
1020
+ "explode": true,
1021
+ "schema": {
1022
+ "type": "string"
1023
+ }
1024
+ },
1025
+ {
1026
+ "name": "latest_time",
1027
+ "in": "query",
1028
+ "description": "latest_time",
1029
+ "required": true,
1030
+ "style": "form",
1031
+ "explode": true,
1032
+ "schema": {
1033
+ "type": "string"
1034
+ }
1035
+ }
1036
+ ],
1037
+ "responses": {
1038
+ "200": {
1039
+ "description": "successful operation",
1040
+ "headers": {},
1041
+ "content": {}
1042
+ },
1043
+ "400": {
1044
+ "description": "failed operation",
1045
+ "headers": {},
1046
+ "content": {}
1047
+ }
1048
+ },
1049
+ "deprecated": false
1050
+ }
1051
+ },
1052
+ "/services/search/jobs": {
1053
+ "get": {
1054
+ "tags": [
1055
+ "default"
1056
+ ],
1057
+ "summary": "getSearchJobs",
1058
+ "description": "getSearchJobs",
1059
+ "operationId": "getSearchJobs",
1060
+ "parameters": [
1061
+ {
1062
+ "name": "count",
1063
+ "in": "query",
1064
+ "description": "count",
1065
+ "required": true,
1066
+ "style": "form",
1067
+ "explode": true,
1068
+ "schema": {
1069
+ "type": "string"
1070
+ }
1071
+ },
1072
+ {
1073
+ "name": "f",
1074
+ "in": "query",
1075
+ "description": "f",
1076
+ "required": true,
1077
+ "style": "form",
1078
+ "explode": true,
1079
+ "schema": {
1080
+ "type": "string"
1081
+ }
1082
+ },
1083
+ {
1084
+ "name": "offset",
1085
+ "in": "query",
1086
+ "description": "offset",
1087
+ "required": true,
1088
+ "style": "form",
1089
+ "explode": true,
1090
+ "schema": {
1091
+ "type": "string"
1092
+ }
1093
+ },
1094
+ {
1095
+ "name": "search",
1096
+ "in": "query",
1097
+ "description": "search",
1098
+ "required": true,
1099
+ "style": "form",
1100
+ "explode": true,
1101
+ "schema": {
1102
+ "type": "string"
1103
+ }
1104
+ },
1105
+ {
1106
+ "name": "sort_dir",
1107
+ "in": "query",
1108
+ "description": "sort_dir",
1109
+ "required": true,
1110
+ "style": "form",
1111
+ "explode": true,
1112
+ "schema": {
1113
+ "type": "string"
1114
+ }
1115
+ },
1116
+ {
1117
+ "name": "sort_key",
1118
+ "in": "query",
1119
+ "description": "sort_key",
1120
+ "required": true,
1121
+ "style": "form",
1122
+ "explode": true,
1123
+ "schema": {
1124
+ "type": "string"
1125
+ }
1126
+ },
1127
+ {
1128
+ "name": "sort_mode",
1129
+ "in": "query",
1130
+ "description": "sort_mode",
1131
+ "required": true,
1132
+ "style": "form",
1133
+ "explode": true,
1134
+ "schema": {
1135
+ "type": "string"
1136
+ }
1137
+ },
1138
+ {
1139
+ "name": "summarize",
1140
+ "in": "query",
1141
+ "description": "summarize",
1142
+ "required": true,
1143
+ "style": "form",
1144
+ "explode": true,
1145
+ "schema": {
1146
+ "type": "string"
1147
+ }
1148
+ }
1149
+ ],
1150
+ "responses": {
1151
+ "200": {
1152
+ "description": "successful operation",
1153
+ "headers": {},
1154
+ "content": {}
1155
+ },
1156
+ "400": {
1157
+ "description": "failed operation",
1158
+ "headers": {},
1159
+ "content": {}
1160
+ }
1161
+ },
1162
+ "deprecated": false
1163
+ },
1164
+ "post": {
1165
+ "tags": [
1166
+ "default"
1167
+ ],
1168
+ "summary": "postSearchJobs",
1169
+ "description": "postSearchJobs",
1170
+ "operationId": "postSearchJobs",
1171
+ "parameters": [],
1172
+ "requestBody": {
1173
+ "description": "body",
1174
+ "content": {
1175
+ "*/*": {
1176
+ "schema": {
1177
+ "description": "body",
1178
+ "example": {
1179
+ "search_mode": "realtime",
1180
+ "indexedRealtime": 1,
1181
+ "indexedRealtimeOffset": "300",
1182
+ "adhoc_search_level": "verbose",
1183
+ "auto_cancel": 0,
1184
+ "auto_finalize_ec": 0,
1185
+ "auto_pause": 0,
1186
+ "id": "id",
1187
+ "max_count": 10000,
1188
+ "namespace": "namespace"
1189
+ }
1190
+ },
1191
+ "example": {
1192
+ "search_mode": "realtime",
1193
+ "indexedRealtime": 1,
1194
+ "indexedRealtimeOffset": "300",
1195
+ "adhoc_search_level": "verbose",
1196
+ "auto_cancel": 0,
1197
+ "auto_finalize_ec": 0,
1198
+ "auto_pause": 0,
1199
+ "id": "id",
1200
+ "max_count": 10000,
1201
+ "namespace": "namespace"
1202
+ }
1203
+ }
1204
+ },
1205
+ "required": true
1206
+ },
1207
+ "responses": {
1208
+ "200": {
1209
+ "description": "successful operation",
1210
+ "headers": {},
1211
+ "content": {}
1212
+ },
1213
+ "400": {
1214
+ "description": "failed operation",
1215
+ "headers": {},
1216
+ "content": {}
1217
+ }
1218
+ },
1219
+ "deprecated": false
1220
+ }
1221
+ },
1222
+ "/services/search/jobs/export": {
1223
+ "get": {
1224
+ "tags": [
1225
+ "default"
1226
+ ],
1227
+ "summary": "getSearchJobsExport",
1228
+ "description": "getSearchJobsExport",
1229
+ "operationId": "getSearchJobsExport",
1230
+ "parameters": [],
1231
+ "responses": {
1232
+ "200": {
1233
+ "description": "successful operation",
1234
+ "headers": {},
1235
+ "content": {}
1236
+ },
1237
+ "400": {
1238
+ "description": "failed operation",
1239
+ "headers": {},
1240
+ "content": {}
1241
+ }
1242
+ },
1243
+ "deprecated": false
1244
+ },
1245
+ "post": {
1246
+ "tags": [
1247
+ "default"
1248
+ ],
1249
+ "summary": "postSearchJobsExport",
1250
+ "description": "postSearchJobsExport",
1251
+ "operationId": "postSearchJobsExport",
1252
+ "parameters": [],
1253
+ "requestBody": {
1254
+ "description": "body",
1255
+ "content": {
1256
+ "*/*": {
1257
+ "schema": {
1258
+ "description": "body",
1259
+ "example": {
1260
+ "search": "string",
1261
+ "auto_cancel": 0,
1262
+ "auto_finalize_ec": 0,
1263
+ "max_time": 100,
1264
+ "rt_blocking": false
1265
+ }
1266
+ },
1267
+ "example": {
1268
+ "search": "string",
1269
+ "auto_cancel": 0,
1270
+ "auto_finalize_ec": 0,
1271
+ "max_time": 100,
1272
+ "rt_blocking": false
1273
+ }
1274
+ }
1275
+ },
1276
+ "required": true
1277
+ },
1278
+ "responses": {
1279
+ "200": {
1280
+ "description": "successful operation",
1281
+ "headers": {},
1282
+ "content": {}
1283
+ },
1284
+ "400": {
1285
+ "description": "failed operation",
1286
+ "headers": {},
1287
+ "content": {}
1288
+ }
1289
+ },
1290
+ "deprecated": false
1291
+ }
1292
+ },
1293
+ "/services/search/jobs/{search_id}": {
1294
+ "delete": {
1295
+ "tags": [
1296
+ "default"
1297
+ ],
1298
+ "summary": "deleteSearchJobsById",
1299
+ "description": "deleteSearchJobsById",
1300
+ "operationId": "deleteSearchJobsById",
1301
+ "parameters": [
1302
+ {
1303
+ "name": "search_id",
1304
+ "in": "path",
1305
+ "description": "search_id",
1306
+ "required": true,
1307
+ "style": "simple",
1308
+ "schema": {
1309
+ "type": "string"
1310
+ }
1311
+ }
1312
+ ],
1313
+ "responses": {
1314
+ "200": {
1315
+ "description": "successful operation",
1316
+ "headers": {},
1317
+ "content": {}
1318
+ },
1319
+ "400": {
1320
+ "description": "failed operation",
1321
+ "headers": {},
1322
+ "content": {}
1323
+ }
1324
+ },
1325
+ "deprecated": false
1326
+ },
1327
+ "get": {
1328
+ "tags": [
1329
+ "default"
1330
+ ],
1331
+ "summary": "getSearchJobsById",
1332
+ "description": "getSearchJobsById",
1333
+ "operationId": "getSearchJobsById",
1334
+ "parameters": [
1335
+ {
1336
+ "name": "search_id",
1337
+ "in": "path",
1338
+ "description": "search_id",
1339
+ "required": true,
1340
+ "style": "simple",
1341
+ "schema": {
1342
+ "type": "string"
1343
+ }
1344
+ }
1345
+ ],
1346
+ "responses": {
1347
+ "200": {
1348
+ "description": "successful operation",
1349
+ "headers": {},
1350
+ "content": {}
1351
+ },
1352
+ "400": {
1353
+ "description": "failed operation",
1354
+ "headers": {},
1355
+ "content": {}
1356
+ }
1357
+ },
1358
+ "deprecated": false
1359
+ },
1360
+ "post": {
1361
+ "tags": [
1362
+ "default"
1363
+ ],
1364
+ "summary": "postSearchJobsById",
1365
+ "description": "postSearchJobsById",
1366
+ "operationId": "postSearchJobsById",
1367
+ "parameters": [
1368
+ {
1369
+ "name": "search_id",
1370
+ "in": "path",
1371
+ "description": "search_id",
1372
+ "required": true,
1373
+ "style": "simple",
1374
+ "schema": {
1375
+ "type": "string"
1376
+ }
1377
+ }
1378
+ ],
1379
+ "requestBody": {
1380
+ "description": "body",
1381
+ "content": {
1382
+ "*/*": {
1383
+ "schema": {
1384
+ "description": "body",
1385
+ "example": {
1386
+ "custom.*": "string"
1387
+ }
1388
+ },
1389
+ "example": {
1390
+ "custom.*": "string"
1391
+ }
1392
+ }
1393
+ },
1394
+ "required": true
1395
+ },
1396
+ "responses": {
1397
+ "200": {
1398
+ "description": "successful operation",
1399
+ "headers": {},
1400
+ "content": {}
1401
+ },
1402
+ "400": {
1403
+ "description": "failed operation",
1404
+ "headers": {},
1405
+ "content": {}
1406
+ }
1407
+ },
1408
+ "deprecated": false
1409
+ }
1410
+ },
1411
+ "/services/search/jobs/{search_id}/control": {
1412
+ "post": {
1413
+ "tags": [
1414
+ "default"
1415
+ ],
1416
+ "summary": "postSearchJobsByIdControl",
1417
+ "description": "postSearchJobsByIdControl",
1418
+ "operationId": "postSearchJobsByIdControl",
1419
+ "parameters": [
1420
+ {
1421
+ "name": "search_id",
1422
+ "in": "path",
1423
+ "description": "search_id",
1424
+ "required": true,
1425
+ "style": "simple",
1426
+ "schema": {
1427
+ "type": "string"
1428
+ }
1429
+ }
1430
+ ],
1431
+ "requestBody": {
1432
+ "description": "body",
1433
+ "content": {
1434
+ "*/*": {
1435
+ "schema": {
1436
+ "description": "body",
1437
+ "example": {
1438
+ "action": "finalize"
1439
+ }
1440
+ },
1441
+ "example": {
1442
+ "action": "finalize"
1443
+ }
1444
+ }
1445
+ },
1446
+ "required": true
1447
+ },
1448
+ "responses": {
1449
+ "200": {
1450
+ "description": "successful operation",
1451
+ "headers": {},
1452
+ "content": {}
1453
+ },
1454
+ "400": {
1455
+ "description": "failed operation",
1456
+ "headers": {},
1457
+ "content": {}
1458
+ }
1459
+ },
1460
+ "deprecated": false
1461
+ }
1462
+ },
1463
+ "/services/search/jobs/{search_id}/events": {
1464
+ "get": {
1465
+ "tags": [
1466
+ "default"
1467
+ ],
1468
+ "summary": "getSearchJobsByIdEvents",
1469
+ "description": "getSearchJobsByIdEvents",
1470
+ "operationId": "getSearchJobsByIdEvents",
1471
+ "parameters": [
1472
+ {
1473
+ "name": "search_id",
1474
+ "in": "path",
1475
+ "description": "search_id",
1476
+ "required": true,
1477
+ "style": "simple",
1478
+ "schema": {
1479
+ "type": "string"
1480
+ }
1481
+ },
1482
+ {
1483
+ "name": "count",
1484
+ "in": "query",
1485
+ "description": "count",
1486
+ "required": true,
1487
+ "style": "form",
1488
+ "explode": true,
1489
+ "schema": {
1490
+ "type": "string"
1491
+ }
1492
+ },
1493
+ {
1494
+ "name": "max_lines",
1495
+ "in": "query",
1496
+ "description": "max_lines",
1497
+ "required": true,
1498
+ "style": "form",
1499
+ "explode": true,
1500
+ "schema": {
1501
+ "type": "string"
1502
+ }
1503
+ },
1504
+ {
1505
+ "name": "output_mode",
1506
+ "in": "query",
1507
+ "description": "output_mode",
1508
+ "required": true,
1509
+ "style": "form",
1510
+ "explode": true,
1511
+ "schema": {
1512
+ "type": "string"
1513
+ }
1514
+ },
1515
+ {
1516
+ "name": "truncation_mode",
1517
+ "in": "query",
1518
+ "description": "truncation_mode",
1519
+ "required": true,
1520
+ "style": "form",
1521
+ "explode": true,
1522
+ "schema": {
1523
+ "type": "string"
1524
+ }
1525
+ }
1526
+ ],
1527
+ "responses": {
1528
+ "200": {
1529
+ "description": "successful operation",
1530
+ "headers": {},
1531
+ "content": {}
1532
+ },
1533
+ "400": {
1534
+ "description": "failed operation",
1535
+ "headers": {},
1536
+ "content": {}
1537
+ }
1538
+ },
1539
+ "deprecated": false
1540
+ }
1541
+ },
1542
+ "/services/search/jobs/{search_id}/results": {
1543
+ "get": {
1544
+ "tags": [
1545
+ "default"
1546
+ ],
1547
+ "summary": "getSearchJobsByIdResults",
1548
+ "description": "getSearchJobsByIdResults",
1549
+ "operationId": "getSearchJobsByIdResults",
1550
+ "parameters": [
1551
+ {
1552
+ "name": "search_id",
1553
+ "in": "path",
1554
+ "description": "search_id",
1555
+ "required": true,
1556
+ "style": "simple",
1557
+ "schema": {
1558
+ "type": "string"
1559
+ }
1560
+ },
1561
+ {
1562
+ "name": "count",
1563
+ "in": "query",
1564
+ "description": "count",
1565
+ "required": true,
1566
+ "style": "form",
1567
+ "explode": true,
1568
+ "schema": {
1569
+ "type": "string"
1570
+ }
1571
+ },
1572
+ {
1573
+ "name": "add_summary_to_metadata",
1574
+ "in": "query",
1575
+ "description": "add_summary_to_metadata",
1576
+ "required": true,
1577
+ "style": "form",
1578
+ "explode": true,
1579
+ "schema": {
1580
+ "type": "string"
1581
+ }
1582
+ },
1583
+ {
1584
+ "name": "search",
1585
+ "in": "query",
1586
+ "description": "search",
1587
+ "required": true,
1588
+ "style": "form",
1589
+ "explode": true,
1590
+ "schema": {
1591
+ "type": "string"
1592
+ }
1593
+ }
1594
+ ],
1595
+ "responses": {
1596
+ "200": {
1597
+ "description": "successful operation",
1598
+ "headers": {},
1599
+ "content": {}
1600
+ },
1601
+ "400": {
1602
+ "description": "failed operation",
1603
+ "headers": {},
1604
+ "content": {}
1605
+ }
1606
+ },
1607
+ "deprecated": false
1608
+ }
1609
+ },
1610
+ "/services/search/jobs/{search_id}/results_preview": {
1611
+ "get": {
1612
+ "tags": [
1613
+ "default"
1614
+ ],
1615
+ "summary": "getSearchJobsByIdResultsPreview",
1616
+ "description": "getSearchJobsByIdResultsPreview",
1617
+ "operationId": "getSearchJobsByIdResultsPreview",
1618
+ "parameters": [
1619
+ {
1620
+ "name": "search_id",
1621
+ "in": "path",
1622
+ "description": "search_id",
1623
+ "required": true,
1624
+ "style": "simple",
1625
+ "schema": {
1626
+ "type": "string"
1627
+ }
1628
+ },
1629
+ {
1630
+ "name": "count",
1631
+ "in": "query",
1632
+ "description": "count",
1633
+ "required": true,
1634
+ "style": "form",
1635
+ "explode": true,
1636
+ "schema": {
1637
+ "type": "string"
1638
+ }
1639
+ },
1640
+ {
1641
+ "name": "add_summary_to_metadata",
1642
+ "in": "query",
1643
+ "description": "add_summary_to_metadata",
1644
+ "required": true,
1645
+ "style": "form",
1646
+ "explode": true,
1647
+ "schema": {
1648
+ "type": "string"
1649
+ }
1650
+ },
1651
+ {
1652
+ "name": "search",
1653
+ "in": "query",
1654
+ "description": "search",
1655
+ "required": true,
1656
+ "style": "form",
1657
+ "explode": true,
1658
+ "schema": {
1659
+ "type": "string"
1660
+ }
1661
+ }
1662
+ ],
1663
+ "responses": {
1664
+ "200": {
1665
+ "description": "successful operation",
1666
+ "headers": {},
1667
+ "content": {}
1668
+ },
1669
+ "400": {
1670
+ "description": "failed operation",
1671
+ "headers": {},
1672
+ "content": {}
1673
+ }
1674
+ },
1675
+ "deprecated": false
1676
+ }
1677
+ },
1678
+ "/services/search/jobs/{search_id}/search.log": {
1679
+ "get": {
1680
+ "tags": [
1681
+ "default"
1682
+ ],
1683
+ "summary": "getSearchJobsSearchLogs",
1684
+ "description": "getSearchJobsSearchLogs",
1685
+ "operationId": "getSearchJobsSearchLogs",
1686
+ "parameters": [
1687
+ {
1688
+ "name": "search_id",
1689
+ "in": "path",
1690
+ "description": "search_id",
1691
+ "required": true,
1692
+ "style": "simple",
1693
+ "schema": {
1694
+ "type": "string"
1695
+ }
1696
+ },
1697
+ {
1698
+ "name": "attachment",
1699
+ "in": "query",
1700
+ "description": "attachment",
1701
+ "required": true,
1702
+ "style": "form",
1703
+ "explode": true,
1704
+ "schema": {
1705
+ "type": "string"
1706
+ }
1707
+ }
1708
+ ],
1709
+ "responses": {
1710
+ "200": {
1711
+ "description": "successful operation",
1712
+ "headers": {},
1713
+ "content": {}
1714
+ },
1715
+ "400": {
1716
+ "description": "failed operation",
1717
+ "headers": {},
1718
+ "content": {}
1719
+ }
1720
+ },
1721
+ "deprecated": false
1722
+ }
1723
+ },
1724
+ "/services/search/jobs/{search_id}/summary": {
1725
+ "get": {
1726
+ "tags": [
1727
+ "default"
1728
+ ],
1729
+ "summary": "getSearchJobsbyIdSummary",
1730
+ "description": "getSearchJobsbyIdSummary",
1731
+ "operationId": "getSearchJobsbyIdSummary",
1732
+ "parameters": [
1733
+ {
1734
+ "name": "search_id",
1735
+ "in": "path",
1736
+ "description": "search_id",
1737
+ "required": true,
1738
+ "style": "simple",
1739
+ "schema": {
1740
+ "type": "string"
1741
+ }
1742
+ }
1743
+ ],
1744
+ "responses": {
1745
+ "200": {
1746
+ "description": "successful operation",
1747
+ "headers": {},
1748
+ "content": {}
1749
+ },
1750
+ "400": {
1751
+ "description": "failed operation",
1752
+ "headers": {},
1753
+ "content": {}
1754
+ }
1755
+ },
1756
+ "deprecated": false
1757
+ }
1758
+ },
1759
+ "/services/search/jobs/{search_id}/timeline": {
1760
+ "get": {
1761
+ "tags": [
1762
+ "default"
1763
+ ],
1764
+ "summary": "getSearchJobsByIdTimeline",
1765
+ "description": "getSearchJobsByIdTimeline",
1766
+ "operationId": "getSearchJobsByIdTimeline",
1767
+ "parameters": [
1768
+ {
1769
+ "name": "search_id",
1770
+ "in": "path",
1771
+ "description": "search_id",
1772
+ "required": true,
1773
+ "style": "simple",
1774
+ "schema": {
1775
+ "type": "string"
1776
+ }
1777
+ },
1778
+ {
1779
+ "name": "output_time_format",
1780
+ "in": "query",
1781
+ "description": "output_time_format",
1782
+ "required": true,
1783
+ "style": "form",
1784
+ "explode": true,
1785
+ "schema": {
1786
+ "type": "string"
1787
+ }
1788
+ },
1789
+ {
1790
+ "name": "time_format",
1791
+ "in": "query",
1792
+ "description": "time_format",
1793
+ "required": true,
1794
+ "style": "form",
1795
+ "explode": true,
1796
+ "schema": {
1797
+ "type": "string"
1798
+ }
1799
+ }
1800
+ ],
1801
+ "responses": {
1802
+ "200": {
1803
+ "description": "successful operation",
1804
+ "headers": {},
1805
+ "content": {}
1806
+ },
1807
+ "400": {
1808
+ "description": "failed operation",
1809
+ "headers": {},
1810
+ "content": {}
1811
+ }
1812
+ },
1813
+ "deprecated": false
1814
+ }
1815
+ },
1816
+ "/services/search/parser": {
1817
+ "get": {
1818
+ "tags": [
1819
+ "default"
1820
+ ],
1821
+ "summary": "getSearchParser",
1822
+ "description": "getSearchParser",
1823
+ "operationId": "getSearchParser",
1824
+ "parameters": [
1825
+ {
1826
+ "name": "q",
1827
+ "in": "query",
1828
+ "description": "q",
1829
+ "required": true,
1830
+ "style": "form",
1831
+ "explode": true,
1832
+ "schema": {
1833
+ "type": "string"
1834
+ }
1835
+ }
1836
+ ],
1837
+ "responses": {
1838
+ "200": {
1839
+ "description": "successful operation",
1840
+ "headers": {},
1841
+ "content": {}
1842
+ },
1843
+ "400": {
1844
+ "description": "failed operation",
1845
+ "headers": {},
1846
+ "content": {}
1847
+ }
1848
+ },
1849
+ "deprecated": false
1850
+ }
1851
+ },
1852
+ "/services/search/scheduler": {
1853
+ "get": {
1854
+ "tags": [
1855
+ "default"
1856
+ ],
1857
+ "summary": "getSearchScheduler",
1858
+ "description": "getSearchScheduler",
1859
+ "operationId": "getSearchScheduler",
1860
+ "parameters": [],
1861
+ "responses": {
1862
+ "200": {
1863
+ "description": "successful operation",
1864
+ "headers": {},
1865
+ "content": {}
1866
+ },
1867
+ "400": {
1868
+ "description": "failed operation",
1869
+ "headers": {},
1870
+ "content": {}
1871
+ }
1872
+ },
1873
+ "deprecated": false
1874
+ }
1875
+ },
1876
+ "/services/search/scheduler/status": {
1877
+ "post": {
1878
+ "tags": [
1879
+ "default"
1880
+ ],
1881
+ "summary": "postSearchSchedulerStatus",
1882
+ "description": "postSearchSchedulerStatus",
1883
+ "operationId": "postSearchSchedulerStatus",
1884
+ "parameters": [],
1885
+ "requestBody": {
1886
+ "description": "body",
1887
+ "content": {
1888
+ "*/*": {
1889
+ "schema": {
1890
+ "description": "body",
1891
+ "example": {
1892
+ "disabled": false
1893
+ }
1894
+ },
1895
+ "example": {
1896
+ "disabled": false
1897
+ }
1898
+ }
1899
+ },
1900
+ "required": true
1901
+ },
1902
+ "responses": {
1903
+ "200": {
1904
+ "description": "successful operation",
1905
+ "headers": {},
1906
+ "content": {}
1907
+ },
1908
+ "400": {
1909
+ "description": "failed operation",
1910
+ "headers": {},
1911
+ "content": {}
1912
+ }
1913
+ },
1914
+ "deprecated": false
1915
+ }
1916
+ },
1917
+ "/services/search/timeparse": {
1918
+ "get": {
1919
+ "tags": [
1920
+ "default"
1921
+ ],
1922
+ "summary": "getSearchTimerParser",
1923
+ "description": "getSearchTimerParser",
1924
+ "operationId": "getSearchTimerParser",
1925
+ "parameters": [
1926
+ {
1927
+ "name": "time",
1928
+ "in": "query",
1929
+ "description": "time",
1930
+ "required": true,
1931
+ "style": "form",
1932
+ "explode": true,
1933
+ "schema": {
1934
+ "type": "string"
1935
+ }
1936
+ }
1937
+ ],
1938
+ "responses": {
1939
+ "200": {
1940
+ "description": "successful operation",
1941
+ "headers": {},
1942
+ "content": {}
1943
+ },
1944
+ "400": {
1945
+ "description": "failed operation",
1946
+ "headers": {},
1947
+ "content": {}
1948
+ }
1949
+ },
1950
+ "deprecated": false
1951
+ }
1952
+ },
1953
+ "/services/search/typeahead": {
1954
+ "get": {
1955
+ "tags": [
1956
+ "default"
1957
+ ],
1958
+ "summary": "getSearchTypeHead",
1959
+ "description": "getSearchTypeHead",
1960
+ "operationId": "getSearchTypeHead",
1961
+ "parameters": [
1962
+ {
1963
+ "name": "count",
1964
+ "in": "query",
1965
+ "description": "count",
1966
+ "required": true,
1967
+ "style": "form",
1968
+ "explode": true,
1969
+ "schema": {
1970
+ "type": "string"
1971
+ }
1972
+ },
1973
+ {
1974
+ "name": "prefix",
1975
+ "in": "query",
1976
+ "description": "prefix",
1977
+ "required": true,
1978
+ "style": "form",
1979
+ "explode": true,
1980
+ "schema": {
1981
+ "type": "string"
1982
+ }
1983
+ }
1984
+ ],
1985
+ "responses": {
1986
+ "200": {
1987
+ "description": "successful operation",
1988
+ "headers": {},
1989
+ "content": {}
1990
+ },
1991
+ "400": {
1992
+ "description": "failed operation",
1993
+ "headers": {},
1994
+ "content": {}
1995
+ }
1996
+ },
1997
+ "deprecated": false
1998
+ }
1999
+ },
2000
+ "/services/admin/-/alerts/alert_actions": {
2001
+ "get": {
2002
+ "tags": [
2003
+ "default"
2004
+ ],
2005
+ "summary": "getAlertActions",
2006
+ "description": "getAlertActions",
2007
+ "operationId": "getAlertActions",
2008
+ "parameters": [
2009
+ {
2010
+ "name": "count",
2011
+ "in": "query",
2012
+ "description": "count",
2013
+ "required": true,
2014
+ "style": "form",
2015
+ "explode": true,
2016
+ "schema": {
2017
+ "type": "string"
2018
+ }
2019
+ },
2020
+ {
2021
+ "name": "f",
2022
+ "in": "query",
2023
+ "description": "f",
2024
+ "required": true,
2025
+ "style": "form",
2026
+ "explode": true,
2027
+ "schema": {
2028
+ "type": "string"
2029
+ }
2030
+ },
2031
+ {
2032
+ "name": "offset",
2033
+ "in": "query",
2034
+ "description": "offset",
2035
+ "required": true,
2036
+ "style": "form",
2037
+ "explode": true,
2038
+ "schema": {
2039
+ "type": "string"
2040
+ }
2041
+ },
2042
+ {
2043
+ "name": "search",
2044
+ "in": "query",
2045
+ "description": "search",
2046
+ "required": true,
2047
+ "style": "form",
2048
+ "explode": true,
2049
+ "schema": {
2050
+ "type": "string"
2051
+ }
2052
+ },
2053
+ {
2054
+ "name": "sort_dir",
2055
+ "in": "query",
2056
+ "description": "sort_dir",
2057
+ "required": true,
2058
+ "style": "form",
2059
+ "explode": true,
2060
+ "schema": {
2061
+ "type": "string"
2062
+ }
2063
+ },
2064
+ {
2065
+ "name": "sort_key",
2066
+ "in": "query",
2067
+ "description": "sort_key",
2068
+ "required": true,
2069
+ "style": "form",
2070
+ "explode": true,
2071
+ "schema": {
2072
+ "type": "string"
2073
+ }
2074
+ },
2075
+ {
2076
+ "name": "sort_mode",
2077
+ "in": "query",
2078
+ "description": "sort_mode",
2079
+ "required": true,
2080
+ "style": "form",
2081
+ "explode": true,
2082
+ "schema": {
2083
+ "type": "string"
2084
+ }
2085
+ },
2086
+ {
2087
+ "name": "summarize",
2088
+ "in": "query",
2089
+ "description": "summarize",
2090
+ "required": true,
2091
+ "style": "form",
2092
+ "explode": true,
2093
+ "schema": {
2094
+ "type": "string"
2095
+ }
2096
+ }
2097
+ ],
2098
+ "responses": {
2099
+ "200": {
2100
+ "description": "successful operation",
2101
+ "headers": {},
2102
+ "content": {}
2103
+ },
2104
+ "400": {
2105
+ "description": "failed operation",
2106
+ "headers": {},
2107
+ "content": {}
2108
+ }
2109
+ },
2110
+ "deprecated": false
2111
+ }
2112
+ },
2113
+ "/services/admin/search/alerts/fired_alerts": {
2114
+ "get": {
2115
+ "tags": [
2116
+ "default"
2117
+ ],
2118
+ "summary": "getFiredAlerts",
2119
+ "description": "getFiredAlerts",
2120
+ "operationId": "getFiredAlerts",
2121
+ "parameters": [
2122
+ {
2123
+ "name": "count",
2124
+ "in": "query",
2125
+ "description": "count",
2126
+ "required": true,
2127
+ "style": "form",
2128
+ "explode": true,
2129
+ "schema": {
2130
+ "type": "string"
2131
+ }
2132
+ },
2133
+ {
2134
+ "name": "f",
2135
+ "in": "query",
2136
+ "description": "f",
2137
+ "required": true,
2138
+ "style": "form",
2139
+ "explode": true,
2140
+ "schema": {
2141
+ "type": "string"
2142
+ }
2143
+ },
2144
+ {
2145
+ "name": "offset",
2146
+ "in": "query",
2147
+ "description": "offset",
2148
+ "required": true,
2149
+ "style": "form",
2150
+ "explode": true,
2151
+ "schema": {
2152
+ "type": "string"
2153
+ }
2154
+ },
2155
+ {
2156
+ "name": "search",
2157
+ "in": "query",
2158
+ "description": "search",
2159
+ "required": true,
2160
+ "style": "form",
2161
+ "explode": true,
2162
+ "schema": {
2163
+ "type": "string"
2164
+ }
2165
+ },
2166
+ {
2167
+ "name": "sort_dir",
2168
+ "in": "query",
2169
+ "description": "sort_dir",
2170
+ "required": true,
2171
+ "style": "form",
2172
+ "explode": true,
2173
+ "schema": {
2174
+ "type": "string"
2175
+ }
2176
+ },
2177
+ {
2178
+ "name": "sort_key",
2179
+ "in": "query",
2180
+ "description": "sort_key",
2181
+ "required": true,
2182
+ "style": "form",
2183
+ "explode": true,
2184
+ "schema": {
2185
+ "type": "string"
2186
+ }
2187
+ },
2188
+ {
2189
+ "name": "sort_mode",
2190
+ "in": "query",
2191
+ "description": "sort_mode",
2192
+ "required": true,
2193
+ "style": "form",
2194
+ "explode": true,
2195
+ "schema": {
2196
+ "type": "string"
2197
+ }
2198
+ },
2199
+ {
2200
+ "name": "summarize",
2201
+ "in": "query",
2202
+ "description": "summarize",
2203
+ "required": true,
2204
+ "style": "form",
2205
+ "explode": true,
2206
+ "schema": {
2207
+ "type": "string"
2208
+ }
2209
+ }
2210
+ ],
2211
+ "responses": {
2212
+ "200": {
2213
+ "description": "successful operation",
2214
+ "headers": {},
2215
+ "content": {}
2216
+ },
2217
+ "400": {
2218
+ "description": "failed operation",
2219
+ "headers": {},
2220
+ "content": {}
2221
+ }
2222
+ },
2223
+ "deprecated": false
2224
+ }
2225
+ },
2226
+ "/services/admin/search/alerts/fired_alerts/{name}": {
2227
+ "get": {
2228
+ "tags": [
2229
+ "default"
2230
+ ],
2231
+ "summary": "getFiredAlertsbyName",
2232
+ "description": "getFiredAlertsbyName",
2233
+ "operationId": "getFiredAlertsbyName",
2234
+ "parameters": [
2235
+ {
2236
+ "name": "name",
2237
+ "in": "path",
2238
+ "description": "name",
2239
+ "required": true,
2240
+ "style": "simple",
2241
+ "schema": {
2242
+ "type": "string"
2243
+ }
2244
+ }
2245
+ ],
2246
+ "responses": {
2247
+ "200": {
2248
+ "description": "successful operation",
2249
+ "headers": {},
2250
+ "content": {}
2251
+ },
2252
+ "400": {
2253
+ "description": "failed operation",
2254
+ "headers": {},
2255
+ "content": {}
2256
+ }
2257
+ },
2258
+ "deprecated": false
2259
+ },
2260
+ "delete": {
2261
+ "tags": [
2262
+ "default"
2263
+ ],
2264
+ "summary": "deleteFiredAlertsByName",
2265
+ "description": "deleteFiredAlertsByName",
2266
+ "operationId": "deleteFiredAlertsByName",
2267
+ "parameters": [
2268
+ {
2269
+ "name": "name",
2270
+ "in": "path",
2271
+ "description": "name",
2272
+ "required": true,
2273
+ "style": "simple",
2274
+ "schema": {
2275
+ "type": "string"
2276
+ }
2277
+ }
2278
+ ],
2279
+ "responses": {
2280
+ "200": {
2281
+ "description": "successful operation",
2282
+ "headers": {},
2283
+ "content": {}
2284
+ },
2285
+ "400": {
2286
+ "description": "failed operation",
2287
+ "headers": {},
2288
+ "content": {}
2289
+ }
2290
+ },
2291
+ "deprecated": false
2292
+ }
2293
+ },
2294
+ "/services/nobody/search/data/commands": {
2295
+ "get": {
2296
+ "tags": [
2297
+ "default"
2298
+ ],
2299
+ "summary": "getDataCommands",
2300
+ "description": "getDataCommands",
2301
+ "operationId": "getDataCommands",
2302
+ "parameters": [],
2303
+ "responses": {
2304
+ "200": {
2305
+ "description": "successful operation",
2306
+ "headers": {},
2307
+ "content": {}
2308
+ },
2309
+ "400": {
2310
+ "description": "failed operation",
2311
+ "headers": {},
2312
+ "content": {}
2313
+ }
2314
+ },
2315
+ "deprecated": false
2316
+ }
2317
+ }
2318
+ },
2319
+ "components": {
2320
+ "schemas": {
2321
+ "Content-Type": {
2322
+ "title": "Content-Type",
2323
+ "enum": [
2324
+ "*/*"
2325
+ ],
2326
+ "type": "string"
2327
+ }
2328
+ }
2329
+ },
2330
+ "tags": [
2331
+ {
2332
+ "name": "default",
2333
+ "description": ""
2334
+ }
2335
+ ],
2336
+ "externalDocs": {
2337
+ "description": "Find out more about the OpenAPI Initiative",
2338
+ "url": "https://www.openapis.org/"
2339
+ }
2340
+ }