@snokam/mcp-api 2.10.0 → 2.12.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.
- package/package.json +1 -1
- package/specs/production/sales.json +2082 -460
- package/specs/test/sales.json +2082 -460
|
@@ -248,23 +248,13 @@
|
|
|
248
248
|
]
|
|
249
249
|
}
|
|
250
250
|
},
|
|
251
|
-
"/v1.0/
|
|
251
|
+
"/v1.0/scan/sites": {
|
|
252
252
|
"post": {
|
|
253
253
|
"tags": [
|
|
254
|
-
"
|
|
255
|
-
],
|
|
256
|
-
"summary": "Re-fetch all emails since N days ago and re-ingest them so raw content is stored as source_email blobs",
|
|
257
|
-
"operationId": "ReprocessEmails",
|
|
258
|
-
"parameters": [
|
|
259
|
-
{
|
|
260
|
-
"name": "daysSince",
|
|
261
|
-
"in": "query",
|
|
262
|
-
"description": "Number of days back to fetch emails (default: 90)",
|
|
263
|
-
"schema": {
|
|
264
|
-
"type": "string"
|
|
265
|
-
}
|
|
266
|
-
}
|
|
254
|
+
"Scan"
|
|
267
255
|
],
|
|
256
|
+
"summary": "Trigger an agentic site scan immediately over all configured sources",
|
|
257
|
+
"operationId": "TriggerSiteScan",
|
|
268
258
|
"responses": {
|
|
269
259
|
"200": {
|
|
270
260
|
"description": "Payload of Object",
|
|
@@ -276,21 +266,28 @@
|
|
|
276
266
|
}
|
|
277
267
|
}
|
|
278
268
|
}
|
|
279
|
-
}
|
|
269
|
+
},
|
|
270
|
+
"security": [
|
|
271
|
+
{
|
|
272
|
+
"Implicit": [
|
|
273
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
274
|
+
]
|
|
275
|
+
}
|
|
276
|
+
]
|
|
280
277
|
}
|
|
281
278
|
},
|
|
282
|
-
"/v1.0/
|
|
283
|
-
"
|
|
279
|
+
"/v1.0/admin/reprocess-emails": {
|
|
280
|
+
"post": {
|
|
284
281
|
"tags": [
|
|
285
|
-
"
|
|
282
|
+
"Admin"
|
|
286
283
|
],
|
|
287
|
-
"summary": "
|
|
288
|
-
"operationId": "
|
|
284
|
+
"summary": "Re-fetch all emails since N days ago and re-ingest them so raw content is stored as source_email blobs",
|
|
285
|
+
"operationId": "ReprocessEmails",
|
|
289
286
|
"parameters": [
|
|
290
287
|
{
|
|
291
|
-
"name": "
|
|
292
|
-
"in": "
|
|
293
|
-
"
|
|
288
|
+
"name": "daysSince",
|
|
289
|
+
"in": "query",
|
|
290
|
+
"description": "Number of days back to fetch emails (default: 90)",
|
|
294
291
|
"schema": {
|
|
295
292
|
"type": "string"
|
|
296
293
|
}
|
|
@@ -298,59 +295,46 @@
|
|
|
298
295
|
],
|
|
299
296
|
"responses": {
|
|
300
297
|
"200": {
|
|
301
|
-
"description": "Payload of
|
|
298
|
+
"description": "Payload of Object",
|
|
302
299
|
"content": {
|
|
303
300
|
"application/json": {
|
|
304
301
|
"schema": {
|
|
305
|
-
"type": "
|
|
306
|
-
"items": {
|
|
307
|
-
"$ref": "#/components/schemas/tenderDocument"
|
|
308
|
-
}
|
|
302
|
+
"type": "object"
|
|
309
303
|
}
|
|
310
304
|
}
|
|
311
305
|
}
|
|
312
|
-
},
|
|
313
|
-
"404": {
|
|
314
|
-
"description": "No description"
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
"security": [
|
|
318
|
-
{
|
|
319
|
-
"Implicit": [
|
|
320
|
-
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
321
|
-
]
|
|
322
306
|
}
|
|
323
|
-
|
|
324
|
-
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"/v1.0/crawl/jobs/reap-zombies": {
|
|
325
311
|
"post": {
|
|
326
312
|
"tags": [
|
|
327
|
-
"
|
|
313
|
+
"Crawl"
|
|
328
314
|
],
|
|
329
|
-
"summary": "
|
|
330
|
-
"operationId": "
|
|
315
|
+
"summary": "Manually fail pending/running jobs older than 15 min (same logic as the every-5-min timer)",
|
|
316
|
+
"operationId": "ReapZombieJobsManual",
|
|
331
317
|
"parameters": [
|
|
332
318
|
{
|
|
333
|
-
"name": "
|
|
334
|
-
"in": "
|
|
335
|
-
"
|
|
319
|
+
"name": "thresholdMinutes",
|
|
320
|
+
"in": "query",
|
|
321
|
+
"description": "Override the 15 min threshold (1-180)",
|
|
336
322
|
"schema": {
|
|
337
|
-
"type": "
|
|
323
|
+
"type": "integer",
|
|
324
|
+
"format": "int32"
|
|
338
325
|
}
|
|
339
326
|
}
|
|
340
327
|
],
|
|
341
328
|
"responses": {
|
|
342
329
|
"200": {
|
|
343
|
-
"description": "Payload of
|
|
330
|
+
"description": "Payload of ZombieReapResult",
|
|
344
331
|
"content": {
|
|
345
332
|
"application/json": {
|
|
346
333
|
"schema": {
|
|
347
|
-
"$ref": "#/components/schemas/
|
|
334
|
+
"$ref": "#/components/schemas/zombieReapResult"
|
|
348
335
|
}
|
|
349
336
|
}
|
|
350
337
|
}
|
|
351
|
-
},
|
|
352
|
-
"404": {
|
|
353
|
-
"description": "No description"
|
|
354
338
|
}
|
|
355
339
|
},
|
|
356
340
|
"security": [
|
|
@@ -362,16 +346,16 @@
|
|
|
362
346
|
]
|
|
363
347
|
}
|
|
364
348
|
},
|
|
365
|
-
"/v1.0/tenders/{
|
|
349
|
+
"/v1.0/tenders/{tenderId}/audit": {
|
|
366
350
|
"get": {
|
|
367
351
|
"tags": [
|
|
368
|
-
"
|
|
352
|
+
"Audit"
|
|
369
353
|
],
|
|
370
|
-
"summary": "
|
|
371
|
-
"operationId": "
|
|
354
|
+
"summary": "Recent audit events for a single tender, newest first",
|
|
355
|
+
"operationId": "GetTenderAudit",
|
|
372
356
|
"parameters": [
|
|
373
357
|
{
|
|
374
|
-
"name": "
|
|
358
|
+
"name": "tenderId",
|
|
375
359
|
"in": "path",
|
|
376
360
|
"required": true,
|
|
377
361
|
"schema": {
|
|
@@ -379,27 +363,28 @@
|
|
|
379
363
|
}
|
|
380
364
|
},
|
|
381
365
|
{
|
|
382
|
-
"name": "
|
|
383
|
-
"in": "
|
|
384
|
-
"
|
|
366
|
+
"name": "limit",
|
|
367
|
+
"in": "query",
|
|
368
|
+
"description": "Max events to return (default 50, max 500)",
|
|
385
369
|
"schema": {
|
|
386
|
-
"type": "
|
|
370
|
+
"type": "integer",
|
|
371
|
+
"format": "int32"
|
|
387
372
|
}
|
|
388
373
|
}
|
|
389
374
|
],
|
|
390
375
|
"responses": {
|
|
391
376
|
"200": {
|
|
392
|
-
"description": "Payload of
|
|
377
|
+
"description": "Payload of Array of AuditEvent",
|
|
393
378
|
"content": {
|
|
394
379
|
"application/json": {
|
|
395
380
|
"schema": {
|
|
396
|
-
"type": "
|
|
381
|
+
"type": "array",
|
|
382
|
+
"items": {
|
|
383
|
+
"$ref": "#/components/schemas/auditEvent"
|
|
384
|
+
}
|
|
397
385
|
}
|
|
398
386
|
}
|
|
399
387
|
}
|
|
400
|
-
},
|
|
401
|
-
"404": {
|
|
402
|
-
"description": "No description"
|
|
403
388
|
}
|
|
404
389
|
},
|
|
405
390
|
"security": [
|
|
@@ -411,45 +396,46 @@
|
|
|
411
396
|
]
|
|
412
397
|
}
|
|
413
398
|
},
|
|
414
|
-
"/v1.0/
|
|
399
|
+
"/v1.0/audit/recent": {
|
|
415
400
|
"get": {
|
|
416
401
|
"tags": [
|
|
417
|
-
"
|
|
402
|
+
"Audit"
|
|
418
403
|
],
|
|
419
|
-
"summary": "
|
|
420
|
-
"operationId": "
|
|
404
|
+
"summary": "Recent audit events across all tenders, newest first",
|
|
405
|
+
"operationId": "GetRecentAudit",
|
|
421
406
|
"parameters": [
|
|
422
407
|
{
|
|
423
|
-
"name": "
|
|
424
|
-
"in": "
|
|
425
|
-
"
|
|
408
|
+
"name": "limit",
|
|
409
|
+
"in": "query",
|
|
410
|
+
"description": "Max events to return (default 100, max 1000)",
|
|
426
411
|
"schema": {
|
|
427
|
-
"type": "
|
|
412
|
+
"type": "integer",
|
|
413
|
+
"format": "int32"
|
|
428
414
|
}
|
|
429
415
|
},
|
|
430
416
|
{
|
|
431
|
-
"name": "
|
|
432
|
-
"in": "
|
|
433
|
-
"
|
|
417
|
+
"name": "sinceHours",
|
|
418
|
+
"in": "query",
|
|
419
|
+
"description": "Only events from the last N hours (default 24)",
|
|
434
420
|
"schema": {
|
|
435
|
-
"type": "
|
|
421
|
+
"type": "integer",
|
|
422
|
+
"format": "int32"
|
|
436
423
|
}
|
|
437
424
|
}
|
|
438
425
|
],
|
|
439
426
|
"responses": {
|
|
440
427
|
"200": {
|
|
441
|
-
"description": "Payload of Array of
|
|
428
|
+
"description": "Payload of Array of AuditEvent",
|
|
442
429
|
"content": {
|
|
443
|
-
"application/
|
|
430
|
+
"application/json": {
|
|
444
431
|
"schema": {
|
|
445
|
-
"type": "
|
|
446
|
-
"
|
|
432
|
+
"type": "array",
|
|
433
|
+
"items": {
|
|
434
|
+
"$ref": "#/components/schemas/auditEvent"
|
|
435
|
+
}
|
|
447
436
|
}
|
|
448
437
|
}
|
|
449
438
|
}
|
|
450
|
-
},
|
|
451
|
-
"404": {
|
|
452
|
-
"description": "No description"
|
|
453
439
|
}
|
|
454
440
|
},
|
|
455
441
|
"security": [
|
|
@@ -461,37 +447,26 @@
|
|
|
461
447
|
]
|
|
462
448
|
}
|
|
463
449
|
},
|
|
464
|
-
"/v1.0/
|
|
450
|
+
"/v1.0/crawl/sources": {
|
|
465
451
|
"get": {
|
|
466
452
|
"tags": [
|
|
467
|
-
"
|
|
468
|
-
],
|
|
469
|
-
"summary": "Download all tender documents as a ZIP archive",
|
|
470
|
-
"operationId": "DownloadAllDocuments",
|
|
471
|
-
"parameters": [
|
|
472
|
-
{
|
|
473
|
-
"name": "id",
|
|
474
|
-
"in": "path",
|
|
475
|
-
"required": true,
|
|
476
|
-
"schema": {
|
|
477
|
-
"type": "string"
|
|
478
|
-
}
|
|
479
|
-
}
|
|
453
|
+
"Crawl"
|
|
480
454
|
],
|
|
455
|
+
"summary": "List configured crawl sources together with their learned patterns and last-activity timestamp",
|
|
456
|
+
"operationId": "ListCrawlSources",
|
|
481
457
|
"responses": {
|
|
482
458
|
"200": {
|
|
483
|
-
"description": "Payload of Array of
|
|
459
|
+
"description": "Payload of Array of CrawlSourceWithPattern",
|
|
484
460
|
"content": {
|
|
485
|
-
"application/
|
|
461
|
+
"application/json": {
|
|
486
462
|
"schema": {
|
|
487
|
-
"type": "
|
|
488
|
-
"
|
|
463
|
+
"type": "array",
|
|
464
|
+
"items": {
|
|
465
|
+
"$ref": "#/components/schemas/crawlSourceWithPattern"
|
|
466
|
+
}
|
|
489
467
|
}
|
|
490
468
|
}
|
|
491
469
|
}
|
|
492
|
-
},
|
|
493
|
-
"404": {
|
|
494
|
-
"description": "No description"
|
|
495
470
|
}
|
|
496
471
|
},
|
|
497
472
|
"security": [
|
|
@@ -503,53 +478,34 @@
|
|
|
503
478
|
]
|
|
504
479
|
}
|
|
505
480
|
},
|
|
506
|
-
"/v1.0/
|
|
507
|
-
"
|
|
481
|
+
"/v1.0/crawl/sources/{name}": {
|
|
482
|
+
"put": {
|
|
508
483
|
"tags": [
|
|
509
|
-
"
|
|
510
|
-
],
|
|
511
|
-
"summary": "Patch tender document flags (e.g. set as competence matrix source)",
|
|
512
|
-
"operationId": "PatchTenderDocument",
|
|
513
|
-
"parameters": [
|
|
514
|
-
{
|
|
515
|
-
"name": "id",
|
|
516
|
-
"in": "path",
|
|
517
|
-
"required": true,
|
|
518
|
-
"schema": {
|
|
519
|
-
"type": "string"
|
|
520
|
-
}
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"name": "docId",
|
|
524
|
-
"in": "path",
|
|
525
|
-
"required": true,
|
|
526
|
-
"schema": {
|
|
527
|
-
"type": "string"
|
|
528
|
-
}
|
|
529
|
-
}
|
|
484
|
+
"Crawl"
|
|
530
485
|
],
|
|
486
|
+
"summary": "Create or update a crawl source",
|
|
487
|
+
"operationId": "UpsertCrawlSource",
|
|
531
488
|
"requestBody": {
|
|
532
489
|
"content": {
|
|
533
490
|
"application/json": {
|
|
534
491
|
"schema": {
|
|
535
|
-
"$ref": "#/components/schemas/
|
|
492
|
+
"$ref": "#/components/schemas/crawlSourceUpsertRequest"
|
|
536
493
|
}
|
|
537
494
|
}
|
|
538
|
-
}
|
|
539
|
-
"required": true
|
|
495
|
+
}
|
|
540
496
|
},
|
|
541
497
|
"responses": {
|
|
542
498
|
"200": {
|
|
543
|
-
"description": "Payload of
|
|
499
|
+
"description": "Payload of CrawlSourceConfig",
|
|
544
500
|
"content": {
|
|
545
501
|
"application/json": {
|
|
546
502
|
"schema": {
|
|
547
|
-
"$ref": "#/components/schemas/
|
|
503
|
+
"$ref": "#/components/schemas/crawlSourceConfig"
|
|
548
504
|
}
|
|
549
505
|
}
|
|
550
506
|
}
|
|
551
507
|
},
|
|
552
|
-
"
|
|
508
|
+
"400": {
|
|
553
509
|
"description": "No description"
|
|
554
510
|
}
|
|
555
511
|
},
|
|
@@ -563,34 +519,34 @@
|
|
|
563
519
|
},
|
|
564
520
|
"delete": {
|
|
565
521
|
"tags": [
|
|
566
|
-
"
|
|
522
|
+
"Crawl"
|
|
567
523
|
],
|
|
568
|
-
"summary": "Delete a
|
|
569
|
-
"operationId": "
|
|
570
|
-
"
|
|
571
|
-
{
|
|
572
|
-
"
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
"type": "string"
|
|
577
|
-
}
|
|
578
|
-
},
|
|
524
|
+
"summary": "Delete a crawl source and its cached pattern",
|
|
525
|
+
"operationId": "DeleteCrawlSource",
|
|
526
|
+
"responses": {
|
|
527
|
+
"204": {
|
|
528
|
+
"description": "No description"
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"security": [
|
|
579
532
|
{
|
|
580
|
-
"
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
"schema": {
|
|
584
|
-
"type": "string"
|
|
585
|
-
}
|
|
533
|
+
"Implicit": [
|
|
534
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
535
|
+
]
|
|
586
536
|
}
|
|
537
|
+
]
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"/v1.0/crawl/sources/{name}/pattern": {
|
|
541
|
+
"delete": {
|
|
542
|
+
"tags": [
|
|
543
|
+
"Crawl"
|
|
587
544
|
],
|
|
545
|
+
"summary": "Drop the cached URL pattern for a source so the next scan re-bootstraps it",
|
|
546
|
+
"operationId": "InvalidateCrawlPattern",
|
|
588
547
|
"responses": {
|
|
589
548
|
"204": {
|
|
590
549
|
"description": "No description"
|
|
591
|
-
},
|
|
592
|
-
"404": {
|
|
593
|
-
"description": "No description"
|
|
594
550
|
}
|
|
595
551
|
},
|
|
596
552
|
"security": [
|
|
@@ -602,44 +558,32 @@
|
|
|
602
558
|
]
|
|
603
559
|
}
|
|
604
560
|
},
|
|
605
|
-
"/v1.0/
|
|
561
|
+
"/v1.0/crawl/discover-listing": {
|
|
606
562
|
"post": {
|
|
607
563
|
"tags": [
|
|
608
|
-
"
|
|
564
|
+
"Crawl"
|
|
609
565
|
],
|
|
610
|
-
"summary": "
|
|
611
|
-
"operationId": "
|
|
612
|
-
"
|
|
613
|
-
{
|
|
614
|
-
"
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
"type": "string"
|
|
619
|
-
}
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"name": "docId",
|
|
623
|
-
"in": "path",
|
|
624
|
-
"required": true,
|
|
625
|
-
"schema": {
|
|
626
|
-
"type": "string"
|
|
566
|
+
"summary": "Given a site homepage or bare domain, locate the tender/project listing page on it",
|
|
567
|
+
"operationId": "DiscoverCrawlListing",
|
|
568
|
+
"requestBody": {
|
|
569
|
+
"content": {
|
|
570
|
+
"application/json": {
|
|
571
|
+
"schema": {
|
|
572
|
+
"$ref": "#/components/schemas/discoverListingRequest"
|
|
573
|
+
}
|
|
627
574
|
}
|
|
628
575
|
}
|
|
629
|
-
|
|
576
|
+
},
|
|
630
577
|
"responses": {
|
|
631
|
-
"
|
|
632
|
-
"description": "Payload of
|
|
578
|
+
"200": {
|
|
579
|
+
"description": "Payload of DiscoverListingResponse",
|
|
633
580
|
"content": {
|
|
634
581
|
"application/json": {
|
|
635
582
|
"schema": {
|
|
636
|
-
"
|
|
583
|
+
"$ref": "#/components/schemas/discoverListingResponse"
|
|
637
584
|
}
|
|
638
585
|
}
|
|
639
586
|
}
|
|
640
|
-
},
|
|
641
|
-
"404": {
|
|
642
|
-
"description": "No description"
|
|
643
587
|
}
|
|
644
588
|
},
|
|
645
589
|
"security": [
|
|
@@ -651,48 +595,20 @@
|
|
|
651
595
|
]
|
|
652
596
|
}
|
|
653
597
|
},
|
|
654
|
-
"/v1.0/
|
|
598
|
+
"/v1.0/crawl/sources/{name}/scan": {
|
|
655
599
|
"post": {
|
|
656
600
|
"tags": [
|
|
657
|
-
"
|
|
601
|
+
"Crawl"
|
|
658
602
|
],
|
|
659
|
-
"summary": "
|
|
660
|
-
"operationId": "
|
|
661
|
-
"parameters": [
|
|
662
|
-
{
|
|
663
|
-
"name": "id",
|
|
664
|
-
"in": "path",
|
|
665
|
-
"required": true,
|
|
666
|
-
"schema": {
|
|
667
|
-
"type": "string"
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"name": "docId",
|
|
672
|
-
"in": "path",
|
|
673
|
-
"required": true,
|
|
674
|
-
"schema": {
|
|
675
|
-
"type": "string"
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
],
|
|
679
|
-
"requestBody": {
|
|
680
|
-
"content": {
|
|
681
|
-
"application/json": {
|
|
682
|
-
"schema": {
|
|
683
|
-
"$ref": "#/components/schemas/questionFillRequest"
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
},
|
|
687
|
-
"required": true
|
|
688
|
-
},
|
|
603
|
+
"summary": "Scan one source now and enqueue ingestion jobs for newly discovered notices",
|
|
604
|
+
"operationId": "ScanCrawlSource",
|
|
689
605
|
"responses": {
|
|
690
|
-
"
|
|
691
|
-
"description": "Payload of
|
|
606
|
+
"200": {
|
|
607
|
+
"description": "Payload of CrawlScanResponse",
|
|
692
608
|
"content": {
|
|
693
609
|
"application/json": {
|
|
694
610
|
"schema": {
|
|
695
|
-
"
|
|
611
|
+
"$ref": "#/components/schemas/crawlScanResponse"
|
|
696
612
|
}
|
|
697
613
|
}
|
|
698
614
|
}
|
|
@@ -710,32 +626,20 @@
|
|
|
710
626
|
]
|
|
711
627
|
}
|
|
712
628
|
},
|
|
713
|
-
"/v1.0/
|
|
714
|
-
"
|
|
629
|
+
"/v1.0/crawl/sources/{name}/failed-tenders": {
|
|
630
|
+
"delete": {
|
|
715
631
|
"tags": [
|
|
716
|
-
"
|
|
717
|
-
],
|
|
718
|
-
"summary": "List all known consultants (for manual selection)",
|
|
719
|
-
"operationId": "ListConsultants",
|
|
720
|
-
"parameters": [
|
|
721
|
-
{
|
|
722
|
-
"name": "query",
|
|
723
|
-
"in": "query",
|
|
724
|
-
"schema": {
|
|
725
|
-
"type": "string"
|
|
726
|
-
}
|
|
727
|
-
}
|
|
632
|
+
"Crawl"
|
|
728
633
|
],
|
|
634
|
+
"summary": "Delete all tenders for this source whose ingestion failed (parse-failed / zero confidence)",
|
|
635
|
+
"operationId": "DeleteFailedTenders",
|
|
729
636
|
"responses": {
|
|
730
637
|
"200": {
|
|
731
|
-
"description": "Payload of
|
|
638
|
+
"description": "Payload of DeleteFailedTendersResponse",
|
|
732
639
|
"content": {
|
|
733
640
|
"application/json": {
|
|
734
641
|
"schema": {
|
|
735
|
-
"
|
|
736
|
-
"items": {
|
|
737
|
-
"$ref": "#/components/schemas/consultantSummary"
|
|
738
|
-
}
|
|
642
|
+
"$ref": "#/components/schemas/deleteFailedTendersResponse"
|
|
739
643
|
}
|
|
740
644
|
}
|
|
741
645
|
}
|
|
@@ -750,23 +654,20 @@
|
|
|
750
654
|
]
|
|
751
655
|
}
|
|
752
656
|
},
|
|
753
|
-
"/v1.0/
|
|
657
|
+
"/v1.0/crawl/stats": {
|
|
754
658
|
"get": {
|
|
755
659
|
"tags": [
|
|
756
|
-
"
|
|
660
|
+
"Crawl"
|
|
757
661
|
],
|
|
758
|
-
"summary": "
|
|
759
|
-
"operationId": "
|
|
662
|
+
"summary": "High-level stats for the /admin ops dashboard",
|
|
663
|
+
"operationId": "GetCrawlStats",
|
|
760
664
|
"responses": {
|
|
761
665
|
"200": {
|
|
762
|
-
"description": "Payload of
|
|
666
|
+
"description": "Payload of CrawlStatsResponse",
|
|
763
667
|
"content": {
|
|
764
668
|
"application/json": {
|
|
765
669
|
"schema": {
|
|
766
|
-
"
|
|
767
|
-
"items": {
|
|
768
|
-
"$ref": "#/components/schemas/tender"
|
|
769
|
-
}
|
|
670
|
+
"$ref": "#/components/schemas/crawlStatsResponse"
|
|
770
671
|
}
|
|
771
672
|
}
|
|
772
673
|
}
|
|
@@ -779,35 +680,16 @@
|
|
|
779
680
|
]
|
|
780
681
|
}
|
|
781
682
|
]
|
|
782
|
-
}
|
|
783
|
-
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
"/v1.0/crawl/stream": {
|
|
686
|
+
"get": {
|
|
784
687
|
"tags": [
|
|
785
|
-
"
|
|
688
|
+
"Crawl"
|
|
786
689
|
],
|
|
787
|
-
"summary": "
|
|
788
|
-
"operationId": "
|
|
789
|
-
"
|
|
790
|
-
"content": {
|
|
791
|
-
"application/json": {
|
|
792
|
-
"schema": {
|
|
793
|
-
"$ref": "#/components/schemas/tender"
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
},
|
|
797
|
-
"required": true
|
|
798
|
-
},
|
|
799
|
-
"responses": {
|
|
800
|
-
"201": {
|
|
801
|
-
"description": "Payload of Tender",
|
|
802
|
-
"content": {
|
|
803
|
-
"application/json": {
|
|
804
|
-
"schema": {
|
|
805
|
-
"$ref": "#/components/schemas/tender"
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
},
|
|
690
|
+
"summary": "Server-sent-events stream: pushes stats + activity every ~2s for the ops dashboard",
|
|
691
|
+
"operationId": "StreamCrawlEvents",
|
|
692
|
+
"responses": {},
|
|
811
693
|
"security": [
|
|
812
694
|
{
|
|
813
695
|
"Implicit": [
|
|
@@ -817,18 +699,66 @@
|
|
|
817
699
|
]
|
|
818
700
|
}
|
|
819
701
|
},
|
|
820
|
-
"/v1.0/
|
|
702
|
+
"/v1.0/crawl/activity": {
|
|
821
703
|
"get": {
|
|
822
704
|
"tags": [
|
|
823
|
-
"
|
|
705
|
+
"Crawl"
|
|
824
706
|
],
|
|
825
|
-
"summary": "
|
|
826
|
-
"operationId": "
|
|
707
|
+
"summary": "Recent ingestion jobs across all sources, newest first. Supports source/status/date/search filters and paging.",
|
|
708
|
+
"operationId": "GetCrawlActivity",
|
|
827
709
|
"parameters": [
|
|
828
710
|
{
|
|
829
|
-
"name": "
|
|
830
|
-
"in": "
|
|
831
|
-
"
|
|
711
|
+
"name": "source",
|
|
712
|
+
"in": "query",
|
|
713
|
+
"description": "Filter by sourceName (exact match)",
|
|
714
|
+
"schema": {
|
|
715
|
+
"type": "string"
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"name": "status",
|
|
720
|
+
"in": "query",
|
|
721
|
+
"description": "Comma-separated statuses (pending,running,completed,failed)",
|
|
722
|
+
"schema": {
|
|
723
|
+
"type": "string"
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"name": "from",
|
|
728
|
+
"in": "query",
|
|
729
|
+
"description": "ISO-8601 lower bound on startedAt",
|
|
730
|
+
"schema": {
|
|
731
|
+
"type": "string"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "to",
|
|
736
|
+
"in": "query",
|
|
737
|
+
"description": "ISO-8601 upper bound on startedAt",
|
|
738
|
+
"schema": {
|
|
739
|
+
"type": "string"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "search",
|
|
744
|
+
"in": "query",
|
|
745
|
+
"description": "Substring match across inputTitle/inputUrl/externalId/id/error",
|
|
746
|
+
"schema": {
|
|
747
|
+
"type": "string"
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "skip",
|
|
752
|
+
"in": "query",
|
|
753
|
+
"description": "Offset for paging (default 0)",
|
|
754
|
+
"schema": {
|
|
755
|
+
"type": "string"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"name": "limit",
|
|
760
|
+
"in": "query",
|
|
761
|
+
"description": "Max jobs to return (default 50, max 500)",
|
|
832
762
|
"schema": {
|
|
833
763
|
"type": "string"
|
|
834
764
|
}
|
|
@@ -836,17 +766,14 @@
|
|
|
836
766
|
],
|
|
837
767
|
"responses": {
|
|
838
768
|
"200": {
|
|
839
|
-
"description": "Payload of
|
|
769
|
+
"description": "Payload of CrawlActivityResponse",
|
|
840
770
|
"content": {
|
|
841
771
|
"application/json": {
|
|
842
772
|
"schema": {
|
|
843
|
-
"$ref": "#/components/schemas/
|
|
773
|
+
"$ref": "#/components/schemas/crawlActivityResponse"
|
|
844
774
|
}
|
|
845
775
|
}
|
|
846
776
|
}
|
|
847
|
-
},
|
|
848
|
-
"404": {
|
|
849
|
-
"description": "No description"
|
|
850
777
|
}
|
|
851
778
|
},
|
|
852
779
|
"security": [
|
|
@@ -856,44 +783,29 @@
|
|
|
856
783
|
]
|
|
857
784
|
}
|
|
858
785
|
]
|
|
859
|
-
}
|
|
860
|
-
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
"/v1.0/crawl/jobs/{jobId}/retry": {
|
|
789
|
+
"post": {
|
|
861
790
|
"tags": [
|
|
862
|
-
"
|
|
863
|
-
],
|
|
864
|
-
"summary": "Update a tender",
|
|
865
|
-
"operationId": "UpdateTender",
|
|
866
|
-
"parameters": [
|
|
867
|
-
{
|
|
868
|
-
"name": "id",
|
|
869
|
-
"in": "path",
|
|
870
|
-
"required": true,
|
|
871
|
-
"schema": {
|
|
872
|
-
"type": "string"
|
|
873
|
-
}
|
|
874
|
-
}
|
|
791
|
+
"Crawl"
|
|
875
792
|
],
|
|
876
|
-
"
|
|
877
|
-
|
|
878
|
-
"application/json": {
|
|
879
|
-
"schema": {
|
|
880
|
-
"$ref": "#/components/schemas/tender"
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
"required": true
|
|
885
|
-
},
|
|
793
|
+
"summary": "Delete the tender (if any) and enqueue a fresh ingestion for the same URL/title/externalId",
|
|
794
|
+
"operationId": "RetryCrawlJob",
|
|
886
795
|
"responses": {
|
|
887
796
|
"200": {
|
|
888
|
-
"description": "Payload of
|
|
797
|
+
"description": "Payload of AgentJob",
|
|
889
798
|
"content": {
|
|
890
799
|
"application/json": {
|
|
891
800
|
"schema": {
|
|
892
|
-
"$ref": "#/components/schemas/
|
|
801
|
+
"$ref": "#/components/schemas/agentJob"
|
|
893
802
|
}
|
|
894
803
|
}
|
|
895
804
|
}
|
|
896
805
|
},
|
|
806
|
+
"400": {
|
|
807
|
+
"description": "No description"
|
|
808
|
+
},
|
|
897
809
|
"404": {
|
|
898
810
|
"description": "No description"
|
|
899
811
|
}
|
|
@@ -905,29 +817,31 @@
|
|
|
905
817
|
]
|
|
906
818
|
}
|
|
907
819
|
]
|
|
908
|
-
}
|
|
909
|
-
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"/v1.0/crawl/jobs/{jobId}/cancel": {
|
|
823
|
+
"post": {
|
|
910
824
|
"tags": [
|
|
911
|
-
"
|
|
912
|
-
],
|
|
913
|
-
"summary": "Delete a tender",
|
|
914
|
-
"operationId": "DeleteTender",
|
|
915
|
-
"parameters": [
|
|
916
|
-
{
|
|
917
|
-
"name": "id",
|
|
918
|
-
"in": "path",
|
|
919
|
-
"required": true,
|
|
920
|
-
"schema": {
|
|
921
|
-
"type": "string"
|
|
922
|
-
}
|
|
923
|
-
}
|
|
825
|
+
"Crawl"
|
|
924
826
|
],
|
|
827
|
+
"summary": "Terminate the running orchestration and mark the job as failed (\"Cancelled by operator\")",
|
|
828
|
+
"operationId": "CancelCrawlJob",
|
|
925
829
|
"responses": {
|
|
926
|
-
"
|
|
927
|
-
"description": "
|
|
830
|
+
"200": {
|
|
831
|
+
"description": "Payload of AgentJob",
|
|
832
|
+
"content": {
|
|
833
|
+
"application/json": {
|
|
834
|
+
"schema": {
|
|
835
|
+
"$ref": "#/components/schemas/agentJob"
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
}
|
|
928
839
|
},
|
|
929
840
|
"404": {
|
|
930
841
|
"description": "No description"
|
|
842
|
+
},
|
|
843
|
+
"409": {
|
|
844
|
+
"description": "No description"
|
|
931
845
|
}
|
|
932
846
|
},
|
|
933
847
|
"security": [
|
|
@@ -939,51 +853,73 @@
|
|
|
939
853
|
]
|
|
940
854
|
}
|
|
941
855
|
},
|
|
942
|
-
"/v1.0/
|
|
943
|
-
"
|
|
856
|
+
"/v1.0/crawl/jobs/bulk-delete": {
|
|
857
|
+
"post": {
|
|
944
858
|
"tags": [
|
|
945
|
-
"
|
|
859
|
+
"Crawl"
|
|
946
860
|
],
|
|
947
|
-
"summary": "Delete
|
|
948
|
-
"operationId": "
|
|
861
|
+
"summary": "Delete a batch of jobs and their backing tenders",
|
|
862
|
+
"operationId": "BulkDeleteCrawlJobs",
|
|
863
|
+
"requestBody": {
|
|
864
|
+
"content": {
|
|
865
|
+
"application/json": {
|
|
866
|
+
"schema": {
|
|
867
|
+
"$ref": "#/components/schemas/bulkDeleteJobsRequest"
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
},
|
|
949
872
|
"responses": {
|
|
950
873
|
"200": {
|
|
951
|
-
"description": "Payload of
|
|
874
|
+
"description": "Payload of BulkDeleteJobsResponse",
|
|
952
875
|
"content": {
|
|
953
876
|
"application/json": {
|
|
954
877
|
"schema": {
|
|
955
|
-
"
|
|
878
|
+
"$ref": "#/components/schemas/bulkDeleteJobsResponse"
|
|
956
879
|
}
|
|
957
880
|
}
|
|
958
881
|
}
|
|
882
|
+
},
|
|
883
|
+
"400": {
|
|
884
|
+
"description": "No description"
|
|
959
885
|
}
|
|
960
|
-
}
|
|
886
|
+
},
|
|
887
|
+
"security": [
|
|
888
|
+
{
|
|
889
|
+
"Implicit": [
|
|
890
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
891
|
+
]
|
|
892
|
+
}
|
|
893
|
+
]
|
|
961
894
|
}
|
|
962
895
|
},
|
|
963
|
-
"/v1.0/
|
|
964
|
-
"
|
|
896
|
+
"/v1.0/crawl/sources/{name}/jobs": {
|
|
897
|
+
"get": {
|
|
965
898
|
"tags": [
|
|
966
|
-
"
|
|
899
|
+
"Crawl"
|
|
967
900
|
],
|
|
968
|
-
"summary": "
|
|
969
|
-
"operationId": "
|
|
901
|
+
"summary": "Recent ingestion jobs for this source, newest first",
|
|
902
|
+
"operationId": "ListCrawlJobs",
|
|
970
903
|
"parameters": [
|
|
971
904
|
{
|
|
972
|
-
"name": "
|
|
905
|
+
"name": "limit",
|
|
973
906
|
"in": "query",
|
|
974
|
-
"description": "
|
|
907
|
+
"description": "Max jobs to return (default 50)",
|
|
975
908
|
"schema": {
|
|
976
|
-
"type": "
|
|
909
|
+
"type": "string"
|
|
977
910
|
}
|
|
978
911
|
}
|
|
979
912
|
],
|
|
980
913
|
"responses": {
|
|
981
914
|
"200": {
|
|
982
|
-
"description": "Payload of
|
|
915
|
+
"description": "Payload of Array of AgentJob",
|
|
983
916
|
"content": {
|
|
984
917
|
"application/json": {
|
|
985
918
|
"schema": {
|
|
986
|
-
"type": "
|
|
919
|
+
"type": "array",
|
|
920
|
+
"items": {
|
|
921
|
+
"$ref": "#/components/schemas/agentJob"
|
|
922
|
+
}
|
|
987
923
|
}
|
|
988
924
|
}
|
|
989
925
|
}
|
|
@@ -997,179 +933,1670 @@
|
|
|
997
933
|
}
|
|
998
934
|
]
|
|
999
935
|
}
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
"
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
},
|
|
936
|
+
},
|
|
937
|
+
"/v1.0/crawl/sources/{name}/preview": {
|
|
938
|
+
"post": {
|
|
939
|
+
"tags": [
|
|
940
|
+
"Crawl"
|
|
941
|
+
],
|
|
942
|
+
"summary": "Run a one-off discovery crawl for a single source and return the notices it would enqueue (no ingestion)",
|
|
943
|
+
"operationId": "PreviewCrawlSource",
|
|
944
|
+
"responses": {
|
|
945
|
+
"200": {
|
|
946
|
+
"description": "Payload of CrawlPreviewResponse",
|
|
947
|
+
"content": {
|
|
948
|
+
"application/json": {
|
|
949
|
+
"schema": {
|
|
950
|
+
"$ref": "#/components/schemas/crawlPreviewResponse"
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
},
|
|
955
|
+
"404": {
|
|
956
|
+
"description": "No description"
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
"security": [
|
|
960
|
+
{
|
|
961
|
+
"Implicit": [
|
|
962
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
963
|
+
]
|
|
964
|
+
}
|
|
965
|
+
]
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
"/v1.0/tenders/{id}/documents": {
|
|
969
|
+
"get": {
|
|
970
|
+
"tags": [
|
|
971
|
+
"Documents"
|
|
972
|
+
],
|
|
973
|
+
"summary": "List documents for a tender",
|
|
974
|
+
"operationId": "ListTenderDocuments",
|
|
975
|
+
"parameters": [
|
|
976
|
+
{
|
|
977
|
+
"name": "id",
|
|
978
|
+
"in": "path",
|
|
979
|
+
"required": true,
|
|
980
|
+
"schema": {
|
|
981
|
+
"type": "string"
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
],
|
|
985
|
+
"responses": {
|
|
986
|
+
"200": {
|
|
987
|
+
"description": "Payload of Array of TenderDocument",
|
|
988
|
+
"content": {
|
|
989
|
+
"application/json": {
|
|
990
|
+
"schema": {
|
|
991
|
+
"type": "array",
|
|
992
|
+
"items": {
|
|
993
|
+
"$ref": "#/components/schemas/tenderDocument"
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"404": {
|
|
1000
|
+
"description": "No description"
|
|
1001
|
+
}
|
|
1002
|
+
},
|
|
1003
|
+
"security": [
|
|
1004
|
+
{
|
|
1005
|
+
"Implicit": [
|
|
1006
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1007
|
+
]
|
|
1008
|
+
}
|
|
1009
|
+
]
|
|
1010
|
+
},
|
|
1011
|
+
"post": {
|
|
1012
|
+
"tags": [
|
|
1013
|
+
"Documents"
|
|
1014
|
+
],
|
|
1015
|
+
"summary": "Upload a new document to a tender",
|
|
1016
|
+
"operationId": "UploadTenderDocument",
|
|
1017
|
+
"parameters": [
|
|
1018
|
+
{
|
|
1019
|
+
"name": "id",
|
|
1020
|
+
"in": "path",
|
|
1021
|
+
"required": true,
|
|
1022
|
+
"schema": {
|
|
1023
|
+
"type": "string"
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
],
|
|
1027
|
+
"responses": {
|
|
1028
|
+
"200": {
|
|
1029
|
+
"description": "Payload of TenderDocument",
|
|
1030
|
+
"content": {
|
|
1031
|
+
"application/json": {
|
|
1032
|
+
"schema": {
|
|
1033
|
+
"$ref": "#/components/schemas/tenderDocument"
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"404": {
|
|
1039
|
+
"description": "No description"
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
"security": [
|
|
1043
|
+
{
|
|
1044
|
+
"Implicit": [
|
|
1045
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1046
|
+
]
|
|
1047
|
+
}
|
|
1048
|
+
]
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
"/v1.0/tenders/{id}/documents/{docId}/download-url": {
|
|
1052
|
+
"get": {
|
|
1053
|
+
"tags": [
|
|
1054
|
+
"Documents"
|
|
1055
|
+
],
|
|
1056
|
+
"summary": "Get a short-lived download URL for a document",
|
|
1057
|
+
"operationId": "GetDocumentDownloadUrl",
|
|
1058
|
+
"parameters": [
|
|
1059
|
+
{
|
|
1060
|
+
"name": "id",
|
|
1061
|
+
"in": "path",
|
|
1062
|
+
"required": true,
|
|
1063
|
+
"schema": {
|
|
1064
|
+
"type": "string"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "docId",
|
|
1069
|
+
"in": "path",
|
|
1070
|
+
"required": true,
|
|
1071
|
+
"schema": {
|
|
1072
|
+
"type": "string"
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
],
|
|
1076
|
+
"responses": {
|
|
1077
|
+
"200": {
|
|
1078
|
+
"description": "Payload of Object",
|
|
1079
|
+
"content": {
|
|
1080
|
+
"application/json": {
|
|
1081
|
+
"schema": {
|
|
1082
|
+
"type": "object"
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
"404": {
|
|
1088
|
+
"description": "No description"
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
"security": [
|
|
1092
|
+
{
|
|
1093
|
+
"Implicit": [
|
|
1094
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1095
|
+
]
|
|
1096
|
+
}
|
|
1097
|
+
]
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
"/v1.0/tenders/{id}/documents/{docId}/download": {
|
|
1101
|
+
"get": {
|
|
1102
|
+
"tags": [
|
|
1103
|
+
"Documents"
|
|
1104
|
+
],
|
|
1105
|
+
"summary": "Download a single document",
|
|
1106
|
+
"operationId": "DownloadDocument",
|
|
1107
|
+
"parameters": [
|
|
1108
|
+
{
|
|
1109
|
+
"name": "id",
|
|
1110
|
+
"in": "path",
|
|
1111
|
+
"required": true,
|
|
1112
|
+
"schema": {
|
|
1113
|
+
"type": "string"
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"name": "docId",
|
|
1118
|
+
"in": "path",
|
|
1119
|
+
"required": true,
|
|
1120
|
+
"schema": {
|
|
1121
|
+
"type": "string"
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1125
|
+
"responses": {
|
|
1126
|
+
"200": {
|
|
1127
|
+
"description": "Payload of Array of Byte",
|
|
1128
|
+
"content": {
|
|
1129
|
+
"application/octet-stream": {
|
|
1130
|
+
"schema": {
|
|
1131
|
+
"type": "string",
|
|
1132
|
+
"format": "binary"
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
"404": {
|
|
1138
|
+
"description": "No description"
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
"security": [
|
|
1142
|
+
{
|
|
1143
|
+
"Implicit": [
|
|
1144
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1145
|
+
]
|
|
1146
|
+
}
|
|
1147
|
+
]
|
|
1148
|
+
}
|
|
1149
|
+
},
|
|
1150
|
+
"/v1.0/tenders/{id}/documents/download-all": {
|
|
1151
|
+
"get": {
|
|
1152
|
+
"tags": [
|
|
1153
|
+
"Documents"
|
|
1154
|
+
],
|
|
1155
|
+
"summary": "Download all tender documents as a ZIP archive",
|
|
1156
|
+
"operationId": "DownloadAllDocuments",
|
|
1157
|
+
"parameters": [
|
|
1158
|
+
{
|
|
1159
|
+
"name": "id",
|
|
1160
|
+
"in": "path",
|
|
1161
|
+
"required": true,
|
|
1162
|
+
"schema": {
|
|
1163
|
+
"type": "string"
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
],
|
|
1167
|
+
"responses": {
|
|
1168
|
+
"200": {
|
|
1169
|
+
"description": "Payload of Array of Byte",
|
|
1170
|
+
"content": {
|
|
1171
|
+
"application/zip": {
|
|
1172
|
+
"schema": {
|
|
1173
|
+
"type": "string",
|
|
1174
|
+
"format": "binary"
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
"404": {
|
|
1180
|
+
"description": "No description"
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
"security": [
|
|
1184
|
+
{
|
|
1185
|
+
"Implicit": [
|
|
1186
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1187
|
+
]
|
|
1188
|
+
}
|
|
1189
|
+
]
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
"/v1.0/tenders/{id}/documents/{docId}": {
|
|
1193
|
+
"patch": {
|
|
1194
|
+
"tags": [
|
|
1195
|
+
"Documents"
|
|
1196
|
+
],
|
|
1197
|
+
"summary": "Patch tender document flags (e.g. set as competence matrix source)",
|
|
1198
|
+
"operationId": "PatchTenderDocument",
|
|
1199
|
+
"parameters": [
|
|
1200
|
+
{
|
|
1201
|
+
"name": "id",
|
|
1202
|
+
"in": "path",
|
|
1203
|
+
"required": true,
|
|
1204
|
+
"schema": {
|
|
1205
|
+
"type": "string"
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"name": "docId",
|
|
1210
|
+
"in": "path",
|
|
1211
|
+
"required": true,
|
|
1212
|
+
"schema": {
|
|
1213
|
+
"type": "string"
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
],
|
|
1217
|
+
"requestBody": {
|
|
1218
|
+
"content": {
|
|
1219
|
+
"application/json": {
|
|
1220
|
+
"schema": {
|
|
1221
|
+
"$ref": "#/components/schemas/patchDocumentRequest"
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
"required": true
|
|
1226
|
+
},
|
|
1227
|
+
"responses": {
|
|
1228
|
+
"200": {
|
|
1229
|
+
"description": "Payload of PatchDocumentResponse",
|
|
1230
|
+
"content": {
|
|
1231
|
+
"application/json": {
|
|
1232
|
+
"schema": {
|
|
1233
|
+
"$ref": "#/components/schemas/patchDocumentResponse"
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"404": {
|
|
1239
|
+
"description": "No description"
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
"security": [
|
|
1243
|
+
{
|
|
1244
|
+
"Implicit": [
|
|
1245
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1246
|
+
]
|
|
1247
|
+
}
|
|
1248
|
+
]
|
|
1249
|
+
},
|
|
1250
|
+
"delete": {
|
|
1251
|
+
"tags": [
|
|
1252
|
+
"Documents"
|
|
1253
|
+
],
|
|
1254
|
+
"summary": "Delete a tender document (and its blob + related answers)",
|
|
1255
|
+
"operationId": "DeleteTenderDocument",
|
|
1256
|
+
"parameters": [
|
|
1257
|
+
{
|
|
1258
|
+
"name": "id",
|
|
1259
|
+
"in": "path",
|
|
1260
|
+
"required": true,
|
|
1261
|
+
"schema": {
|
|
1262
|
+
"type": "string"
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"name": "docId",
|
|
1267
|
+
"in": "path",
|
|
1268
|
+
"required": true,
|
|
1269
|
+
"schema": {
|
|
1270
|
+
"type": "string"
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
],
|
|
1274
|
+
"responses": {
|
|
1275
|
+
"204": {
|
|
1276
|
+
"description": "No description"
|
|
1277
|
+
},
|
|
1278
|
+
"404": {
|
|
1279
|
+
"description": "No description"
|
|
1280
|
+
}
|
|
1281
|
+
},
|
|
1282
|
+
"security": [
|
|
1283
|
+
{
|
|
1284
|
+
"Implicit": [
|
|
1285
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1286
|
+
]
|
|
1287
|
+
}
|
|
1288
|
+
]
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
"/v1.0/tenders/{id}/documents/{docId}/extract-questions": {
|
|
1292
|
+
"post": {
|
|
1293
|
+
"tags": [
|
|
1294
|
+
"Documents"
|
|
1295
|
+
],
|
|
1296
|
+
"summary": "Start extraction of fillable questions from a document",
|
|
1297
|
+
"operationId": "StartQuestionExtraction",
|
|
1298
|
+
"parameters": [
|
|
1299
|
+
{
|
|
1300
|
+
"name": "id",
|
|
1301
|
+
"in": "path",
|
|
1302
|
+
"required": true,
|
|
1303
|
+
"schema": {
|
|
1304
|
+
"type": "string"
|
|
1305
|
+
}
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"name": "docId",
|
|
1309
|
+
"in": "path",
|
|
1310
|
+
"required": true,
|
|
1311
|
+
"schema": {
|
|
1312
|
+
"type": "string"
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
],
|
|
1316
|
+
"responses": {
|
|
1317
|
+
"202": {
|
|
1318
|
+
"description": "Payload of Object",
|
|
1319
|
+
"content": {
|
|
1320
|
+
"application/json": {
|
|
1321
|
+
"schema": {
|
|
1322
|
+
"type": "object"
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
"404": {
|
|
1328
|
+
"description": "No description"
|
|
1329
|
+
}
|
|
1330
|
+
},
|
|
1331
|
+
"security": [
|
|
1332
|
+
{
|
|
1333
|
+
"Implicit": [
|
|
1334
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1335
|
+
]
|
|
1336
|
+
}
|
|
1337
|
+
]
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
"/v1.0/tenders/{id}/documents/{docId}/fill-questions": {
|
|
1341
|
+
"post": {
|
|
1342
|
+
"tags": [
|
|
1343
|
+
"Documents"
|
|
1344
|
+
],
|
|
1345
|
+
"summary": "Start filling tender question answers per consultant",
|
|
1346
|
+
"operationId": "StartQuestionFill",
|
|
1347
|
+
"parameters": [
|
|
1348
|
+
{
|
|
1349
|
+
"name": "id",
|
|
1350
|
+
"in": "path",
|
|
1351
|
+
"required": true,
|
|
1352
|
+
"schema": {
|
|
1353
|
+
"type": "string"
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"name": "docId",
|
|
1358
|
+
"in": "path",
|
|
1359
|
+
"required": true,
|
|
1360
|
+
"schema": {
|
|
1361
|
+
"type": "string"
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
],
|
|
1365
|
+
"requestBody": {
|
|
1366
|
+
"content": {
|
|
1367
|
+
"application/json": {
|
|
1368
|
+
"schema": {
|
|
1369
|
+
"$ref": "#/components/schemas/questionFillRequest"
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
"required": true
|
|
1374
|
+
},
|
|
1375
|
+
"responses": {
|
|
1376
|
+
"202": {
|
|
1377
|
+
"description": "Payload of Object",
|
|
1378
|
+
"content": {
|
|
1379
|
+
"application/json": {
|
|
1380
|
+
"schema": {
|
|
1381
|
+
"type": "object"
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1386
|
+
"404": {
|
|
1387
|
+
"description": "No description"
|
|
1388
|
+
}
|
|
1389
|
+
},
|
|
1390
|
+
"security": [
|
|
1391
|
+
{
|
|
1392
|
+
"Implicit": [
|
|
1393
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1394
|
+
]
|
|
1395
|
+
}
|
|
1396
|
+
]
|
|
1397
|
+
}
|
|
1398
|
+
},
|
|
1399
|
+
"/v1.0/consultants": {
|
|
1400
|
+
"get": {
|
|
1401
|
+
"tags": [
|
|
1402
|
+
"Consultants"
|
|
1403
|
+
],
|
|
1404
|
+
"summary": "List all known consultants (for manual selection)",
|
|
1405
|
+
"operationId": "ListConsultants",
|
|
1406
|
+
"parameters": [
|
|
1407
|
+
{
|
|
1408
|
+
"name": "query",
|
|
1409
|
+
"in": "query",
|
|
1410
|
+
"schema": {
|
|
1411
|
+
"type": "string"
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
],
|
|
1415
|
+
"responses": {
|
|
1416
|
+
"200": {
|
|
1417
|
+
"description": "Payload of Array of ConsultantSummary",
|
|
1418
|
+
"content": {
|
|
1419
|
+
"application/json": {
|
|
1420
|
+
"schema": {
|
|
1421
|
+
"type": "array",
|
|
1422
|
+
"items": {
|
|
1423
|
+
"$ref": "#/components/schemas/consultantSummary"
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
"security": [
|
|
1431
|
+
{
|
|
1432
|
+
"Implicit": [
|
|
1433
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1434
|
+
]
|
|
1435
|
+
}
|
|
1436
|
+
]
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
"/v1.0/tenders/funnel": {
|
|
1440
|
+
"get": {
|
|
1441
|
+
"tags": [
|
|
1442
|
+
"Tenders"
|
|
1443
|
+
],
|
|
1444
|
+
"summary": "Pipeline funnel analytics: stage counts, conversion rates, cycle times",
|
|
1445
|
+
"operationId": "GetTenderFunnel",
|
|
1446
|
+
"parameters": [
|
|
1447
|
+
{
|
|
1448
|
+
"name": "windowDays",
|
|
1449
|
+
"in": "query",
|
|
1450
|
+
"description": "Rolling window in days (default 30, max 365)",
|
|
1451
|
+
"schema": {
|
|
1452
|
+
"type": "integer",
|
|
1453
|
+
"format": "int32"
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
],
|
|
1457
|
+
"responses": {
|
|
1458
|
+
"200": {
|
|
1459
|
+
"description": "Payload of FunnelResponse",
|
|
1460
|
+
"content": {
|
|
1461
|
+
"application/json": {
|
|
1462
|
+
"schema": {
|
|
1463
|
+
"$ref": "#/components/schemas/funnelResponse"
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
},
|
|
1469
|
+
"security": [
|
|
1470
|
+
{
|
|
1471
|
+
"Implicit": [
|
|
1472
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1473
|
+
]
|
|
1474
|
+
}
|
|
1475
|
+
]
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1478
|
+
"/v1.0/realtime/negotiate": {
|
|
1479
|
+
"post": {
|
|
1480
|
+
"tags": [
|
|
1481
|
+
"Realtime"
|
|
1482
|
+
],
|
|
1483
|
+
"summary": "Issue a SignalR access token + URL for the sales-live hub",
|
|
1484
|
+
"operationId": "NegotiateSignalR",
|
|
1485
|
+
"requestBody": {
|
|
1486
|
+
"content": {
|
|
1487
|
+
"application/json": {
|
|
1488
|
+
"schema": {
|
|
1489
|
+
"$ref": "#/components/schemas/negotiateRequest"
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
"responses": {
|
|
1495
|
+
"200": {
|
|
1496
|
+
"description": "Payload of NegotiateResponse",
|
|
1497
|
+
"content": {
|
|
1498
|
+
"application/json": {
|
|
1499
|
+
"schema": {
|
|
1500
|
+
"$ref": "#/components/schemas/negotiateResponse"
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
},
|
|
1505
|
+
"503": {
|
|
1506
|
+
"description": "SignalR is not configured on this instance; fall back to SSE"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
"security": [
|
|
1510
|
+
{
|
|
1511
|
+
"Implicit": [
|
|
1512
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1513
|
+
]
|
|
1514
|
+
}
|
|
1515
|
+
]
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
"/v1.0/tenders/stats": {
|
|
1519
|
+
"get": {
|
|
1520
|
+
"tags": [
|
|
1521
|
+
"Tenders"
|
|
1522
|
+
],
|
|
1523
|
+
"summary": "Aggregated tender KPIs for the admin dashboard (by status/stage/health + activity window)",
|
|
1524
|
+
"operationId": "GetTenderStats",
|
|
1525
|
+
"parameters": [
|
|
1526
|
+
{
|
|
1527
|
+
"name": "windowDays",
|
|
1528
|
+
"in": "query",
|
|
1529
|
+
"description": "Rolling window for activity-based metrics (defaults to 30, max 365)",
|
|
1530
|
+
"schema": {
|
|
1531
|
+
"type": "integer",
|
|
1532
|
+
"format": "int32"
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
],
|
|
1536
|
+
"responses": {
|
|
1537
|
+
"200": {
|
|
1538
|
+
"description": "Payload of TenderStatsResponse",
|
|
1539
|
+
"content": {
|
|
1540
|
+
"application/json": {
|
|
1541
|
+
"schema": {
|
|
1542
|
+
"$ref": "#/components/schemas/tenderStatsResponse"
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
"security": [
|
|
1549
|
+
{
|
|
1550
|
+
"Implicit": [
|
|
1551
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1552
|
+
]
|
|
1553
|
+
}
|
|
1554
|
+
]
|
|
1555
|
+
}
|
|
1556
|
+
},
|
|
1557
|
+
"/v1.0/consultants/stats": {
|
|
1558
|
+
"get": {
|
|
1559
|
+
"tags": [
|
|
1560
|
+
"Consultants"
|
|
1561
|
+
],
|
|
1562
|
+
"summary": "Aggregated consultant KPIs (total, availability split, avg fit score from latest matches)",
|
|
1563
|
+
"operationId": "GetConsultantStats",
|
|
1564
|
+
"responses": {
|
|
1565
|
+
"200": {
|
|
1566
|
+
"description": "Payload of ConsultantStatsResponse",
|
|
1567
|
+
"content": {
|
|
1568
|
+
"application/json": {
|
|
1569
|
+
"schema": {
|
|
1570
|
+
"$ref": "#/components/schemas/consultantStatsResponse"
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
},
|
|
1576
|
+
"security": [
|
|
1577
|
+
{
|
|
1578
|
+
"Implicit": [
|
|
1579
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1580
|
+
]
|
|
1581
|
+
}
|
|
1582
|
+
]
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
"/v1.0/stream": {
|
|
1586
|
+
"get": {
|
|
1587
|
+
"tags": [
|
|
1588
|
+
"Realtime"
|
|
1589
|
+
],
|
|
1590
|
+
"summary": "Unified SSE stream: tender/job/crawl/consultant/audit events on one connection",
|
|
1591
|
+
"operationId": "StreamAll",
|
|
1592
|
+
"parameters": [
|
|
1593
|
+
{
|
|
1594
|
+
"name": "channels",
|
|
1595
|
+
"in": "query",
|
|
1596
|
+
"description": "Comma-separated namespaces to include (tender,job,crawl,consultant,audit). Default: all.",
|
|
1597
|
+
"schema": {
|
|
1598
|
+
"type": "string"
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
],
|
|
1602
|
+
"responses": {},
|
|
1603
|
+
"security": [
|
|
1604
|
+
{
|
|
1605
|
+
"Implicit": [
|
|
1606
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1607
|
+
]
|
|
1608
|
+
}
|
|
1609
|
+
]
|
|
1610
|
+
}
|
|
1611
|
+
},
|
|
1612
|
+
"/v1.0/tenders/stream-redirect": {
|
|
1613
|
+
"get": {
|
|
1614
|
+
"tags": [
|
|
1615
|
+
"Realtime"
|
|
1616
|
+
],
|
|
1617
|
+
"summary": "Deprecated: redirects to /v1.0/stream?channels=tender,job",
|
|
1618
|
+
"operationId": "DeprecatedTenderStream",
|
|
1619
|
+
"responses": {},
|
|
1620
|
+
"deprecated": true,
|
|
1621
|
+
"security": [
|
|
1622
|
+
{
|
|
1623
|
+
"Implicit": [
|
|
1624
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1625
|
+
]
|
|
1626
|
+
}
|
|
1627
|
+
]
|
|
1628
|
+
}
|
|
1629
|
+
},
|
|
1630
|
+
"/v1.0/crawl/stream-redirect": {
|
|
1631
|
+
"get": {
|
|
1632
|
+
"tags": [
|
|
1633
|
+
"Realtime"
|
|
1634
|
+
],
|
|
1635
|
+
"summary": "Deprecated: redirects to /v1.0/stream?channels=crawl,job",
|
|
1636
|
+
"operationId": "DeprecatedCrawlStream",
|
|
1637
|
+
"responses": {},
|
|
1638
|
+
"deprecated": true,
|
|
1639
|
+
"security": [
|
|
1640
|
+
{
|
|
1641
|
+
"Implicit": [
|
|
1642
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1643
|
+
]
|
|
1644
|
+
}
|
|
1645
|
+
]
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
"/v1.0/tenders": {
|
|
1649
|
+
"get": {
|
|
1650
|
+
"tags": [
|
|
1651
|
+
"Tenders"
|
|
1652
|
+
],
|
|
1653
|
+
"summary": "List all tenders",
|
|
1654
|
+
"operationId": "ListTenders",
|
|
1655
|
+
"responses": {
|
|
1656
|
+
"200": {
|
|
1657
|
+
"description": "Payload of Array of Tender",
|
|
1658
|
+
"content": {
|
|
1659
|
+
"application/json": {
|
|
1660
|
+
"schema": {
|
|
1661
|
+
"type": "array",
|
|
1662
|
+
"items": {
|
|
1663
|
+
"$ref": "#/components/schemas/tender"
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
},
|
|
1670
|
+
"security": [
|
|
1671
|
+
{
|
|
1672
|
+
"Implicit": [
|
|
1673
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1674
|
+
]
|
|
1675
|
+
}
|
|
1676
|
+
]
|
|
1677
|
+
},
|
|
1678
|
+
"post": {
|
|
1679
|
+
"tags": [
|
|
1680
|
+
"Tenders"
|
|
1681
|
+
],
|
|
1682
|
+
"summary": "Create a new tender",
|
|
1683
|
+
"operationId": "CreateTender",
|
|
1684
|
+
"requestBody": {
|
|
1685
|
+
"content": {
|
|
1686
|
+
"application/json": {
|
|
1687
|
+
"schema": {
|
|
1688
|
+
"$ref": "#/components/schemas/tender"
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
"required": true
|
|
1693
|
+
},
|
|
1694
|
+
"responses": {
|
|
1695
|
+
"201": {
|
|
1696
|
+
"description": "Payload of Tender",
|
|
1697
|
+
"content": {
|
|
1698
|
+
"application/json": {
|
|
1699
|
+
"schema": {
|
|
1700
|
+
"$ref": "#/components/schemas/tender"
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
},
|
|
1706
|
+
"security": [
|
|
1707
|
+
{
|
|
1708
|
+
"Implicit": [
|
|
1709
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1710
|
+
]
|
|
1711
|
+
}
|
|
1712
|
+
]
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
"/v1.0/tenders/{id}": {
|
|
1716
|
+
"get": {
|
|
1717
|
+
"tags": [
|
|
1718
|
+
"Tenders"
|
|
1719
|
+
],
|
|
1720
|
+
"summary": "Get a tender by ID",
|
|
1721
|
+
"operationId": "GetTender",
|
|
1722
|
+
"parameters": [
|
|
1723
|
+
{
|
|
1724
|
+
"name": "id",
|
|
1725
|
+
"in": "path",
|
|
1726
|
+
"required": true,
|
|
1727
|
+
"schema": {
|
|
1728
|
+
"type": "string"
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
],
|
|
1732
|
+
"responses": {
|
|
1733
|
+
"200": {
|
|
1734
|
+
"description": "Payload of Tender",
|
|
1735
|
+
"content": {
|
|
1736
|
+
"application/json": {
|
|
1737
|
+
"schema": {
|
|
1738
|
+
"$ref": "#/components/schemas/tender"
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
"404": {
|
|
1744
|
+
"description": "No description"
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
"security": [
|
|
1748
|
+
{
|
|
1749
|
+
"Implicit": [
|
|
1750
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1751
|
+
]
|
|
1752
|
+
}
|
|
1753
|
+
]
|
|
1754
|
+
},
|
|
1755
|
+
"put": {
|
|
1756
|
+
"tags": [
|
|
1757
|
+
"Tenders"
|
|
1758
|
+
],
|
|
1759
|
+
"summary": "Update a tender",
|
|
1760
|
+
"operationId": "UpdateTender",
|
|
1761
|
+
"parameters": [
|
|
1762
|
+
{
|
|
1763
|
+
"name": "id",
|
|
1764
|
+
"in": "path",
|
|
1765
|
+
"required": true,
|
|
1766
|
+
"schema": {
|
|
1767
|
+
"type": "string"
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
],
|
|
1771
|
+
"requestBody": {
|
|
1772
|
+
"content": {
|
|
1773
|
+
"application/json": {
|
|
1774
|
+
"schema": {
|
|
1775
|
+
"$ref": "#/components/schemas/tender"
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
},
|
|
1779
|
+
"required": true
|
|
1780
|
+
},
|
|
1781
|
+
"responses": {
|
|
1782
|
+
"200": {
|
|
1783
|
+
"description": "Payload of Tender",
|
|
1784
|
+
"content": {
|
|
1785
|
+
"application/json": {
|
|
1786
|
+
"schema": {
|
|
1787
|
+
"$ref": "#/components/schemas/tender"
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
},
|
|
1792
|
+
"404": {
|
|
1793
|
+
"description": "No description"
|
|
1794
|
+
}
|
|
1795
|
+
},
|
|
1796
|
+
"security": [
|
|
1797
|
+
{
|
|
1798
|
+
"Implicit": [
|
|
1799
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1800
|
+
]
|
|
1801
|
+
}
|
|
1802
|
+
]
|
|
1803
|
+
},
|
|
1804
|
+
"delete": {
|
|
1805
|
+
"tags": [
|
|
1806
|
+
"Tenders"
|
|
1807
|
+
],
|
|
1808
|
+
"summary": "Delete a tender",
|
|
1809
|
+
"operationId": "DeleteTender",
|
|
1810
|
+
"parameters": [
|
|
1811
|
+
{
|
|
1812
|
+
"name": "id",
|
|
1813
|
+
"in": "path",
|
|
1814
|
+
"required": true,
|
|
1815
|
+
"schema": {
|
|
1816
|
+
"type": "string"
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
],
|
|
1820
|
+
"responses": {
|
|
1821
|
+
"204": {
|
|
1822
|
+
"description": "No description"
|
|
1823
|
+
},
|
|
1824
|
+
"404": {
|
|
1825
|
+
"description": "No description"
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1828
|
+
"security": [
|
|
1829
|
+
{
|
|
1830
|
+
"Implicit": [
|
|
1831
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1832
|
+
]
|
|
1833
|
+
}
|
|
1834
|
+
]
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
"/v1.0/admin/tenders": {
|
|
1838
|
+
"delete": {
|
|
1839
|
+
"tags": [
|
|
1840
|
+
"Admin"
|
|
1841
|
+
],
|
|
1842
|
+
"summary": "Delete all tenders",
|
|
1843
|
+
"operationId": "DeleteAllTenders",
|
|
1844
|
+
"responses": {
|
|
1845
|
+
"200": {
|
|
1846
|
+
"description": "Payload of Object",
|
|
1847
|
+
"content": {
|
|
1848
|
+
"application/json": {
|
|
1849
|
+
"schema": {
|
|
1850
|
+
"type": "object"
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
},
|
|
1858
|
+
"/v1.0/admin/reprocess-matches": {
|
|
1859
|
+
"post": {
|
|
1860
|
+
"tags": [
|
|
1861
|
+
"Admin"
|
|
1862
|
+
],
|
|
1863
|
+
"summary": "Trigger CV matching on all tenders",
|
|
1864
|
+
"operationId": "ReprocessMatches",
|
|
1865
|
+
"parameters": [
|
|
1866
|
+
{
|
|
1867
|
+
"name": "unmatchedOnly",
|
|
1868
|
+
"in": "query",
|
|
1869
|
+
"description": "If true, only re-match tenders with no existing consultant matches",
|
|
1870
|
+
"schema": {
|
|
1871
|
+
"type": "boolean"
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
],
|
|
1875
|
+
"responses": {
|
|
1876
|
+
"200": {
|
|
1877
|
+
"description": "Payload of Object",
|
|
1878
|
+
"content": {
|
|
1879
|
+
"application/json": {
|
|
1880
|
+
"schema": {
|
|
1881
|
+
"type": "object"
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
},
|
|
1887
|
+
"security": [
|
|
1888
|
+
{
|
|
1889
|
+
"Implicit": [
|
|
1890
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1891
|
+
]
|
|
1892
|
+
}
|
|
1893
|
+
]
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
"/v1.0/tenders/export.csv": {
|
|
1897
|
+
"get": {
|
|
1898
|
+
"tags": [
|
|
1899
|
+
"Tenders"
|
|
1900
|
+
],
|
|
1901
|
+
"summary": "Export tenders matching the given filters as RFC 4180 CSV",
|
|
1902
|
+
"operationId": "ExportTendersCsv",
|
|
1903
|
+
"parameters": [
|
|
1904
|
+
{
|
|
1905
|
+
"name": "stage",
|
|
1906
|
+
"in": "query",
|
|
1907
|
+
"description": "Filter by status.stage (e.g. discovery, qualification)",
|
|
1908
|
+
"schema": {
|
|
1909
|
+
"type": "string"
|
|
1910
|
+
}
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"name": "state",
|
|
1914
|
+
"in": "query",
|
|
1915
|
+
"description": "Filter by status.state (e.g. active, irrelevant, ingestion_failed)",
|
|
1916
|
+
"schema": {
|
|
1917
|
+
"type": "string"
|
|
1918
|
+
}
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"name": "fromDate",
|
|
1922
|
+
"in": "query",
|
|
1923
|
+
"description": "Only include tenders with foundAt >= fromDate (ISO 8601)",
|
|
1924
|
+
"schema": {
|
|
1925
|
+
"type": "string",
|
|
1926
|
+
"format": "date-time"
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"name": "toDate",
|
|
1931
|
+
"in": "query",
|
|
1932
|
+
"description": "Only include tenders with foundAt <= toDate (ISO 8601)",
|
|
1933
|
+
"schema": {
|
|
1934
|
+
"type": "string",
|
|
1935
|
+
"format": "date-time"
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
],
|
|
1939
|
+
"responses": {
|
|
1940
|
+
"200": {
|
|
1941
|
+
"description": "Payload of String",
|
|
1942
|
+
"content": {
|
|
1943
|
+
"text/csv": {
|
|
1944
|
+
"schema": {
|
|
1945
|
+
"type": "string"
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
},
|
|
1949
|
+
"x-ms-summary": "CSV file with one tender per row"
|
|
1950
|
+
}
|
|
1951
|
+
},
|
|
1952
|
+
"security": [
|
|
1953
|
+
{
|
|
1954
|
+
"Implicit": [
|
|
1955
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1956
|
+
]
|
|
1957
|
+
}
|
|
1958
|
+
]
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
"/v1.0/tenders/stream": {
|
|
1962
|
+
"get": {
|
|
1963
|
+
"tags": [
|
|
1964
|
+
"Tenders"
|
|
1965
|
+
],
|
|
1966
|
+
"summary": "Server-sent-events stream of tender.created / tender.updated / tender.deleted events",
|
|
1967
|
+
"operationId": "StreamTenderEvents",
|
|
1968
|
+
"responses": {},
|
|
1969
|
+
"security": [
|
|
1970
|
+
{
|
|
1971
|
+
"Implicit": [
|
|
1972
|
+
"api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
|
|
1973
|
+
]
|
|
1974
|
+
}
|
|
1975
|
+
]
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
},
|
|
1979
|
+
"components": {
|
|
1980
|
+
"schemas": {
|
|
1981
|
+
"agentJob": {
|
|
1982
|
+
"type": "object",
|
|
1983
|
+
"properties": {
|
|
1984
|
+
"id": {
|
|
1985
|
+
"type": "string",
|
|
1986
|
+
"nullable": true
|
|
1987
|
+
},
|
|
1988
|
+
"type": {
|
|
1989
|
+
"type": "string",
|
|
1990
|
+
"nullable": true
|
|
1991
|
+
},
|
|
1992
|
+
"jobType": {
|
|
1993
|
+
"type": "string",
|
|
1994
|
+
"nullable": true
|
|
1995
|
+
},
|
|
1996
|
+
"tenderId": {
|
|
1997
|
+
"type": "string",
|
|
1998
|
+
"nullable": true
|
|
1999
|
+
},
|
|
2000
|
+
"status": {
|
|
2001
|
+
"type": "string",
|
|
2002
|
+
"nullable": true
|
|
2003
|
+
},
|
|
2004
|
+
"error": {
|
|
2005
|
+
"type": "string",
|
|
2006
|
+
"nullable": true
|
|
2007
|
+
},
|
|
2008
|
+
"result": {
|
|
2009
|
+
"type": "string",
|
|
2010
|
+
"nullable": true
|
|
2011
|
+
},
|
|
2012
|
+
"startedAt": {
|
|
2013
|
+
"type": "string",
|
|
2014
|
+
"format": "date-time",
|
|
2015
|
+
"nullable": true
|
|
2016
|
+
},
|
|
2017
|
+
"completedAt": {
|
|
2018
|
+
"type": "string",
|
|
2019
|
+
"format": "date-time",
|
|
2020
|
+
"nullable": true
|
|
2021
|
+
},
|
|
2022
|
+
"triggeredBy": {
|
|
2023
|
+
"type": "string",
|
|
2024
|
+
"nullable": true
|
|
2025
|
+
},
|
|
2026
|
+
"orchestrationId": {
|
|
2027
|
+
"type": "string",
|
|
2028
|
+
"nullable": true
|
|
2029
|
+
},
|
|
2030
|
+
"externalId": {
|
|
2031
|
+
"type": "string",
|
|
2032
|
+
"nullable": true
|
|
2033
|
+
},
|
|
2034
|
+
"sourceName": {
|
|
2035
|
+
"type": "string",
|
|
2036
|
+
"nullable": true
|
|
2037
|
+
},
|
|
2038
|
+
"inputUrl": {
|
|
2039
|
+
"type": "string",
|
|
2040
|
+
"nullable": true
|
|
2041
|
+
},
|
|
2042
|
+
"inputTitle": {
|
|
2043
|
+
"type": "string",
|
|
2044
|
+
"nullable": true
|
|
2045
|
+
},
|
|
2046
|
+
"logs": {
|
|
2047
|
+
"type": "array",
|
|
2048
|
+
"items": {
|
|
2049
|
+
"$ref": "#/components/schemas/agentJobLogEntry"
|
|
2050
|
+
},
|
|
2051
|
+
"nullable": true
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
},
|
|
2055
|
+
"agentJobLogEntry": {
|
|
2056
|
+
"type": "object",
|
|
2057
|
+
"properties": {
|
|
2058
|
+
"at": {
|
|
2059
|
+
"type": "string",
|
|
2060
|
+
"format": "date-time",
|
|
2061
|
+
"nullable": true
|
|
2062
|
+
},
|
|
2063
|
+
"level": {
|
|
2064
|
+
"type": "string",
|
|
2065
|
+
"nullable": true
|
|
2066
|
+
},
|
|
2067
|
+
"message": {
|
|
2068
|
+
"type": "string",
|
|
2069
|
+
"nullable": true
|
|
2070
|
+
},
|
|
2071
|
+
"data": {
|
|
2072
|
+
"type": "object",
|
|
2073
|
+
"additionalProperties": {
|
|
2074
|
+
"type": "object"
|
|
2075
|
+
},
|
|
2076
|
+
"nullable": true
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
},
|
|
2080
|
+
"auditEvent": {
|
|
2081
|
+
"type": "object",
|
|
2082
|
+
"properties": {
|
|
2083
|
+
"id": {
|
|
2084
|
+
"type": "string",
|
|
2085
|
+
"nullable": true
|
|
2086
|
+
},
|
|
2087
|
+
"type": {
|
|
2088
|
+
"type": "string",
|
|
2089
|
+
"nullable": true
|
|
2090
|
+
},
|
|
1019
2091
|
"tenderId": {
|
|
1020
2092
|
"type": "string",
|
|
1021
2093
|
"nullable": true
|
|
1022
2094
|
},
|
|
1023
|
-
"
|
|
2095
|
+
"actorEmail": {
|
|
2096
|
+
"type": "string",
|
|
2097
|
+
"nullable": true
|
|
2098
|
+
},
|
|
2099
|
+
"actorSource": {
|
|
2100
|
+
"type": "string",
|
|
2101
|
+
"nullable": true
|
|
2102
|
+
},
|
|
2103
|
+
"summary": {
|
|
2104
|
+
"type": "string",
|
|
2105
|
+
"nullable": true
|
|
2106
|
+
},
|
|
2107
|
+
"beforeSnapshot": {
|
|
2108
|
+
"$ref": "#/components/schemas/auditSnapshot"
|
|
2109
|
+
},
|
|
2110
|
+
"afterSnapshot": {
|
|
2111
|
+
"$ref": "#/components/schemas/auditSnapshot"
|
|
2112
|
+
},
|
|
2113
|
+
"timestamp": {
|
|
2114
|
+
"type": "string",
|
|
2115
|
+
"format": "date-time",
|
|
2116
|
+
"nullable": true
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
"auditSnapshot": {
|
|
2121
|
+
"type": "object",
|
|
2122
|
+
"properties": {
|
|
2123
|
+
"stage": {
|
|
2124
|
+
"type": "string",
|
|
2125
|
+
"nullable": true
|
|
2126
|
+
},
|
|
2127
|
+
"state": {
|
|
1024
2128
|
"type": "string",
|
|
1025
2129
|
"nullable": true
|
|
1026
2130
|
},
|
|
1027
|
-
"
|
|
2131
|
+
"consultantMatchCount": {
|
|
2132
|
+
"type": "integer",
|
|
2133
|
+
"format": "int32",
|
|
2134
|
+
"nullable": true
|
|
2135
|
+
},
|
|
2136
|
+
"selectedConsultantIds": {
|
|
2137
|
+
"type": "array",
|
|
2138
|
+
"items": {
|
|
2139
|
+
"type": "string"
|
|
2140
|
+
},
|
|
2141
|
+
"nullable": true
|
|
2142
|
+
}
|
|
2143
|
+
},
|
|
2144
|
+
"nullable": true
|
|
2145
|
+
},
|
|
2146
|
+
"bulkDeleteJobError": {
|
|
2147
|
+
"type": "object",
|
|
2148
|
+
"properties": {
|
|
2149
|
+
"jobId": {
|
|
2150
|
+
"type": "string"
|
|
2151
|
+
},
|
|
2152
|
+
"message": {
|
|
2153
|
+
"type": "string"
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
},
|
|
2157
|
+
"bulkDeleteJobsRequest": {
|
|
2158
|
+
"type": "object",
|
|
2159
|
+
"properties": {
|
|
2160
|
+
"jobIds": {
|
|
2161
|
+
"type": "array",
|
|
2162
|
+
"items": {
|
|
2163
|
+
"type": "string"
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
},
|
|
2168
|
+
"bulkDeleteJobsResponse": {
|
|
2169
|
+
"type": "object",
|
|
2170
|
+
"properties": {
|
|
2171
|
+
"deleted": {
|
|
2172
|
+
"type": "integer",
|
|
2173
|
+
"format": "int32"
|
|
2174
|
+
},
|
|
2175
|
+
"errors": {
|
|
2176
|
+
"type": "array",
|
|
2177
|
+
"items": {
|
|
2178
|
+
"$ref": "#/components/schemas/bulkDeleteJobError"
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
},
|
|
2183
|
+
"consultantAnswers": {
|
|
2184
|
+
"type": "object",
|
|
2185
|
+
"properties": {
|
|
2186
|
+
"consultantId": {
|
|
2187
|
+
"type": "string",
|
|
2188
|
+
"nullable": true
|
|
2189
|
+
},
|
|
2190
|
+
"email": {
|
|
2191
|
+
"type": "string",
|
|
2192
|
+
"nullable": true
|
|
2193
|
+
},
|
|
2194
|
+
"name": {
|
|
2195
|
+
"type": "string",
|
|
2196
|
+
"nullable": true
|
|
2197
|
+
},
|
|
2198
|
+
"generatedAt": {
|
|
2199
|
+
"type": "string",
|
|
2200
|
+
"format": "date-time",
|
|
2201
|
+
"nullable": true
|
|
2202
|
+
},
|
|
2203
|
+
"filledDocumentId": {
|
|
2204
|
+
"type": "string",
|
|
2205
|
+
"nullable": true
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
},
|
|
2209
|
+
"consultantMatch": {
|
|
2210
|
+
"type": "object",
|
|
2211
|
+
"properties": {
|
|
2212
|
+
"consultantId": {
|
|
2213
|
+
"type": "string",
|
|
2214
|
+
"nullable": true
|
|
2215
|
+
},
|
|
2216
|
+
"name": {
|
|
2217
|
+
"type": "string",
|
|
2218
|
+
"nullable": true
|
|
2219
|
+
},
|
|
2220
|
+
"fitScore": {
|
|
2221
|
+
"type": "number",
|
|
2222
|
+
"format": "double",
|
|
2223
|
+
"nullable": true
|
|
2224
|
+
},
|
|
2225
|
+
"availabilityStatus": {
|
|
2226
|
+
"type": "string",
|
|
2227
|
+
"nullable": true
|
|
2228
|
+
},
|
|
2229
|
+
"availableFrom": {
|
|
2230
|
+
"type": "string",
|
|
2231
|
+
"nullable": true
|
|
2232
|
+
},
|
|
2233
|
+
"matchedTechnologies": {
|
|
2234
|
+
"type": "array",
|
|
2235
|
+
"items": {
|
|
2236
|
+
"type": "string"
|
|
2237
|
+
},
|
|
2238
|
+
"nullable": true
|
|
2239
|
+
},
|
|
2240
|
+
"missingTechnologies": {
|
|
2241
|
+
"type": "array",
|
|
2242
|
+
"items": {
|
|
2243
|
+
"type": "string"
|
|
2244
|
+
},
|
|
2245
|
+
"nullable": true
|
|
2246
|
+
},
|
|
2247
|
+
"selected": {
|
|
2248
|
+
"type": "boolean",
|
|
2249
|
+
"nullable": true
|
|
2250
|
+
},
|
|
2251
|
+
"fitExplanation": {
|
|
2252
|
+
"type": "string",
|
|
2253
|
+
"nullable": true
|
|
2254
|
+
},
|
|
2255
|
+
"cvSummary": {
|
|
2256
|
+
"type": "string",
|
|
2257
|
+
"nullable": true
|
|
2258
|
+
},
|
|
2259
|
+
"seniority": {
|
|
2260
|
+
"type": "string",
|
|
2261
|
+
"nullable": true
|
|
2262
|
+
},
|
|
2263
|
+
"email": {
|
|
2264
|
+
"type": "string",
|
|
2265
|
+
"nullable": true
|
|
2266
|
+
},
|
|
2267
|
+
"notifiedAt": {
|
|
2268
|
+
"type": "string",
|
|
2269
|
+
"format": "date-time",
|
|
2270
|
+
"nullable": true
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
},
|
|
2274
|
+
"consultantStatsResponse": {
|
|
2275
|
+
"type": "object",
|
|
2276
|
+
"properties": {
|
|
2277
|
+
"total": {
|
|
2278
|
+
"type": "integer",
|
|
2279
|
+
"format": "int32"
|
|
2280
|
+
},
|
|
2281
|
+
"available": {
|
|
2282
|
+
"type": "integer",
|
|
2283
|
+
"format": "int32"
|
|
2284
|
+
},
|
|
2285
|
+
"onAssignment": {
|
|
2286
|
+
"type": "integer",
|
|
2287
|
+
"format": "int32"
|
|
2288
|
+
},
|
|
2289
|
+
"unknownAvailability": {
|
|
2290
|
+
"type": "integer",
|
|
2291
|
+
"format": "int32"
|
|
2292
|
+
},
|
|
2293
|
+
"avgFitScore": {
|
|
2294
|
+
"type": "number",
|
|
2295
|
+
"format": "double",
|
|
2296
|
+
"nullable": true
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
},
|
|
2300
|
+
"consultantSummary": {
|
|
2301
|
+
"type": "object",
|
|
2302
|
+
"properties": {
|
|
2303
|
+
"userId": {
|
|
2304
|
+
"type": "string",
|
|
2305
|
+
"nullable": true
|
|
2306
|
+
},
|
|
2307
|
+
"email": {
|
|
1028
2308
|
"type": "string",
|
|
1029
2309
|
"nullable": true
|
|
1030
2310
|
},
|
|
1031
|
-
"
|
|
1032
|
-
"type": "string",
|
|
1033
|
-
"nullable": true
|
|
2311
|
+
"name": {
|
|
2312
|
+
"type": "string",
|
|
2313
|
+
"nullable": true
|
|
2314
|
+
},
|
|
2315
|
+
"technologies": {
|
|
2316
|
+
"type": "array",
|
|
2317
|
+
"items": {
|
|
2318
|
+
"type": "string"
|
|
2319
|
+
},
|
|
2320
|
+
"nullable": true
|
|
2321
|
+
},
|
|
2322
|
+
"roles": {
|
|
2323
|
+
"type": "array",
|
|
2324
|
+
"items": {
|
|
2325
|
+
"type": "string"
|
|
2326
|
+
},
|
|
2327
|
+
"nullable": true
|
|
2328
|
+
},
|
|
2329
|
+
"yearsExperience": {
|
|
2330
|
+
"type": "integer",
|
|
2331
|
+
"format": "int32",
|
|
2332
|
+
"nullable": true
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
},
|
|
2336
|
+
"crawlActivityResponse": {
|
|
2337
|
+
"type": "object",
|
|
2338
|
+
"properties": {
|
|
2339
|
+
"items": {
|
|
2340
|
+
"type": "array",
|
|
2341
|
+
"items": {
|
|
2342
|
+
"$ref": "#/components/schemas/agentJob"
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
"total": {
|
|
2346
|
+
"type": "integer",
|
|
2347
|
+
"format": "int32"
|
|
2348
|
+
}
|
|
2349
|
+
}
|
|
2350
|
+
},
|
|
2351
|
+
"crawledNotice": {
|
|
2352
|
+
"type": "object",
|
|
2353
|
+
"properties": {
|
|
2354
|
+
"sourceName": {
|
|
2355
|
+
"type": "string"
|
|
2356
|
+
},
|
|
2357
|
+
"id": {
|
|
2358
|
+
"type": "string"
|
|
2359
|
+
},
|
|
2360
|
+
"title": {
|
|
2361
|
+
"type": "string"
|
|
2362
|
+
},
|
|
2363
|
+
"url": {
|
|
2364
|
+
"type": "string"
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2368
|
+
"crawlPattern": {
|
|
2369
|
+
"type": "object",
|
|
2370
|
+
"properties": {
|
|
2371
|
+
"sourceName": {
|
|
2372
|
+
"type": "string"
|
|
2373
|
+
},
|
|
2374
|
+
"detailUrlRegex": {
|
|
2375
|
+
"type": "string"
|
|
2376
|
+
},
|
|
2377
|
+
"paginationUrlRegex": {
|
|
2378
|
+
"type": "string"
|
|
2379
|
+
},
|
|
2380
|
+
"sampleCount": {
|
|
2381
|
+
"type": "integer",
|
|
2382
|
+
"format": "int32"
|
|
2383
|
+
},
|
|
2384
|
+
"bootstrappedAt": {
|
|
2385
|
+
"type": "string",
|
|
2386
|
+
"format": "date-time"
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
"crawlPreviewResponse": {
|
|
2391
|
+
"type": "object",
|
|
2392
|
+
"properties": {
|
|
2393
|
+
"sourceName": {
|
|
2394
|
+
"type": "string"
|
|
2395
|
+
},
|
|
2396
|
+
"notices": {
|
|
2397
|
+
"type": "array",
|
|
2398
|
+
"items": {
|
|
2399
|
+
"$ref": "#/components/schemas/crawledNotice"
|
|
2400
|
+
}
|
|
2401
|
+
},
|
|
2402
|
+
"pattern": {
|
|
2403
|
+
"$ref": "#/components/schemas/crawlPattern"
|
|
2404
|
+
},
|
|
2405
|
+
"startedAt": {
|
|
2406
|
+
"type": "string",
|
|
2407
|
+
"format": "date-time"
|
|
2408
|
+
},
|
|
2409
|
+
"finishedAt": {
|
|
2410
|
+
"type": "string",
|
|
2411
|
+
"format": "date-time"
|
|
2412
|
+
},
|
|
2413
|
+
"warnings": {
|
|
2414
|
+
"type": "array",
|
|
2415
|
+
"items": {
|
|
2416
|
+
"type": "string"
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
},
|
|
2421
|
+
"crawlScanResponse": {
|
|
2422
|
+
"type": "object",
|
|
2423
|
+
"properties": {
|
|
2424
|
+
"sourceName": {
|
|
2425
|
+
"type": "string"
|
|
2426
|
+
},
|
|
2427
|
+
"discovered": {
|
|
2428
|
+
"type": "integer",
|
|
2429
|
+
"format": "int32"
|
|
2430
|
+
},
|
|
2431
|
+
"queued": {
|
|
2432
|
+
"type": "integer",
|
|
2433
|
+
"format": "int32"
|
|
2434
|
+
},
|
|
2435
|
+
"merged": {
|
|
2436
|
+
"type": "integer",
|
|
2437
|
+
"format": "int32"
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
},
|
|
2441
|
+
"crawlSourceConfig": {
|
|
2442
|
+
"type": "object",
|
|
2443
|
+
"properties": {
|
|
2444
|
+
"name": {
|
|
2445
|
+
"type": "string"
|
|
2446
|
+
},
|
|
2447
|
+
"seedUrl": {
|
|
2448
|
+
"type": "string"
|
|
1034
2449
|
},
|
|
1035
|
-
"
|
|
1036
|
-
"type": "
|
|
1037
|
-
"format": "
|
|
1038
|
-
"nullable": true
|
|
2450
|
+
"maxPages": {
|
|
2451
|
+
"type": "integer",
|
|
2452
|
+
"format": "int32"
|
|
1039
2453
|
},
|
|
1040
|
-
"
|
|
1041
|
-
"type": "
|
|
1042
|
-
"format": "date-time",
|
|
1043
|
-
"nullable": true
|
|
2454
|
+
"enabled": {
|
|
2455
|
+
"type": "boolean"
|
|
1044
2456
|
},
|
|
1045
|
-
"
|
|
2457
|
+
"createdAt": {
|
|
1046
2458
|
"type": "string",
|
|
1047
|
-
"
|
|
2459
|
+
"format": "date-time"
|
|
1048
2460
|
},
|
|
1049
|
-
"
|
|
2461
|
+
"updatedAt": {
|
|
1050
2462
|
"type": "string",
|
|
1051
|
-
"
|
|
2463
|
+
"format": "date-time"
|
|
1052
2464
|
}
|
|
1053
2465
|
}
|
|
1054
2466
|
},
|
|
1055
|
-
"
|
|
2467
|
+
"crawlSourceUpsertRequest": {
|
|
1056
2468
|
"type": "object",
|
|
1057
2469
|
"properties": {
|
|
1058
|
-
"
|
|
1059
|
-
"type": "string"
|
|
1060
|
-
"nullable": true
|
|
2470
|
+
"seedUrl": {
|
|
2471
|
+
"type": "string"
|
|
1061
2472
|
},
|
|
1062
|
-
"
|
|
1063
|
-
"type": "
|
|
2473
|
+
"maxPages": {
|
|
2474
|
+
"type": "integer",
|
|
2475
|
+
"format": "int32",
|
|
1064
2476
|
"nullable": true
|
|
1065
2477
|
},
|
|
1066
|
-
"
|
|
1067
|
-
"type": "
|
|
2478
|
+
"enabled": {
|
|
2479
|
+
"type": "boolean",
|
|
1068
2480
|
"nullable": true
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2484
|
+
"crawlSourceWithPattern": {
|
|
2485
|
+
"type": "object",
|
|
2486
|
+
"properties": {
|
|
2487
|
+
"source": {
|
|
2488
|
+
"$ref": "#/components/schemas/crawlSourceConfig"
|
|
1069
2489
|
},
|
|
1070
|
-
"
|
|
1071
|
-
"
|
|
1072
|
-
"format": "date-time",
|
|
1073
|
-
"nullable": true
|
|
2490
|
+
"pattern": {
|
|
2491
|
+
"$ref": "#/components/schemas/crawlPattern"
|
|
1074
2492
|
},
|
|
1075
|
-
"
|
|
2493
|
+
"lastActivityAt": {
|
|
1076
2494
|
"type": "string",
|
|
2495
|
+
"format": "date-time",
|
|
1077
2496
|
"nullable": true
|
|
1078
2497
|
}
|
|
1079
2498
|
}
|
|
1080
2499
|
},
|
|
1081
|
-
"
|
|
2500
|
+
"crawlStatsResponse": {
|
|
1082
2501
|
"type": "object",
|
|
1083
2502
|
"properties": {
|
|
1084
|
-
"
|
|
1085
|
-
"type": "
|
|
1086
|
-
"
|
|
2503
|
+
"sourceCount": {
|
|
2504
|
+
"type": "integer",
|
|
2505
|
+
"format": "int32"
|
|
1087
2506
|
},
|
|
1088
|
-
"
|
|
1089
|
-
"type": "
|
|
1090
|
-
"
|
|
2507
|
+
"enabledSourceCount": {
|
|
2508
|
+
"type": "integer",
|
|
2509
|
+
"format": "int32"
|
|
1091
2510
|
},
|
|
1092
|
-
"
|
|
1093
|
-
"type": "
|
|
1094
|
-
"format": "
|
|
1095
|
-
"nullable": true
|
|
2511
|
+
"tendersActive": {
|
|
2512
|
+
"type": "integer",
|
|
2513
|
+
"format": "int32"
|
|
1096
2514
|
},
|
|
1097
|
-
"
|
|
1098
|
-
"type": "
|
|
1099
|
-
"
|
|
2515
|
+
"tendersIrrelevant": {
|
|
2516
|
+
"type": "integer",
|
|
2517
|
+
"format": "int32"
|
|
1100
2518
|
},
|
|
1101
|
-
"
|
|
1102
|
-
"type": "
|
|
1103
|
-
"
|
|
2519
|
+
"tendersIngestionFailed": {
|
|
2520
|
+
"type": "integer",
|
|
2521
|
+
"format": "int32"
|
|
1104
2522
|
},
|
|
1105
|
-
"
|
|
1106
|
-
"type": "
|
|
1107
|
-
"
|
|
1108
|
-
"type": "string"
|
|
1109
|
-
},
|
|
1110
|
-
"nullable": true
|
|
2523
|
+
"jobsPending": {
|
|
2524
|
+
"type": "integer",
|
|
2525
|
+
"format": "int32"
|
|
1111
2526
|
},
|
|
1112
|
-
"
|
|
1113
|
-
"type": "
|
|
1114
|
-
"
|
|
1115
|
-
"type": "string"
|
|
1116
|
-
},
|
|
1117
|
-
"nullable": true
|
|
2527
|
+
"jobsRunning": {
|
|
2528
|
+
"type": "integer",
|
|
2529
|
+
"format": "int32"
|
|
1118
2530
|
},
|
|
1119
|
-
"
|
|
1120
|
-
"type": "
|
|
1121
|
-
"
|
|
2531
|
+
"jobsCompleted": {
|
|
2532
|
+
"type": "integer",
|
|
2533
|
+
"format": "int32"
|
|
1122
2534
|
},
|
|
1123
|
-
"
|
|
1124
|
-
"type": "
|
|
1125
|
-
"
|
|
2535
|
+
"jobsFailed": {
|
|
2536
|
+
"type": "integer",
|
|
2537
|
+
"format": "int32"
|
|
1126
2538
|
},
|
|
1127
|
-
"
|
|
1128
|
-
"type": "
|
|
1129
|
-
"
|
|
2539
|
+
"sources": {
|
|
2540
|
+
"type": "array",
|
|
2541
|
+
"items": {
|
|
2542
|
+
"$ref": "#/components/schemas/sourceSummary"
|
|
2543
|
+
}
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
},
|
|
2547
|
+
"deleteFailedTendersResponse": {
|
|
2548
|
+
"type": "object",
|
|
2549
|
+
"properties": {
|
|
2550
|
+
"sourceName": {
|
|
2551
|
+
"type": "string"
|
|
1130
2552
|
},
|
|
1131
|
-
"
|
|
1132
|
-
"type": "
|
|
1133
|
-
"
|
|
2553
|
+
"matched": {
|
|
2554
|
+
"type": "integer",
|
|
2555
|
+
"format": "int32"
|
|
1134
2556
|
},
|
|
1135
|
-
"
|
|
1136
|
-
"type": "
|
|
1137
|
-
"
|
|
2557
|
+
"deleted": {
|
|
2558
|
+
"type": "integer",
|
|
2559
|
+
"format": "int32"
|
|
1138
2560
|
}
|
|
1139
2561
|
}
|
|
1140
2562
|
},
|
|
1141
|
-
"
|
|
2563
|
+
"discoverListingRequest": {
|
|
1142
2564
|
"type": "object",
|
|
1143
2565
|
"properties": {
|
|
1144
|
-
"
|
|
2566
|
+
"homeUrl": {
|
|
2567
|
+
"type": "string"
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
},
|
|
2571
|
+
"discoverListingResponse": {
|
|
2572
|
+
"type": "object",
|
|
2573
|
+
"properties": {
|
|
2574
|
+
"candidates": {
|
|
2575
|
+
"type": "array",
|
|
2576
|
+
"items": {
|
|
2577
|
+
"$ref": "#/components/schemas/listingCandidate"
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
},
|
|
2582
|
+
"externalSourceRef": {
|
|
2583
|
+
"type": "object",
|
|
2584
|
+
"properties": {
|
|
2585
|
+
"system": {
|
|
1145
2586
|
"type": "string",
|
|
1146
2587
|
"nullable": true
|
|
1147
2588
|
},
|
|
1148
|
-
"
|
|
2589
|
+
"externalId": {
|
|
1149
2590
|
"type": "string",
|
|
1150
2591
|
"nullable": true
|
|
1151
2592
|
},
|
|
1152
|
-
"
|
|
2593
|
+
"url": {
|
|
1153
2594
|
"type": "string",
|
|
1154
2595
|
"nullable": true
|
|
1155
2596
|
},
|
|
1156
|
-
"
|
|
1157
|
-
"type": "
|
|
1158
|
-
"
|
|
1159
|
-
"type": "string"
|
|
1160
|
-
},
|
|
1161
|
-
"nullable": true
|
|
1162
|
-
},
|
|
1163
|
-
"roles": {
|
|
1164
|
-
"type": "array",
|
|
1165
|
-
"items": {
|
|
1166
|
-
"type": "string"
|
|
1167
|
-
},
|
|
1168
|
-
"nullable": true
|
|
1169
|
-
},
|
|
1170
|
-
"yearsExperience": {
|
|
1171
|
-
"type": "integer",
|
|
1172
|
-
"format": "int32",
|
|
2597
|
+
"discoveredAt": {
|
|
2598
|
+
"type": "string",
|
|
2599
|
+
"format": "date-time",
|
|
1173
2600
|
"nullable": true
|
|
1174
2601
|
}
|
|
1175
2602
|
}
|
|
@@ -1244,6 +2671,56 @@
|
|
|
1244
2671
|
},
|
|
1245
2672
|
"nullable": true
|
|
1246
2673
|
},
|
|
2674
|
+
"funnelResponse": {
|
|
2675
|
+
"type": "object",
|
|
2676
|
+
"properties": {
|
|
2677
|
+
"windowDays": {
|
|
2678
|
+
"type": "integer",
|
|
2679
|
+
"format": "int32"
|
|
2680
|
+
},
|
|
2681
|
+
"countByStage": {
|
|
2682
|
+
"type": "object",
|
|
2683
|
+
"additionalProperties": {
|
|
2684
|
+
"type": "integer",
|
|
2685
|
+
"format": "int32"
|
|
2686
|
+
}
|
|
2687
|
+
},
|
|
2688
|
+
"conversionRates": {
|
|
2689
|
+
"type": "object",
|
|
2690
|
+
"additionalProperties": {
|
|
2691
|
+
"type": "number",
|
|
2692
|
+
"format": "double"
|
|
2693
|
+
}
|
|
2694
|
+
},
|
|
2695
|
+
"avgCycleDays": {
|
|
2696
|
+
"type": "object",
|
|
2697
|
+
"additionalProperties": {
|
|
2698
|
+
"type": "number",
|
|
2699
|
+
"format": "double"
|
|
2700
|
+
}
|
|
2701
|
+
},
|
|
2702
|
+
"wonCount": {
|
|
2703
|
+
"type": "integer",
|
|
2704
|
+
"format": "int32"
|
|
2705
|
+
},
|
|
2706
|
+
"lostCount": {
|
|
2707
|
+
"type": "integer",
|
|
2708
|
+
"format": "int32"
|
|
2709
|
+
},
|
|
2710
|
+
"winRatePct": {
|
|
2711
|
+
"type": "number",
|
|
2712
|
+
"format": "double",
|
|
2713
|
+
"nullable": true
|
|
2714
|
+
},
|
|
2715
|
+
"stageTransitionsInWindow": {
|
|
2716
|
+
"type": "object",
|
|
2717
|
+
"additionalProperties": {
|
|
2718
|
+
"type": "integer",
|
|
2719
|
+
"format": "int32"
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
}
|
|
2723
|
+
},
|
|
1247
2724
|
"ingestionAttachment": {
|
|
1248
2725
|
"type": "object",
|
|
1249
2726
|
"properties": {
|
|
@@ -1298,6 +2775,52 @@
|
|
|
1298
2775
|
}
|
|
1299
2776
|
}
|
|
1300
2777
|
},
|
|
2778
|
+
"listingCandidate": {
|
|
2779
|
+
"type": "object",
|
|
2780
|
+
"properties": {
|
|
2781
|
+
"url": {
|
|
2782
|
+
"type": "string"
|
|
2783
|
+
},
|
|
2784
|
+
"label": {
|
|
2785
|
+
"type": "string"
|
|
2786
|
+
},
|
|
2787
|
+
"confidence": {
|
|
2788
|
+
"type": "number",
|
|
2789
|
+
"format": "double"
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
},
|
|
2793
|
+
"negotiateRequest": {
|
|
2794
|
+
"type": "object",
|
|
2795
|
+
"properties": {
|
|
2796
|
+
"groups": {
|
|
2797
|
+
"type": "array",
|
|
2798
|
+
"items": {
|
|
2799
|
+
"type": "string"
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2804
|
+
"negotiateResponse": {
|
|
2805
|
+
"type": "object",
|
|
2806
|
+
"properties": {
|
|
2807
|
+
"url": {
|
|
2808
|
+
"type": "string"
|
|
2809
|
+
},
|
|
2810
|
+
"accessToken": {
|
|
2811
|
+
"type": "string"
|
|
2812
|
+
},
|
|
2813
|
+
"hubName": {
|
|
2814
|
+
"type": "string"
|
|
2815
|
+
},
|
|
2816
|
+
"groups": {
|
|
2817
|
+
"type": "array",
|
|
2818
|
+
"items": {
|
|
2819
|
+
"type": "string"
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
},
|
|
1301
2824
|
"patchDocumentRequest": {
|
|
1302
2825
|
"type": "object",
|
|
1303
2826
|
"properties": {
|
|
@@ -1385,6 +2908,32 @@
|
|
|
1385
2908
|
}
|
|
1386
2909
|
}
|
|
1387
2910
|
},
|
|
2911
|
+
"sourceSummary": {
|
|
2912
|
+
"type": "object",
|
|
2913
|
+
"properties": {
|
|
2914
|
+
"name": {
|
|
2915
|
+
"type": "string"
|
|
2916
|
+
},
|
|
2917
|
+
"seedUrl": {
|
|
2918
|
+
"type": "string"
|
|
2919
|
+
},
|
|
2920
|
+
"enabled": {
|
|
2921
|
+
"type": "boolean"
|
|
2922
|
+
},
|
|
2923
|
+
"hasPattern": {
|
|
2924
|
+
"type": "boolean"
|
|
2925
|
+
},
|
|
2926
|
+
"patternSampleCount": {
|
|
2927
|
+
"type": "integer",
|
|
2928
|
+
"format": "int32"
|
|
2929
|
+
},
|
|
2930
|
+
"patternBootstrappedAt": {
|
|
2931
|
+
"type": "string",
|
|
2932
|
+
"format": "date-time",
|
|
2933
|
+
"nullable": true
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
},
|
|
1388
2937
|
"tender": {
|
|
1389
2938
|
"type": "object",
|
|
1390
2939
|
"properties": {
|
|
@@ -1735,10 +3284,64 @@
|
|
|
1735
3284
|
"$ref": "#/components/schemas/sourceFile"
|
|
1736
3285
|
},
|
|
1737
3286
|
"nullable": true
|
|
3287
|
+
},
|
|
3288
|
+
"additionalSources": {
|
|
3289
|
+
"type": "array",
|
|
3290
|
+
"items": {
|
|
3291
|
+
"$ref": "#/components/schemas/externalSourceRef"
|
|
3292
|
+
},
|
|
3293
|
+
"nullable": true
|
|
1738
3294
|
}
|
|
1739
3295
|
},
|
|
1740
3296
|
"nullable": true
|
|
1741
3297
|
},
|
|
3298
|
+
"tenderStatsResponse": {
|
|
3299
|
+
"type": "object",
|
|
3300
|
+
"properties": {
|
|
3301
|
+
"byStatus": {
|
|
3302
|
+
"type": "object",
|
|
3303
|
+
"additionalProperties": {
|
|
3304
|
+
"type": "integer",
|
|
3305
|
+
"format": "int32"
|
|
3306
|
+
}
|
|
3307
|
+
},
|
|
3308
|
+
"byStage": {
|
|
3309
|
+
"type": "object",
|
|
3310
|
+
"additionalProperties": {
|
|
3311
|
+
"type": "integer",
|
|
3312
|
+
"format": "int32"
|
|
3313
|
+
}
|
|
3314
|
+
},
|
|
3315
|
+
"byHealth": {
|
|
3316
|
+
"type": "object",
|
|
3317
|
+
"additionalProperties": {
|
|
3318
|
+
"type": "integer",
|
|
3319
|
+
"format": "int32"
|
|
3320
|
+
}
|
|
3321
|
+
},
|
|
3322
|
+
"total": {
|
|
3323
|
+
"type": "integer",
|
|
3324
|
+
"format": "int32"
|
|
3325
|
+
},
|
|
3326
|
+
"windowDays": {
|
|
3327
|
+
"type": "integer",
|
|
3328
|
+
"format": "int32"
|
|
3329
|
+
},
|
|
3330
|
+
"tendersInWindow": {
|
|
3331
|
+
"type": "integer",
|
|
3332
|
+
"format": "int32"
|
|
3333
|
+
},
|
|
3334
|
+
"consultantsMatched": {
|
|
3335
|
+
"type": "integer",
|
|
3336
|
+
"format": "int32"
|
|
3337
|
+
},
|
|
3338
|
+
"avgTimeToMatchHours": {
|
|
3339
|
+
"type": "number",
|
|
3340
|
+
"format": "double",
|
|
3341
|
+
"nullable": true
|
|
3342
|
+
}
|
|
3343
|
+
}
|
|
3344
|
+
},
|
|
1742
3345
|
"tenderStatus": {
|
|
1743
3346
|
"type": "object",
|
|
1744
3347
|
"properties": {
|
|
@@ -1837,6 +3440,25 @@
|
|
|
1837
3440
|
"nullable": true
|
|
1838
3441
|
}
|
|
1839
3442
|
}
|
|
3443
|
+
},
|
|
3444
|
+
"zombieReapResult": {
|
|
3445
|
+
"type": "object",
|
|
3446
|
+
"properties": {
|
|
3447
|
+
"scanned": {
|
|
3448
|
+
"type": "integer",
|
|
3449
|
+
"format": "int32"
|
|
3450
|
+
},
|
|
3451
|
+
"reaped": {
|
|
3452
|
+
"type": "integer",
|
|
3453
|
+
"format": "int32"
|
|
3454
|
+
},
|
|
3455
|
+
"reapedJobIds": {
|
|
3456
|
+
"type": "array",
|
|
3457
|
+
"items": {
|
|
3458
|
+
"type": "string"
|
|
3459
|
+
}
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
1840
3462
|
}
|
|
1841
3463
|
},
|
|
1842
3464
|
"securitySchemes": {
|