@djangocfg/api 1.2.17 → 1.2.19
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/dist/index.cjs +2841 -1242
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2704 -432
- package/dist/index.d.ts +2704 -432
- package/dist/index.mjs +2717 -1130
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard.ts +89 -0
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_monitoring.ts +122 -0
- package/src/cfg/generated/_utils/fetchers/cfg__tasks.ts +9 -7
- package/src/cfg/generated/_utils/fetchers/index.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard.ts +77 -0
- package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_monitoring.ts +110 -0
- package/src/cfg/generated/_utils/hooks/cfg__tasks.ts +9 -7
- package/src/cfg/generated/_utils/hooks/index.ts +2 -0
- package/src/cfg/generated/_utils/schemas/DashboardOverview.schema.ts +16 -8
- package/src/cfg/generated/_utils/schemas/MethodList.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/MethodStatsSerializer.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/RecentRequests.schema.ts +23 -0
- package/src/cfg/generated/_utils/schemas/ServiceList.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/ServiceStatsSerializer.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/TaskLogOverview.schema.ts +43 -0
- package/src/cfg/generated/_utils/schemas/TaskLogTimeline.schema.ts +28 -0
- package/src/cfg/generated/_utils/schemas/TaskLogTimelineItem.schema.ts +28 -0
- package/src/cfg/generated/_utils/schemas/TasksByQueue.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/TasksByStatus.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/index.ts +10 -0
- package/src/cfg/generated/cfg__dashboard/client.ts +48 -0
- package/src/cfg/generated/cfg__dashboard/index.ts +2 -0
- package/src/cfg/generated/cfg__dashboard/models.ts +0 -0
- package/src/cfg/generated/cfg__dashboard__dashboard_overview/models.ts +179 -9
- package/src/cfg/generated/cfg__grpc__grpc_monitoring/client.ts +129 -0
- package/src/cfg/generated/cfg__grpc__grpc_monitoring/index.ts +2 -0
- package/src/cfg/generated/cfg__grpc__grpc_monitoring/models.ts +124 -0
- package/src/cfg/generated/cfg__support/client.ts +30 -12
- package/src/cfg/generated/cfg__tasks/client.ts +38 -31
- package/src/cfg/generated/cfg__tasks/models.ts +82 -0
- package/src/cfg/generated/client.ts +6 -0
- package/src/cfg/generated/index.ts +10 -0
- package/src/cfg/generated/schema.ts +1292 -121
|
@@ -2407,53 +2407,63 @@ export const OPENAPI_SCHEMA = {
|
|
|
2407
2407
|
"type": "object"
|
|
2408
2408
|
},
|
|
2409
2409
|
"DashboardOverview": {
|
|
2410
|
-
"description": "Main serializer for dashboard overview endpoint.\nUses
|
|
2410
|
+
"description": "Main serializer for dashboard overview endpoint.\nUses typed serializers for proper OpenAPI schema generation.",
|
|
2411
2411
|
"properties": {
|
|
2412
|
+
"app_statistics": {
|
|
2413
|
+
"description": "Application statistics",
|
|
2414
|
+
"items": {
|
|
2415
|
+
"$ref": "#/components/schemas/AppStatistics"
|
|
2416
|
+
},
|
|
2417
|
+
"type": "array"
|
|
2418
|
+
},
|
|
2412
2419
|
"quick_actions": {
|
|
2413
2420
|
"description": "Quick action buttons",
|
|
2414
2421
|
"items": {
|
|
2415
|
-
"
|
|
2416
|
-
"type": "object"
|
|
2422
|
+
"$ref": "#/components/schemas/QuickAction"
|
|
2417
2423
|
},
|
|
2418
2424
|
"type": "array"
|
|
2419
2425
|
},
|
|
2420
2426
|
"recent_activity": {
|
|
2421
2427
|
"description": "Recent activity entries",
|
|
2422
2428
|
"items": {
|
|
2423
|
-
"
|
|
2424
|
-
"type": "object"
|
|
2429
|
+
"$ref": "#/components/schemas/ActivityEntry"
|
|
2425
2430
|
},
|
|
2426
2431
|
"type": "array"
|
|
2427
2432
|
},
|
|
2428
2433
|
"stat_cards": {
|
|
2429
2434
|
"description": "Dashboard statistics cards",
|
|
2430
2435
|
"items": {
|
|
2431
|
-
"
|
|
2432
|
-
"type": "object"
|
|
2436
|
+
"$ref": "#/components/schemas/StatCard"
|
|
2433
2437
|
},
|
|
2434
2438
|
"type": "array"
|
|
2435
2439
|
},
|
|
2436
2440
|
"system_health": {
|
|
2437
|
-
"
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
"
|
|
2441
|
+
"allOf": [
|
|
2442
|
+
{
|
|
2443
|
+
"$ref": "#/components/schemas/SystemHealth"
|
|
2444
|
+
}
|
|
2445
|
+
],
|
|
2446
|
+
"description": "System health status"
|
|
2443
2447
|
},
|
|
2444
2448
|
"system_metrics": {
|
|
2445
|
-
"
|
|
2446
|
-
|
|
2447
|
-
|
|
2449
|
+
"allOf": [
|
|
2450
|
+
{
|
|
2451
|
+
"$ref": "#/components/schemas/SystemMetrics"
|
|
2452
|
+
}
|
|
2453
|
+
],
|
|
2454
|
+
"description": "System performance metrics"
|
|
2448
2455
|
},
|
|
2449
2456
|
"timestamp": {
|
|
2450
2457
|
"description": "Data timestamp (ISO format)",
|
|
2451
2458
|
"type": "string"
|
|
2452
2459
|
},
|
|
2453
2460
|
"user_statistics": {
|
|
2454
|
-
"
|
|
2455
|
-
|
|
2456
|
-
|
|
2461
|
+
"allOf": [
|
|
2462
|
+
{
|
|
2463
|
+
"$ref": "#/components/schemas/UserStatistics"
|
|
2464
|
+
}
|
|
2465
|
+
],
|
|
2466
|
+
"description": "User statistics"
|
|
2457
2467
|
}
|
|
2458
2468
|
},
|
|
2459
2469
|
"required": [
|
|
@@ -3837,6 +3847,88 @@ export const OPENAPI_SCHEMA = {
|
|
|
3837
3847
|
],
|
|
3838
3848
|
"type": "object"
|
|
3839
3849
|
},
|
|
3850
|
+
"MethodList": {
|
|
3851
|
+
"description": "List of gRPC methods with statistics.",
|
|
3852
|
+
"properties": {
|
|
3853
|
+
"methods": {
|
|
3854
|
+
"description": "Method statistics",
|
|
3855
|
+
"items": {
|
|
3856
|
+
"$ref": "#/components/schemas/MethodStatsSerializer"
|
|
3857
|
+
},
|
|
3858
|
+
"title": "Methods",
|
|
3859
|
+
"type": "array"
|
|
3860
|
+
},
|
|
3861
|
+
"total_methods": {
|
|
3862
|
+
"description": "Total number of methods",
|
|
3863
|
+
"title": "Total Methods",
|
|
3864
|
+
"type": "integer"
|
|
3865
|
+
}
|
|
3866
|
+
},
|
|
3867
|
+
"required": [
|
|
3868
|
+
"methods",
|
|
3869
|
+
"total_methods"
|
|
3870
|
+
],
|
|
3871
|
+
"title": "MethodListSerializer",
|
|
3872
|
+
"type": "object"
|
|
3873
|
+
},
|
|
3874
|
+
"MethodStatsSerializer": {
|
|
3875
|
+
"description": "Statistics for a single gRPC method.",
|
|
3876
|
+
"properties": {
|
|
3877
|
+
"avg_duration_ms": {
|
|
3878
|
+
"description": "Average duration",
|
|
3879
|
+
"title": "Avg Duration Ms",
|
|
3880
|
+
"type": "number"
|
|
3881
|
+
},
|
|
3882
|
+
"errors": {
|
|
3883
|
+
"description": "Error requests",
|
|
3884
|
+
"title": "Errors",
|
|
3885
|
+
"type": "integer"
|
|
3886
|
+
},
|
|
3887
|
+
"last_activity_at": {
|
|
3888
|
+
"anyOf": [
|
|
3889
|
+
{
|
|
3890
|
+
"type": "string"
|
|
3891
|
+
},
|
|
3892
|
+
{
|
|
3893
|
+
"type": "null"
|
|
3894
|
+
}
|
|
3895
|
+
],
|
|
3896
|
+
"description": "Last activity timestamp",
|
|
3897
|
+
"title": "Last Activity At"
|
|
3898
|
+
},
|
|
3899
|
+
"method_name": {
|
|
3900
|
+
"description": "Method name",
|
|
3901
|
+
"title": "Method Name",
|
|
3902
|
+
"type": "string"
|
|
3903
|
+
},
|
|
3904
|
+
"service_name": {
|
|
3905
|
+
"description": "Service name",
|
|
3906
|
+
"title": "Service Name",
|
|
3907
|
+
"type": "string"
|
|
3908
|
+
},
|
|
3909
|
+
"successful": {
|
|
3910
|
+
"description": "Successful requests",
|
|
3911
|
+
"title": "Successful",
|
|
3912
|
+
"type": "integer"
|
|
3913
|
+
},
|
|
3914
|
+
"total": {
|
|
3915
|
+
"description": "Total requests",
|
|
3916
|
+
"title": "Total",
|
|
3917
|
+
"type": "integer"
|
|
3918
|
+
}
|
|
3919
|
+
},
|
|
3920
|
+
"required": [
|
|
3921
|
+
"method_name",
|
|
3922
|
+
"service_name",
|
|
3923
|
+
"total",
|
|
3924
|
+
"successful",
|
|
3925
|
+
"errors",
|
|
3926
|
+
"avg_duration_ms",
|
|
3927
|
+
"last_activity_at"
|
|
3928
|
+
],
|
|
3929
|
+
"title": "MethodStatsSerializer",
|
|
3930
|
+
"type": "object"
|
|
3931
|
+
},
|
|
3840
3932
|
"Newsletter": {
|
|
3841
3933
|
"description": "Serializer for Newsletter model.",
|
|
3842
3934
|
"properties": {
|
|
@@ -6303,6 +6395,49 @@ export const OPENAPI_SCHEMA = {
|
|
|
6303
6395
|
"title": "RecentPublishesSerializer",
|
|
6304
6396
|
"type": "object"
|
|
6305
6397
|
},
|
|
6398
|
+
"RecentRequests": {
|
|
6399
|
+
"description": "Recent gRPC requests list.",
|
|
6400
|
+
"properties": {
|
|
6401
|
+
"count": {
|
|
6402
|
+
"description": "Number of requests returned",
|
|
6403
|
+
"title": "Count",
|
|
6404
|
+
"type": "integer"
|
|
6405
|
+
},
|
|
6406
|
+
"has_more": {
|
|
6407
|
+
"default": false,
|
|
6408
|
+
"description": "Whether more results are available",
|
|
6409
|
+
"title": "Has More",
|
|
6410
|
+
"type": "boolean"
|
|
6411
|
+
},
|
|
6412
|
+
"offset": {
|
|
6413
|
+
"default": 0,
|
|
6414
|
+
"description": "Current offset for pagination",
|
|
6415
|
+
"title": "Offset",
|
|
6416
|
+
"type": "integer"
|
|
6417
|
+
},
|
|
6418
|
+
"requests": {
|
|
6419
|
+
"description": "List of recent requests",
|
|
6420
|
+
"items": {
|
|
6421
|
+
"additionalProperties": true,
|
|
6422
|
+
"type": "object"
|
|
6423
|
+
},
|
|
6424
|
+
"title": "Requests",
|
|
6425
|
+
"type": "array"
|
|
6426
|
+
},
|
|
6427
|
+
"total_available": {
|
|
6428
|
+
"description": "Total requests available",
|
|
6429
|
+
"title": "Total Available",
|
|
6430
|
+
"type": "integer"
|
|
6431
|
+
}
|
|
6432
|
+
},
|
|
6433
|
+
"required": [
|
|
6434
|
+
"requests",
|
|
6435
|
+
"count",
|
|
6436
|
+
"total_available"
|
|
6437
|
+
],
|
|
6438
|
+
"title": "RecentRequestsSerializer",
|
|
6439
|
+
"type": "object"
|
|
6440
|
+
},
|
|
6306
6441
|
"RecentUser": {
|
|
6307
6442
|
"description": "Recent user serializer.",
|
|
6308
6443
|
"properties": {
|
|
@@ -6428,6 +6563,82 @@ export const OPENAPI_SCHEMA = {
|
|
|
6428
6563
|
],
|
|
6429
6564
|
"type": "object"
|
|
6430
6565
|
},
|
|
6566
|
+
"ServiceList": {
|
|
6567
|
+
"description": "List of gRPC services with statistics.",
|
|
6568
|
+
"properties": {
|
|
6569
|
+
"services": {
|
|
6570
|
+
"description": "Service statistics",
|
|
6571
|
+
"items": {
|
|
6572
|
+
"$ref": "#/components/schemas/ServiceStatsSerializer"
|
|
6573
|
+
},
|
|
6574
|
+
"title": "Services",
|
|
6575
|
+
"type": "array"
|
|
6576
|
+
},
|
|
6577
|
+
"total_services": {
|
|
6578
|
+
"description": "Total number of services",
|
|
6579
|
+
"title": "Total Services",
|
|
6580
|
+
"type": "integer"
|
|
6581
|
+
}
|
|
6582
|
+
},
|
|
6583
|
+
"required": [
|
|
6584
|
+
"services",
|
|
6585
|
+
"total_services"
|
|
6586
|
+
],
|
|
6587
|
+
"title": "ServiceListSerializer",
|
|
6588
|
+
"type": "object"
|
|
6589
|
+
},
|
|
6590
|
+
"ServiceStatsSerializer": {
|
|
6591
|
+
"description": "Statistics for a single gRPC service.",
|
|
6592
|
+
"properties": {
|
|
6593
|
+
"avg_duration_ms": {
|
|
6594
|
+
"description": "Average duration",
|
|
6595
|
+
"title": "Avg Duration Ms",
|
|
6596
|
+
"type": "number"
|
|
6597
|
+
},
|
|
6598
|
+
"errors": {
|
|
6599
|
+
"description": "Error requests",
|
|
6600
|
+
"title": "Errors",
|
|
6601
|
+
"type": "integer"
|
|
6602
|
+
},
|
|
6603
|
+
"last_activity_at": {
|
|
6604
|
+
"anyOf": [
|
|
6605
|
+
{
|
|
6606
|
+
"type": "string"
|
|
6607
|
+
},
|
|
6608
|
+
{
|
|
6609
|
+
"type": "null"
|
|
6610
|
+
}
|
|
6611
|
+
],
|
|
6612
|
+
"description": "Last activity timestamp",
|
|
6613
|
+
"title": "Last Activity At"
|
|
6614
|
+
},
|
|
6615
|
+
"service_name": {
|
|
6616
|
+
"description": "Service name",
|
|
6617
|
+
"title": "Service Name",
|
|
6618
|
+
"type": "string"
|
|
6619
|
+
},
|
|
6620
|
+
"successful": {
|
|
6621
|
+
"description": "Successful requests",
|
|
6622
|
+
"title": "Successful",
|
|
6623
|
+
"type": "integer"
|
|
6624
|
+
},
|
|
6625
|
+
"total": {
|
|
6626
|
+
"description": "Total requests",
|
|
6627
|
+
"title": "Total",
|
|
6628
|
+
"type": "integer"
|
|
6629
|
+
}
|
|
6630
|
+
},
|
|
6631
|
+
"required": [
|
|
6632
|
+
"service_name",
|
|
6633
|
+
"total",
|
|
6634
|
+
"successful",
|
|
6635
|
+
"errors",
|
|
6636
|
+
"avg_duration_ms",
|
|
6637
|
+
"last_activity_at"
|
|
6638
|
+
],
|
|
6639
|
+
"title": "ServiceStatsSerializer",
|
|
6640
|
+
"type": "object"
|
|
6641
|
+
},
|
|
6431
6642
|
"StatCard": {
|
|
6432
6643
|
"description": "Serializer for dashboard statistics cards.\n\nMaps to StatCard Pydantic model.",
|
|
6433
6644
|
"properties": {
|
|
@@ -7059,6 +7270,48 @@ export const OPENAPI_SCHEMA = {
|
|
|
7059
7270
|
],
|
|
7060
7271
|
"type": "object"
|
|
7061
7272
|
},
|
|
7273
|
+
"TaskLogOverview": {
|
|
7274
|
+
"description": "Overview of task system with proper structure.\n\nProvides high-level statistics about the entire task system:\n- Total tasks count (all-time)\n- Active queues list\n- Recent failures (last 24h)\n- Tasks distribution by queue (as array)\n- Tasks distribution by status (as array)\n\nUsed by /cfg/tasks/logs/overview/ endpoint.",
|
|
7275
|
+
"properties": {
|
|
7276
|
+
"active_queues": {
|
|
7277
|
+
"description": "List of active queue names",
|
|
7278
|
+
"items": {
|
|
7279
|
+
"type": "string"
|
|
7280
|
+
},
|
|
7281
|
+
"type": "array"
|
|
7282
|
+
},
|
|
7283
|
+
"recent_failures": {
|
|
7284
|
+
"description": "Failed tasks in last 24 hours",
|
|
7285
|
+
"type": "integer"
|
|
7286
|
+
},
|
|
7287
|
+
"tasks_by_queue": {
|
|
7288
|
+
"description": "Tasks grouped by queue name",
|
|
7289
|
+
"items": {
|
|
7290
|
+
"$ref": "#/components/schemas/TasksByQueue"
|
|
7291
|
+
},
|
|
7292
|
+
"type": "array"
|
|
7293
|
+
},
|
|
7294
|
+
"tasks_by_status": {
|
|
7295
|
+
"description": "Tasks grouped by status",
|
|
7296
|
+
"items": {
|
|
7297
|
+
"$ref": "#/components/schemas/TasksByStatus"
|
|
7298
|
+
},
|
|
7299
|
+
"type": "array"
|
|
7300
|
+
},
|
|
7301
|
+
"total_tasks": {
|
|
7302
|
+
"description": "Total number of tasks all-time",
|
|
7303
|
+
"type": "integer"
|
|
7304
|
+
}
|
|
7305
|
+
},
|
|
7306
|
+
"required": [
|
|
7307
|
+
"active_queues",
|
|
7308
|
+
"recent_failures",
|
|
7309
|
+
"tasks_by_queue",
|
|
7310
|
+
"tasks_by_status",
|
|
7311
|
+
"total_tasks"
|
|
7312
|
+
],
|
|
7313
|
+
"type": "object"
|
|
7314
|
+
},
|
|
7062
7315
|
"TaskLogStats": {
|
|
7063
7316
|
"description": "Statistics serializer for task metrics.\n\nNot tied to a model - used for aggregated data.",
|
|
7064
7317
|
"properties": {
|
|
@@ -7108,68 +7361,168 @@ export const OPENAPI_SCHEMA = {
|
|
|
7108
7361
|
],
|
|
7109
7362
|
"type": "object"
|
|
7110
7363
|
},
|
|
7111
|
-
"
|
|
7112
|
-
"description": "
|
|
7364
|
+
"TaskLogTimeline": {
|
|
7365
|
+
"description": "Timeline response wrapper.\n\nReturns timeline data as array of time-bucketed statistics.\nUsed by /cfg/tasks/logs/timeline/ endpoint.",
|
|
7113
7366
|
"properties": {
|
|
7114
|
-
"
|
|
7115
|
-
"
|
|
7116
|
-
"
|
|
7117
|
-
|
|
7367
|
+
"data": {
|
|
7368
|
+
"description": "Timeline data points",
|
|
7369
|
+
"items": {
|
|
7370
|
+
"$ref": "#/components/schemas/TaskLogTimelineItem"
|
|
7371
|
+
},
|
|
7372
|
+
"type": "array"
|
|
7118
7373
|
},
|
|
7119
|
-
"
|
|
7120
|
-
"
|
|
7121
|
-
"minLength": 1,
|
|
7374
|
+
"interval": {
|
|
7375
|
+
"description": "Time bucket interval (hour/day)",
|
|
7122
7376
|
"type": "string"
|
|
7123
7377
|
},
|
|
7124
|
-
"
|
|
7125
|
-
"
|
|
7126
|
-
"
|
|
7127
|
-
"minLength": 1,
|
|
7128
|
-
"type": "string"
|
|
7378
|
+
"period_hours": {
|
|
7379
|
+
"description": "Time period covered in hours",
|
|
7380
|
+
"type": "integer"
|
|
7129
7381
|
}
|
|
7130
7382
|
},
|
|
7131
7383
|
"required": [
|
|
7132
|
-
"
|
|
7384
|
+
"data",
|
|
7385
|
+
"interval",
|
|
7386
|
+
"period_hours"
|
|
7133
7387
|
],
|
|
7134
7388
|
"type": "object"
|
|
7135
7389
|
},
|
|
7136
|
-
"
|
|
7390
|
+
"TaskLogTimelineItem": {
|
|
7391
|
+
"description": "Single timeline data point.\n\nRepresents aggregated task statistics for a specific time period.",
|
|
7137
7392
|
"properties": {
|
|
7138
|
-
"
|
|
7139
|
-
"
|
|
7140
|
-
"
|
|
7141
|
-
"type": "
|
|
7142
|
-
},
|
|
7143
|
-
"status": {
|
|
7144
|
-
"description": "* `open` - Open\n* `waiting_for_user` - Waiting for User\n* `waiting_for_admin` - Waiting for Admin\n* `resolved` - Resolved\n* `closed` - Closed",
|
|
7145
|
-
"enum": [
|
|
7146
|
-
"open",
|
|
7147
|
-
"waiting_for_user",
|
|
7148
|
-
"waiting_for_admin",
|
|
7149
|
-
"resolved",
|
|
7150
|
-
"closed"
|
|
7151
|
-
],
|
|
7152
|
-
"type": "string",
|
|
7153
|
-
"x-spec-enum-id": "c21b48fabf2398aa"
|
|
7393
|
+
"avg_duration_ms": {
|
|
7394
|
+
"description": "Average duration in milliseconds",
|
|
7395
|
+
"format": "double",
|
|
7396
|
+
"type": "number"
|
|
7154
7397
|
},
|
|
7155
|
-
"
|
|
7156
|
-
"
|
|
7157
|
-
"type": "
|
|
7398
|
+
"failed": {
|
|
7399
|
+
"description": "Failed tasks",
|
|
7400
|
+
"type": "integer"
|
|
7158
7401
|
},
|
|
7159
|
-
"
|
|
7160
|
-
"description": "
|
|
7161
|
-
"readOnly": true,
|
|
7402
|
+
"in_progress": {
|
|
7403
|
+
"description": "Tasks currently in progress",
|
|
7162
7404
|
"type": "integer"
|
|
7163
7405
|
},
|
|
7164
|
-
"
|
|
7406
|
+
"successful": {
|
|
7407
|
+
"description": "Successful tasks",
|
|
7165
7408
|
"type": "integer"
|
|
7166
7409
|
},
|
|
7167
|
-
"
|
|
7168
|
-
"
|
|
7169
|
-
"
|
|
7410
|
+
"timestamp": {
|
|
7411
|
+
"description": "Time bucket start",
|
|
7412
|
+
"format": "date-time",
|
|
7170
7413
|
"type": "string"
|
|
7171
|
-
}
|
|
7172
|
-
|
|
7414
|
+
},
|
|
7415
|
+
"total": {
|
|
7416
|
+
"description": "Total tasks in this period",
|
|
7417
|
+
"type": "integer"
|
|
7418
|
+
}
|
|
7419
|
+
},
|
|
7420
|
+
"required": [
|
|
7421
|
+
"failed",
|
|
7422
|
+
"successful",
|
|
7423
|
+
"timestamp",
|
|
7424
|
+
"total"
|
|
7425
|
+
],
|
|
7426
|
+
"type": "object"
|
|
7427
|
+
},
|
|
7428
|
+
"TasksByQueue": {
|
|
7429
|
+
"description": "Tasks count by queue.\n\nUsed in overview endpoint for tasks_by_queue list.",
|
|
7430
|
+
"properties": {
|
|
7431
|
+
"count": {
|
|
7432
|
+
"description": "Number of tasks in this queue",
|
|
7433
|
+
"type": "integer"
|
|
7434
|
+
},
|
|
7435
|
+
"queue_name": {
|
|
7436
|
+
"description": "Queue name",
|
|
7437
|
+
"type": "string"
|
|
7438
|
+
}
|
|
7439
|
+
},
|
|
7440
|
+
"required": [
|
|
7441
|
+
"count",
|
|
7442
|
+
"queue_name"
|
|
7443
|
+
],
|
|
7444
|
+
"type": "object"
|
|
7445
|
+
},
|
|
7446
|
+
"TasksByStatus": {
|
|
7447
|
+
"description": "Tasks count by status.\n\nUsed in overview endpoint for tasks_by_status list.",
|
|
7448
|
+
"properties": {
|
|
7449
|
+
"count": {
|
|
7450
|
+
"description": "Number of tasks with this status",
|
|
7451
|
+
"type": "integer"
|
|
7452
|
+
},
|
|
7453
|
+
"status": {
|
|
7454
|
+
"description": "Task status",
|
|
7455
|
+
"type": "string"
|
|
7456
|
+
}
|
|
7457
|
+
},
|
|
7458
|
+
"required": [
|
|
7459
|
+
"count",
|
|
7460
|
+
"status"
|
|
7461
|
+
],
|
|
7462
|
+
"type": "object"
|
|
7463
|
+
},
|
|
7464
|
+
"TestEmailRequest": {
|
|
7465
|
+
"description": "Simple serializer for test email.",
|
|
7466
|
+
"properties": {
|
|
7467
|
+
"email": {
|
|
7468
|
+
"format": "email",
|
|
7469
|
+
"minLength": 1,
|
|
7470
|
+
"type": "string"
|
|
7471
|
+
},
|
|
7472
|
+
"message": {
|
|
7473
|
+
"default": "This is a test email from Django CFG Newsletter.",
|
|
7474
|
+
"minLength": 1,
|
|
7475
|
+
"type": "string"
|
|
7476
|
+
},
|
|
7477
|
+
"subject": {
|
|
7478
|
+
"default": "Django CFG Newsletter Test",
|
|
7479
|
+
"maxLength": 255,
|
|
7480
|
+
"minLength": 1,
|
|
7481
|
+
"type": "string"
|
|
7482
|
+
}
|
|
7483
|
+
},
|
|
7484
|
+
"required": [
|
|
7485
|
+
"email"
|
|
7486
|
+
],
|
|
7487
|
+
"type": "object"
|
|
7488
|
+
},
|
|
7489
|
+
"Ticket": {
|
|
7490
|
+
"properties": {
|
|
7491
|
+
"created_at": {
|
|
7492
|
+
"format": "date-time",
|
|
7493
|
+
"readOnly": true,
|
|
7494
|
+
"type": "string"
|
|
7495
|
+
},
|
|
7496
|
+
"status": {
|
|
7497
|
+
"description": "* `open` - Open\n* `waiting_for_user` - Waiting for User\n* `waiting_for_admin` - Waiting for Admin\n* `resolved` - Resolved\n* `closed` - Closed",
|
|
7498
|
+
"enum": [
|
|
7499
|
+
"open",
|
|
7500
|
+
"waiting_for_user",
|
|
7501
|
+
"waiting_for_admin",
|
|
7502
|
+
"resolved",
|
|
7503
|
+
"closed"
|
|
7504
|
+
],
|
|
7505
|
+
"type": "string",
|
|
7506
|
+
"x-spec-enum-id": "c21b48fabf2398aa"
|
|
7507
|
+
},
|
|
7508
|
+
"subject": {
|
|
7509
|
+
"maxLength": 255,
|
|
7510
|
+
"type": "string"
|
|
7511
|
+
},
|
|
7512
|
+
"unanswered_messages_count": {
|
|
7513
|
+
"description": "Get count of unanswered messages for this specific ticket.",
|
|
7514
|
+
"readOnly": true,
|
|
7515
|
+
"type": "integer"
|
|
7516
|
+
},
|
|
7517
|
+
"user": {
|
|
7518
|
+
"type": "integer"
|
|
7519
|
+
},
|
|
7520
|
+
"uuid": {
|
|
7521
|
+
"format": "uuid",
|
|
7522
|
+
"readOnly": true,
|
|
7523
|
+
"type": "string"
|
|
7524
|
+
}
|
|
7525
|
+
},
|
|
7173
7526
|
"required": [
|
|
7174
7527
|
"created_at",
|
|
7175
7528
|
"subject",
|
|
@@ -7706,7 +8059,8 @@ export const OPENAPI_SCHEMA = {
|
|
|
7706
8059
|
"django_cfg_agents",
|
|
7707
8060
|
"tasks",
|
|
7708
8061
|
"payments",
|
|
7709
|
-
"django_cfg_centrifugo"
|
|
8062
|
+
"django_cfg_centrifugo",
|
|
8063
|
+
"grpc"
|
|
7710
8064
|
],
|
|
7711
8065
|
"generator": "django-client",
|
|
7712
8066
|
"generator_version": "1.0.0",
|
|
@@ -7880,6 +8234,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
7880
8234
|
"security": [
|
|
7881
8235
|
{
|
|
7882
8236
|
"jwtAuth": []
|
|
8237
|
+
},
|
|
8238
|
+
{
|
|
8239
|
+
"cookieAuth": []
|
|
7883
8240
|
}
|
|
7884
8241
|
],
|
|
7885
8242
|
"summary": "Get current user profile",
|
|
@@ -8026,6 +8383,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
8026
8383
|
"security": [
|
|
8027
8384
|
{
|
|
8028
8385
|
"jwtAuth": []
|
|
8386
|
+
},
|
|
8387
|
+
{
|
|
8388
|
+
"cookieAuth": []
|
|
8029
8389
|
}
|
|
8030
8390
|
],
|
|
8031
8391
|
"summary": "Partial update user profile",
|
|
@@ -8103,6 +8463,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
8103
8463
|
"security": [
|
|
8104
8464
|
{
|
|
8105
8465
|
"jwtAuth": []
|
|
8466
|
+
},
|
|
8467
|
+
{
|
|
8468
|
+
"cookieAuth": []
|
|
8106
8469
|
}
|
|
8107
8470
|
],
|
|
8108
8471
|
"summary": "Partial update user profile",
|
|
@@ -8182,6 +8545,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
8182
8545
|
"security": [
|
|
8183
8546
|
{
|
|
8184
8547
|
"jwtAuth": []
|
|
8548
|
+
},
|
|
8549
|
+
{
|
|
8550
|
+
"cookieAuth": []
|
|
8185
8551
|
}
|
|
8186
8552
|
],
|
|
8187
8553
|
"summary": "Update user profile",
|
|
@@ -8259,6 +8625,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
8259
8625
|
"security": [
|
|
8260
8626
|
{
|
|
8261
8627
|
"jwtAuth": []
|
|
8628
|
+
},
|
|
8629
|
+
{
|
|
8630
|
+
"cookieAuth": []
|
|
8262
8631
|
}
|
|
8263
8632
|
],
|
|
8264
8633
|
"summary": "Update user profile",
|
|
@@ -8322,6 +8691,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8322
8691
|
"security": [
|
|
8323
8692
|
{
|
|
8324
8693
|
"jwtAuth": []
|
|
8694
|
+
},
|
|
8695
|
+
{
|
|
8696
|
+
"cookieAuth": []
|
|
8697
|
+
},
|
|
8698
|
+
{
|
|
8699
|
+
"basicAuth": []
|
|
8325
8700
|
}
|
|
8326
8701
|
],
|
|
8327
8702
|
"tags": [
|
|
@@ -8359,6 +8734,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8359
8734
|
"security": [
|
|
8360
8735
|
{
|
|
8361
8736
|
"jwtAuth": []
|
|
8737
|
+
},
|
|
8738
|
+
{
|
|
8739
|
+
"cookieAuth": []
|
|
8740
|
+
},
|
|
8741
|
+
{
|
|
8742
|
+
"basicAuth": []
|
|
8362
8743
|
}
|
|
8363
8744
|
],
|
|
8364
8745
|
"summary": "Get Centrifugo health status",
|
|
@@ -8407,6 +8788,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8407
8788
|
"security": [
|
|
8408
8789
|
{
|
|
8409
8790
|
"jwtAuth": []
|
|
8791
|
+
},
|
|
8792
|
+
{
|
|
8793
|
+
"cookieAuth": []
|
|
8794
|
+
},
|
|
8795
|
+
{
|
|
8796
|
+
"basicAuth": []
|
|
8410
8797
|
}
|
|
8411
8798
|
],
|
|
8412
8799
|
"summary": "Get overview statistics",
|
|
@@ -8479,6 +8866,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8479
8866
|
"security": [
|
|
8480
8867
|
{
|
|
8481
8868
|
"jwtAuth": []
|
|
8869
|
+
},
|
|
8870
|
+
{
|
|
8871
|
+
"cookieAuth": []
|
|
8872
|
+
},
|
|
8873
|
+
{
|
|
8874
|
+
"basicAuth": []
|
|
8482
8875
|
}
|
|
8483
8876
|
],
|
|
8484
8877
|
"summary": "Get recent publishes",
|
|
@@ -8535,6 +8928,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8535
8928
|
"security": [
|
|
8536
8929
|
{
|
|
8537
8930
|
"jwtAuth": []
|
|
8931
|
+
},
|
|
8932
|
+
{
|
|
8933
|
+
"cookieAuth": []
|
|
8934
|
+
},
|
|
8935
|
+
{
|
|
8936
|
+
"basicAuth": []
|
|
8538
8937
|
}
|
|
8539
8938
|
],
|
|
8540
8939
|
"summary": "Get channel statistics",
|
|
@@ -8599,6 +8998,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8599
8998
|
"security": [
|
|
8600
8999
|
{
|
|
8601
9000
|
"jwtAuth": []
|
|
9001
|
+
},
|
|
9002
|
+
{
|
|
9003
|
+
"cookieAuth": []
|
|
9004
|
+
},
|
|
9005
|
+
{
|
|
9006
|
+
"basicAuth": []
|
|
8602
9007
|
}
|
|
8603
9008
|
],
|
|
8604
9009
|
"summary": "Get connection token for dashboard",
|
|
@@ -8656,6 +9061,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8656
9061
|
"security": [
|
|
8657
9062
|
{
|
|
8658
9063
|
"jwtAuth": []
|
|
9064
|
+
},
|
|
9065
|
+
{
|
|
9066
|
+
"cookieAuth": []
|
|
9067
|
+
},
|
|
9068
|
+
{
|
|
9069
|
+
"basicAuth": []
|
|
8659
9070
|
}
|
|
8660
9071
|
],
|
|
8661
9072
|
"summary": "List active channels",
|
|
@@ -8714,6 +9125,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8714
9125
|
"security": [
|
|
8715
9126
|
{
|
|
8716
9127
|
"jwtAuth": []
|
|
9128
|
+
},
|
|
9129
|
+
{
|
|
9130
|
+
"cookieAuth": []
|
|
9131
|
+
},
|
|
9132
|
+
{
|
|
9133
|
+
"basicAuth": []
|
|
8717
9134
|
}
|
|
8718
9135
|
],
|
|
8719
9136
|
"summary": "Get channel history",
|
|
@@ -8752,6 +9169,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8752
9169
|
"security": [
|
|
8753
9170
|
{
|
|
8754
9171
|
"jwtAuth": []
|
|
9172
|
+
},
|
|
9173
|
+
{
|
|
9174
|
+
"cookieAuth": []
|
|
9175
|
+
},
|
|
9176
|
+
{
|
|
9177
|
+
"basicAuth": []
|
|
8755
9178
|
}
|
|
8756
9179
|
],
|
|
8757
9180
|
"summary": "Get Centrifugo server info",
|
|
@@ -8810,6 +9233,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8810
9233
|
"security": [
|
|
8811
9234
|
{
|
|
8812
9235
|
"jwtAuth": []
|
|
9236
|
+
},
|
|
9237
|
+
{
|
|
9238
|
+
"cookieAuth": []
|
|
9239
|
+
},
|
|
9240
|
+
{
|
|
9241
|
+
"basicAuth": []
|
|
8813
9242
|
}
|
|
8814
9243
|
],
|
|
8815
9244
|
"summary": "Get channel presence statistics",
|
|
@@ -8868,6 +9297,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8868
9297
|
"security": [
|
|
8869
9298
|
{
|
|
8870
9299
|
"jwtAuth": []
|
|
9300
|
+
},
|
|
9301
|
+
{
|
|
9302
|
+
"cookieAuth": []
|
|
9303
|
+
},
|
|
9304
|
+
{
|
|
9305
|
+
"basicAuth": []
|
|
8871
9306
|
}
|
|
8872
9307
|
],
|
|
8873
9308
|
"summary": "Get channel presence",
|
|
@@ -8936,6 +9371,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
8936
9371
|
"security": [
|
|
8937
9372
|
{
|
|
8938
9373
|
"jwtAuth": []
|
|
9374
|
+
},
|
|
9375
|
+
{
|
|
9376
|
+
"cookieAuth": []
|
|
9377
|
+
},
|
|
9378
|
+
{
|
|
9379
|
+
"basicAuth": []
|
|
8939
9380
|
}
|
|
8940
9381
|
],
|
|
8941
9382
|
"summary": "Generate connection token",
|
|
@@ -9004,6 +9445,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
9004
9445
|
"security": [
|
|
9005
9446
|
{
|
|
9006
9447
|
"jwtAuth": []
|
|
9448
|
+
},
|
|
9449
|
+
{
|
|
9450
|
+
"cookieAuth": []
|
|
9451
|
+
},
|
|
9452
|
+
{
|
|
9453
|
+
"basicAuth": []
|
|
9007
9454
|
}
|
|
9008
9455
|
],
|
|
9009
9456
|
"summary": "Publish test message",
|
|
@@ -9072,6 +9519,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
9072
9519
|
"security": [
|
|
9073
9520
|
{
|
|
9074
9521
|
"jwtAuth": []
|
|
9522
|
+
},
|
|
9523
|
+
{
|
|
9524
|
+
"cookieAuth": []
|
|
9525
|
+
},
|
|
9526
|
+
{
|
|
9527
|
+
"basicAuth": []
|
|
9075
9528
|
}
|
|
9076
9529
|
],
|
|
9077
9530
|
"summary": "Publish with database logging",
|
|
@@ -9140,6 +9593,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
9140
9593
|
"security": [
|
|
9141
9594
|
{
|
|
9142
9595
|
"jwtAuth": []
|
|
9596
|
+
},
|
|
9597
|
+
{
|
|
9598
|
+
"cookieAuth": []
|
|
9599
|
+
},
|
|
9600
|
+
{
|
|
9601
|
+
"basicAuth": []
|
|
9143
9602
|
}
|
|
9144
9603
|
],
|
|
9145
9604
|
"summary": "Send manual ACK",
|
|
@@ -9169,6 +9628,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9169
9628
|
}
|
|
9170
9629
|
},
|
|
9171
9630
|
"security": [
|
|
9631
|
+
{
|
|
9632
|
+
"jwtAuth": []
|
|
9633
|
+
},
|
|
9172
9634
|
{
|
|
9173
9635
|
"cookieAuth": []
|
|
9174
9636
|
},
|
|
@@ -9214,6 +9676,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9214
9676
|
}
|
|
9215
9677
|
},
|
|
9216
9678
|
"security": [
|
|
9679
|
+
{
|
|
9680
|
+
"jwtAuth": []
|
|
9681
|
+
},
|
|
9217
9682
|
{
|
|
9218
9683
|
"cookieAuth": []
|
|
9219
9684
|
},
|
|
@@ -9256,6 +9721,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9256
9721
|
}
|
|
9257
9722
|
},
|
|
9258
9723
|
"security": [
|
|
9724
|
+
{
|
|
9725
|
+
"jwtAuth": []
|
|
9726
|
+
},
|
|
9259
9727
|
{
|
|
9260
9728
|
"cookieAuth": []
|
|
9261
9729
|
},
|
|
@@ -9301,6 +9769,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9301
9769
|
}
|
|
9302
9770
|
},
|
|
9303
9771
|
"security": [
|
|
9772
|
+
{
|
|
9773
|
+
"jwtAuth": []
|
|
9774
|
+
},
|
|
9304
9775
|
{
|
|
9305
9776
|
"cookieAuth": []
|
|
9306
9777
|
},
|
|
@@ -9343,6 +9814,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9343
9814
|
}
|
|
9344
9815
|
},
|
|
9345
9816
|
"security": [
|
|
9817
|
+
{
|
|
9818
|
+
"jwtAuth": []
|
|
9819
|
+
},
|
|
9346
9820
|
{
|
|
9347
9821
|
"cookieAuth": []
|
|
9348
9822
|
},
|
|
@@ -9388,6 +9862,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9388
9862
|
}
|
|
9389
9863
|
},
|
|
9390
9864
|
"security": [
|
|
9865
|
+
{
|
|
9866
|
+
"jwtAuth": []
|
|
9867
|
+
},
|
|
9391
9868
|
{
|
|
9392
9869
|
"cookieAuth": []
|
|
9393
9870
|
},
|
|
@@ -9591,57 +10068,143 @@ export const OPENAPI_SCHEMA = {
|
|
|
9591
10068
|
"x-async-capable": false
|
|
9592
10069
|
}
|
|
9593
10070
|
},
|
|
9594
|
-
"/cfg/dashboard/api/
|
|
10071
|
+
"/cfg/dashboard/api/django_q2/": {
|
|
9595
10072
|
"get": {
|
|
9596
|
-
"description": "
|
|
9597
|
-
"operationId": "
|
|
10073
|
+
"description": "Get complete Django-Q2 summary.\n\nGET /api/django_q2/\nReturns status, schedules, and recent tasks.",
|
|
10074
|
+
"operationId": "cfg_dashboard_api_django_q2_retrieve",
|
|
9598
10075
|
"responses": {
|
|
9599
10076
|
"200": {
|
|
9600
|
-
"
|
|
9601
|
-
"application/json": {
|
|
9602
|
-
"schema": {
|
|
9603
|
-
"$ref": "#/components/schemas/DashboardOverview"
|
|
9604
|
-
}
|
|
9605
|
-
}
|
|
9606
|
-
},
|
|
9607
|
-
"description": ""
|
|
10077
|
+
"description": "No response body"
|
|
9608
10078
|
}
|
|
9609
10079
|
},
|
|
9610
10080
|
"security": [
|
|
9611
10081
|
{
|
|
9612
|
-
"
|
|
9613
|
-
},
|
|
9614
|
-
{
|
|
9615
|
-
"basicAuth": []
|
|
10082
|
+
"jwtAuth": []
|
|
9616
10083
|
}
|
|
9617
10084
|
],
|
|
9618
|
-
"summary": "Get dashboard overview",
|
|
9619
10085
|
"tags": [
|
|
9620
|
-
"
|
|
10086
|
+
"dashboard"
|
|
9621
10087
|
],
|
|
9622
10088
|
"x-async-capable": false
|
|
9623
10089
|
}
|
|
9624
10090
|
},
|
|
9625
|
-
"/cfg/dashboard/api/
|
|
10091
|
+
"/cfg/dashboard/api/django_q2/schedules/": {
|
|
9626
10092
|
"get": {
|
|
9627
|
-
"description": "
|
|
9628
|
-
"operationId": "
|
|
10093
|
+
"description": "Get all scheduled tasks.\n\nGET /api/django_q2/schedules/",
|
|
10094
|
+
"operationId": "cfg_dashboard_api_django_q2_schedules_retrieve",
|
|
9629
10095
|
"responses": {
|
|
9630
10096
|
"200": {
|
|
9631
|
-
"
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
|
|
9636
|
-
|
|
9637
|
-
|
|
9638
|
-
|
|
9639
|
-
|
|
10097
|
+
"description": "No response body"
|
|
10098
|
+
}
|
|
10099
|
+
},
|
|
10100
|
+
"security": [
|
|
10101
|
+
{
|
|
10102
|
+
"jwtAuth": []
|
|
10103
|
+
}
|
|
10104
|
+
],
|
|
10105
|
+
"tags": [
|
|
10106
|
+
"dashboard"
|
|
10107
|
+
],
|
|
10108
|
+
"x-async-capable": false
|
|
10109
|
+
}
|
|
10110
|
+
},
|
|
10111
|
+
"/cfg/dashboard/api/django_q2/status/": {
|
|
10112
|
+
"get": {
|
|
10113
|
+
"description": "Get Django-Q2 cluster status.\n\nGET /api/django_q2/status/",
|
|
10114
|
+
"operationId": "cfg_dashboard_api_django_q2_status_retrieve",
|
|
10115
|
+
"responses": {
|
|
10116
|
+
"200": {
|
|
10117
|
+
"description": "No response body"
|
|
10118
|
+
}
|
|
10119
|
+
},
|
|
10120
|
+
"security": [
|
|
10121
|
+
{
|
|
10122
|
+
"jwtAuth": []
|
|
10123
|
+
}
|
|
10124
|
+
],
|
|
10125
|
+
"tags": [
|
|
10126
|
+
"dashboard"
|
|
10127
|
+
],
|
|
10128
|
+
"x-async-capable": false
|
|
10129
|
+
}
|
|
10130
|
+
},
|
|
10131
|
+
"/cfg/dashboard/api/django_q2/tasks/": {
|
|
10132
|
+
"get": {
|
|
10133
|
+
"description": "Get recent task executions.\n\nGET /api/django_q2/tasks/\nQuery params:\n - limit: Number of tasks to return (default: 20)",
|
|
10134
|
+
"operationId": "cfg_dashboard_api_django_q2_tasks_retrieve",
|
|
10135
|
+
"responses": {
|
|
10136
|
+
"200": {
|
|
10137
|
+
"description": "No response body"
|
|
10138
|
+
}
|
|
10139
|
+
},
|
|
10140
|
+
"security": [
|
|
10141
|
+
{
|
|
10142
|
+
"jwtAuth": []
|
|
10143
|
+
}
|
|
10144
|
+
],
|
|
10145
|
+
"tags": [
|
|
10146
|
+
"dashboard"
|
|
10147
|
+
],
|
|
10148
|
+
"x-async-capable": false
|
|
10149
|
+
}
|
|
10150
|
+
},
|
|
10151
|
+
"/cfg/dashboard/api/overview/overview/": {
|
|
10152
|
+
"get": {
|
|
10153
|
+
"description": "Retrieve complete dashboard data including stats, health, actions, and metrics",
|
|
10154
|
+
"operationId": "cfg_dashboard_api_overview_overview_retrieve",
|
|
10155
|
+
"responses": {
|
|
10156
|
+
"200": {
|
|
10157
|
+
"content": {
|
|
10158
|
+
"application/json": {
|
|
10159
|
+
"schema": {
|
|
10160
|
+
"$ref": "#/components/schemas/DashboardOverview"
|
|
10161
|
+
}
|
|
10162
|
+
}
|
|
9640
10163
|
},
|
|
9641
10164
|
"description": ""
|
|
9642
10165
|
}
|
|
9643
10166
|
},
|
|
9644
10167
|
"security": [
|
|
10168
|
+
{
|
|
10169
|
+
"jwtAuth": []
|
|
10170
|
+
},
|
|
10171
|
+
{
|
|
10172
|
+
"cookieAuth": []
|
|
10173
|
+
},
|
|
10174
|
+
{
|
|
10175
|
+
"basicAuth": []
|
|
10176
|
+
}
|
|
10177
|
+
],
|
|
10178
|
+
"summary": "Get dashboard overview",
|
|
10179
|
+
"tags": [
|
|
10180
|
+
"Dashboard - Overview"
|
|
10181
|
+
],
|
|
10182
|
+
"x-async-capable": false
|
|
10183
|
+
}
|
|
10184
|
+
},
|
|
10185
|
+
"/cfg/dashboard/api/statistics/apps/": {
|
|
10186
|
+
"get": {
|
|
10187
|
+
"description": "Retrieve statistics for all enabled django-cfg applications",
|
|
10188
|
+
"operationId": "cfg_dashboard_api_statistics_apps_list",
|
|
10189
|
+
"responses": {
|
|
10190
|
+
"200": {
|
|
10191
|
+
"content": {
|
|
10192
|
+
"application/json": {
|
|
10193
|
+
"schema": {
|
|
10194
|
+
"items": {
|
|
10195
|
+
"$ref": "#/components/schemas/AppStatistics"
|
|
10196
|
+
},
|
|
10197
|
+
"type": "array"
|
|
10198
|
+
}
|
|
10199
|
+
}
|
|
10200
|
+
},
|
|
10201
|
+
"description": ""
|
|
10202
|
+
}
|
|
10203
|
+
},
|
|
10204
|
+
"security": [
|
|
10205
|
+
{
|
|
10206
|
+
"jwtAuth": []
|
|
10207
|
+
},
|
|
9645
10208
|
{
|
|
9646
10209
|
"cookieAuth": []
|
|
9647
10210
|
},
|
|
@@ -9676,6 +10239,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9676
10239
|
}
|
|
9677
10240
|
},
|
|
9678
10241
|
"security": [
|
|
10242
|
+
{
|
|
10243
|
+
"jwtAuth": []
|
|
10244
|
+
},
|
|
9679
10245
|
{
|
|
9680
10246
|
"cookieAuth": []
|
|
9681
10247
|
},
|
|
@@ -9707,6 +10273,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9707
10273
|
}
|
|
9708
10274
|
},
|
|
9709
10275
|
"security": [
|
|
10276
|
+
{
|
|
10277
|
+
"jwtAuth": []
|
|
10278
|
+
},
|
|
9710
10279
|
{
|
|
9711
10280
|
"cookieAuth": []
|
|
9712
10281
|
},
|
|
@@ -9738,6 +10307,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9738
10307
|
}
|
|
9739
10308
|
},
|
|
9740
10309
|
"security": [
|
|
10310
|
+
{
|
|
10311
|
+
"jwtAuth": []
|
|
10312
|
+
},
|
|
9741
10313
|
{
|
|
9742
10314
|
"cookieAuth": []
|
|
9743
10315
|
},
|
|
@@ -9769,6 +10341,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9769
10341
|
}
|
|
9770
10342
|
},
|
|
9771
10343
|
"security": [
|
|
10344
|
+
{
|
|
10345
|
+
"jwtAuth": []
|
|
10346
|
+
},
|
|
9772
10347
|
{
|
|
9773
10348
|
"cookieAuth": []
|
|
9774
10349
|
},
|
|
@@ -9803,6 +10378,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9803
10378
|
}
|
|
9804
10379
|
},
|
|
9805
10380
|
"security": [
|
|
10381
|
+
{
|
|
10382
|
+
"jwtAuth": []
|
|
10383
|
+
},
|
|
9806
10384
|
{
|
|
9807
10385
|
"cookieAuth": []
|
|
9808
10386
|
},
|
|
@@ -9834,6 +10412,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
9834
10412
|
}
|
|
9835
10413
|
},
|
|
9836
10414
|
"security": [
|
|
10415
|
+
{
|
|
10416
|
+
"jwtAuth": []
|
|
10417
|
+
},
|
|
9837
10418
|
{
|
|
9838
10419
|
"cookieAuth": []
|
|
9839
10420
|
},
|
|
@@ -9917,10 +10498,372 @@ export const OPENAPI_SCHEMA = {
|
|
|
9917
10498
|
{
|
|
9918
10499
|
"jwtAuth": []
|
|
9919
10500
|
},
|
|
9920
|
-
{}
|
|
10501
|
+
{}
|
|
10502
|
+
],
|
|
10503
|
+
"tags": [
|
|
10504
|
+
"endpoints"
|
|
10505
|
+
],
|
|
10506
|
+
"x-async-capable": false
|
|
10507
|
+
}
|
|
10508
|
+
},
|
|
10509
|
+
"/cfg/grpc/monitor/health/": {
|
|
10510
|
+
"get": {
|
|
10511
|
+
"description": "Returns the current health status of the gRPC server.",
|
|
10512
|
+
"operationId": "cfg_grpc_monitor_health_retrieve",
|
|
10513
|
+
"responses": {
|
|
10514
|
+
"200": {
|
|
10515
|
+
"content": {
|
|
10516
|
+
"application/json": {
|
|
10517
|
+
"schema": {
|
|
10518
|
+
"$ref": "#/components/schemas/HealthCheck"
|
|
10519
|
+
}
|
|
10520
|
+
}
|
|
10521
|
+
},
|
|
10522
|
+
"description": ""
|
|
10523
|
+
},
|
|
10524
|
+
"503": {
|
|
10525
|
+
"content": {
|
|
10526
|
+
"application/json": {
|
|
10527
|
+
"schema": {
|
|
10528
|
+
"description": "Service unavailable"
|
|
10529
|
+
}
|
|
10530
|
+
}
|
|
10531
|
+
},
|
|
10532
|
+
"description": ""
|
|
10533
|
+
}
|
|
10534
|
+
},
|
|
10535
|
+
"security": [
|
|
10536
|
+
{
|
|
10537
|
+
"jwtAuth": []
|
|
10538
|
+
},
|
|
10539
|
+
{
|
|
10540
|
+
"cookieAuth": []
|
|
10541
|
+
},
|
|
10542
|
+
{
|
|
10543
|
+
"basicAuth": []
|
|
10544
|
+
}
|
|
10545
|
+
],
|
|
10546
|
+
"summary": "Get gRPC health status",
|
|
10547
|
+
"tags": [
|
|
10548
|
+
"gRPC Monitoring"
|
|
10549
|
+
],
|
|
10550
|
+
"x-async-capable": false
|
|
10551
|
+
}
|
|
10552
|
+
},
|
|
10553
|
+
"/cfg/grpc/monitor/methods/": {
|
|
10554
|
+
"get": {
|
|
10555
|
+
"description": "Returns statistics grouped by method.",
|
|
10556
|
+
"operationId": "cfg_grpc_monitor_methods_retrieve",
|
|
10557
|
+
"parameters": [
|
|
10558
|
+
{
|
|
10559
|
+
"description": "Statistics period in hours (default: 24)",
|
|
10560
|
+
"in": "query",
|
|
10561
|
+
"name": "hours",
|
|
10562
|
+
"schema": {
|
|
10563
|
+
"type": "integer"
|
|
10564
|
+
}
|
|
10565
|
+
},
|
|
10566
|
+
{
|
|
10567
|
+
"description": "Filter by service name",
|
|
10568
|
+
"in": "query",
|
|
10569
|
+
"name": "service",
|
|
10570
|
+
"schema": {
|
|
10571
|
+
"type": "string"
|
|
10572
|
+
}
|
|
10573
|
+
}
|
|
10574
|
+
],
|
|
10575
|
+
"responses": {
|
|
10576
|
+
"200": {
|
|
10577
|
+
"content": {
|
|
10578
|
+
"application/json": {
|
|
10579
|
+
"schema": {
|
|
10580
|
+
"$ref": "#/components/schemas/MethodList"
|
|
10581
|
+
}
|
|
10582
|
+
}
|
|
10583
|
+
},
|
|
10584
|
+
"description": ""
|
|
10585
|
+
},
|
|
10586
|
+
"400": {
|
|
10587
|
+
"content": {
|
|
10588
|
+
"application/json": {
|
|
10589
|
+
"schema": {
|
|
10590
|
+
"description": "Invalid parameters"
|
|
10591
|
+
}
|
|
10592
|
+
}
|
|
10593
|
+
},
|
|
10594
|
+
"description": ""
|
|
10595
|
+
}
|
|
10596
|
+
},
|
|
10597
|
+
"security": [
|
|
10598
|
+
{
|
|
10599
|
+
"jwtAuth": []
|
|
10600
|
+
},
|
|
10601
|
+
{
|
|
10602
|
+
"cookieAuth": []
|
|
10603
|
+
},
|
|
10604
|
+
{
|
|
10605
|
+
"basicAuth": []
|
|
10606
|
+
}
|
|
10607
|
+
],
|
|
10608
|
+
"summary": "Get method statistics",
|
|
10609
|
+
"tags": [
|
|
10610
|
+
"gRPC Monitoring"
|
|
10611
|
+
],
|
|
10612
|
+
"x-async-capable": false
|
|
10613
|
+
}
|
|
10614
|
+
},
|
|
10615
|
+
"/cfg/grpc/monitor/overview/": {
|
|
10616
|
+
"get": {
|
|
10617
|
+
"description": "Returns overview statistics for gRPC requests.",
|
|
10618
|
+
"operationId": "cfg_grpc_monitor_overview_retrieve",
|
|
10619
|
+
"parameters": [
|
|
10620
|
+
{
|
|
10621
|
+
"description": "Statistics period in hours (default: 24)",
|
|
10622
|
+
"in": "query",
|
|
10623
|
+
"name": "hours",
|
|
10624
|
+
"schema": {
|
|
10625
|
+
"type": "integer"
|
|
10626
|
+
}
|
|
10627
|
+
}
|
|
10628
|
+
],
|
|
10629
|
+
"responses": {
|
|
10630
|
+
"200": {
|
|
10631
|
+
"content": {
|
|
10632
|
+
"application/json": {
|
|
10633
|
+
"schema": {
|
|
10634
|
+
"$ref": "#/components/schemas/OverviewStats"
|
|
10635
|
+
}
|
|
10636
|
+
}
|
|
10637
|
+
},
|
|
10638
|
+
"description": ""
|
|
10639
|
+
},
|
|
10640
|
+
"400": {
|
|
10641
|
+
"content": {
|
|
10642
|
+
"application/json": {
|
|
10643
|
+
"schema": {
|
|
10644
|
+
"description": "Invalid parameters"
|
|
10645
|
+
}
|
|
10646
|
+
}
|
|
10647
|
+
},
|
|
10648
|
+
"description": ""
|
|
10649
|
+
}
|
|
10650
|
+
},
|
|
10651
|
+
"security": [
|
|
10652
|
+
{
|
|
10653
|
+
"jwtAuth": []
|
|
10654
|
+
},
|
|
10655
|
+
{
|
|
10656
|
+
"cookieAuth": []
|
|
10657
|
+
},
|
|
10658
|
+
{
|
|
10659
|
+
"basicAuth": []
|
|
10660
|
+
}
|
|
10661
|
+
],
|
|
10662
|
+
"summary": "Get overview statistics",
|
|
10663
|
+
"tags": [
|
|
10664
|
+
"gRPC Monitoring"
|
|
10665
|
+
],
|
|
10666
|
+
"x-async-capable": false
|
|
10667
|
+
}
|
|
10668
|
+
},
|
|
10669
|
+
"/cfg/grpc/monitor/requests/": {
|
|
10670
|
+
"get": {
|
|
10671
|
+
"description": "Returns a list of recent gRPC requests with their details.",
|
|
10672
|
+
"operationId": "cfg_grpc_monitor_requests_retrieve",
|
|
10673
|
+
"parameters": [
|
|
10674
|
+
{
|
|
10675
|
+
"description": "Number of requests to return (default: 50, max: 200)",
|
|
10676
|
+
"in": "query",
|
|
10677
|
+
"name": "count",
|
|
10678
|
+
"schema": {
|
|
10679
|
+
"type": "integer"
|
|
10680
|
+
}
|
|
10681
|
+
},
|
|
10682
|
+
{
|
|
10683
|
+
"description": "Filter by method name",
|
|
10684
|
+
"in": "query",
|
|
10685
|
+
"name": "method",
|
|
10686
|
+
"schema": {
|
|
10687
|
+
"type": "string"
|
|
10688
|
+
}
|
|
10689
|
+
},
|
|
10690
|
+
{
|
|
10691
|
+
"description": "Offset for pagination (default: 0)",
|
|
10692
|
+
"in": "query",
|
|
10693
|
+
"name": "offset",
|
|
10694
|
+
"schema": {
|
|
10695
|
+
"type": "integer"
|
|
10696
|
+
}
|
|
10697
|
+
},
|
|
10698
|
+
{
|
|
10699
|
+
"description": "Filter by service name",
|
|
10700
|
+
"in": "query",
|
|
10701
|
+
"name": "service",
|
|
10702
|
+
"schema": {
|
|
10703
|
+
"type": "string"
|
|
10704
|
+
}
|
|
10705
|
+
},
|
|
10706
|
+
{
|
|
10707
|
+
"description": "Filter by status (success, error, timeout, pending, cancelled)",
|
|
10708
|
+
"in": "query",
|
|
10709
|
+
"name": "status",
|
|
10710
|
+
"schema": {
|
|
10711
|
+
"type": "string"
|
|
10712
|
+
}
|
|
10713
|
+
}
|
|
10714
|
+
],
|
|
10715
|
+
"responses": {
|
|
10716
|
+
"200": {
|
|
10717
|
+
"content": {
|
|
10718
|
+
"application/json": {
|
|
10719
|
+
"schema": {
|
|
10720
|
+
"$ref": "#/components/schemas/RecentRequests"
|
|
10721
|
+
}
|
|
10722
|
+
}
|
|
10723
|
+
},
|
|
10724
|
+
"description": ""
|
|
10725
|
+
},
|
|
10726
|
+
"400": {
|
|
10727
|
+
"content": {
|
|
10728
|
+
"application/json": {
|
|
10729
|
+
"schema": {
|
|
10730
|
+
"description": "Invalid parameters"
|
|
10731
|
+
}
|
|
10732
|
+
}
|
|
10733
|
+
},
|
|
10734
|
+
"description": ""
|
|
10735
|
+
}
|
|
10736
|
+
},
|
|
10737
|
+
"security": [
|
|
10738
|
+
{
|
|
10739
|
+
"jwtAuth": []
|
|
10740
|
+
},
|
|
10741
|
+
{
|
|
10742
|
+
"cookieAuth": []
|
|
10743
|
+
},
|
|
10744
|
+
{
|
|
10745
|
+
"basicAuth": []
|
|
10746
|
+
}
|
|
10747
|
+
],
|
|
10748
|
+
"summary": "Get recent requests",
|
|
10749
|
+
"tags": [
|
|
10750
|
+
"gRPC Monitoring"
|
|
10751
|
+
],
|
|
10752
|
+
"x-async-capable": false
|
|
10753
|
+
}
|
|
10754
|
+
},
|
|
10755
|
+
"/cfg/grpc/monitor/services/": {
|
|
10756
|
+
"get": {
|
|
10757
|
+
"description": "Returns statistics grouped by service.",
|
|
10758
|
+
"operationId": "cfg_grpc_monitor_services_retrieve",
|
|
10759
|
+
"parameters": [
|
|
10760
|
+
{
|
|
10761
|
+
"description": "Statistics period in hours (default: 24)",
|
|
10762
|
+
"in": "query",
|
|
10763
|
+
"name": "hours",
|
|
10764
|
+
"schema": {
|
|
10765
|
+
"type": "integer"
|
|
10766
|
+
}
|
|
10767
|
+
}
|
|
10768
|
+
],
|
|
10769
|
+
"responses": {
|
|
10770
|
+
"200": {
|
|
10771
|
+
"content": {
|
|
10772
|
+
"application/json": {
|
|
10773
|
+
"schema": {
|
|
10774
|
+
"$ref": "#/components/schemas/ServiceList"
|
|
10775
|
+
}
|
|
10776
|
+
}
|
|
10777
|
+
},
|
|
10778
|
+
"description": ""
|
|
10779
|
+
},
|
|
10780
|
+
"400": {
|
|
10781
|
+
"content": {
|
|
10782
|
+
"application/json": {
|
|
10783
|
+
"schema": {
|
|
10784
|
+
"description": "Invalid parameters"
|
|
10785
|
+
}
|
|
10786
|
+
}
|
|
10787
|
+
},
|
|
10788
|
+
"description": ""
|
|
10789
|
+
}
|
|
10790
|
+
},
|
|
10791
|
+
"security": [
|
|
10792
|
+
{
|
|
10793
|
+
"jwtAuth": []
|
|
10794
|
+
},
|
|
10795
|
+
{
|
|
10796
|
+
"cookieAuth": []
|
|
10797
|
+
},
|
|
10798
|
+
{
|
|
10799
|
+
"basicAuth": []
|
|
10800
|
+
}
|
|
10801
|
+
],
|
|
10802
|
+
"summary": "Get service statistics",
|
|
10803
|
+
"tags": [
|
|
10804
|
+
"gRPC Monitoring"
|
|
10805
|
+
],
|
|
10806
|
+
"x-async-capable": false
|
|
10807
|
+
}
|
|
10808
|
+
},
|
|
10809
|
+
"/cfg/grpc/monitor/timeline/": {
|
|
10810
|
+
"get": {
|
|
10811
|
+
"description": "Returns hourly or daily breakdown of request counts for charts.",
|
|
10812
|
+
"operationId": "cfg_grpc_monitor_timeline_retrieve",
|
|
10813
|
+
"parameters": [
|
|
10814
|
+
{
|
|
10815
|
+
"description": "Time period in hours (default: 24)",
|
|
10816
|
+
"in": "query",
|
|
10817
|
+
"name": "hours",
|
|
10818
|
+
"schema": {
|
|
10819
|
+
"type": "integer"
|
|
10820
|
+
}
|
|
10821
|
+
},
|
|
10822
|
+
{
|
|
10823
|
+
"description": "Time interval: \u0027hour\u0027 or \u0027day\u0027 (default: hour)",
|
|
10824
|
+
"in": "query",
|
|
10825
|
+
"name": "interval",
|
|
10826
|
+
"schema": {
|
|
10827
|
+
"type": "string"
|
|
10828
|
+
}
|
|
10829
|
+
}
|
|
10830
|
+
],
|
|
10831
|
+
"responses": {
|
|
10832
|
+
"200": {
|
|
10833
|
+
"content": {
|
|
10834
|
+
"application/json": {
|
|
10835
|
+
"schema": {
|
|
10836
|
+
"description": "Timeline data"
|
|
10837
|
+
}
|
|
10838
|
+
}
|
|
10839
|
+
},
|
|
10840
|
+
"description": ""
|
|
10841
|
+
},
|
|
10842
|
+
"400": {
|
|
10843
|
+
"content": {
|
|
10844
|
+
"application/json": {
|
|
10845
|
+
"schema": {
|
|
10846
|
+
"description": "Invalid parameters"
|
|
10847
|
+
}
|
|
10848
|
+
}
|
|
10849
|
+
},
|
|
10850
|
+
"description": ""
|
|
10851
|
+
}
|
|
10852
|
+
},
|
|
10853
|
+
"security": [
|
|
10854
|
+
{
|
|
10855
|
+
"jwtAuth": []
|
|
10856
|
+
},
|
|
10857
|
+
{
|
|
10858
|
+
"cookieAuth": []
|
|
10859
|
+
},
|
|
10860
|
+
{
|
|
10861
|
+
"basicAuth": []
|
|
10862
|
+
}
|
|
9921
10863
|
],
|
|
10864
|
+
"summary": "Get request timeline",
|
|
9922
10865
|
"tags": [
|
|
9923
|
-
"
|
|
10866
|
+
"gRPC Monitoring"
|
|
9924
10867
|
],
|
|
9925
10868
|
"x-async-capable": false
|
|
9926
10869
|
}
|
|
@@ -10020,6 +10963,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10020
10963
|
"security": [
|
|
10021
10964
|
{
|
|
10022
10965
|
"jwtAuth": []
|
|
10966
|
+
},
|
|
10967
|
+
{
|
|
10968
|
+
"cookieAuth": []
|
|
10023
10969
|
}
|
|
10024
10970
|
],
|
|
10025
10971
|
"tags": [
|
|
@@ -10065,6 +11011,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10065
11011
|
"security": [
|
|
10066
11012
|
{
|
|
10067
11013
|
"jwtAuth": []
|
|
11014
|
+
},
|
|
11015
|
+
{
|
|
11016
|
+
"cookieAuth": []
|
|
10068
11017
|
}
|
|
10069
11018
|
],
|
|
10070
11019
|
"tags": [
|
|
@@ -10132,6 +11081,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10132
11081
|
"security": [
|
|
10133
11082
|
{
|
|
10134
11083
|
"jwtAuth": []
|
|
11084
|
+
},
|
|
11085
|
+
{
|
|
11086
|
+
"cookieAuth": []
|
|
10135
11087
|
}
|
|
10136
11088
|
],
|
|
10137
11089
|
"summary": "Process chat query with RAG",
|
|
@@ -10165,6 +11117,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10165
11117
|
"security": [
|
|
10166
11118
|
{
|
|
10167
11119
|
"jwtAuth": []
|
|
11120
|
+
},
|
|
11121
|
+
{
|
|
11122
|
+
"cookieAuth": []
|
|
10168
11123
|
}
|
|
10169
11124
|
],
|
|
10170
11125
|
"tags": [
|
|
@@ -10202,6 +11157,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10202
11157
|
"security": [
|
|
10203
11158
|
{
|
|
10204
11159
|
"jwtAuth": []
|
|
11160
|
+
},
|
|
11161
|
+
{
|
|
11162
|
+
"cookieAuth": []
|
|
10205
11163
|
}
|
|
10206
11164
|
],
|
|
10207
11165
|
"tags": [
|
|
@@ -10258,6 +11216,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10258
11216
|
"security": [
|
|
10259
11217
|
{
|
|
10260
11218
|
"jwtAuth": []
|
|
11219
|
+
},
|
|
11220
|
+
{
|
|
11221
|
+
"cookieAuth": []
|
|
10261
11222
|
}
|
|
10262
11223
|
],
|
|
10263
11224
|
"tags": [
|
|
@@ -10315,6 +11276,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10315
11276
|
"security": [
|
|
10316
11277
|
{
|
|
10317
11278
|
"jwtAuth": []
|
|
11279
|
+
},
|
|
11280
|
+
{
|
|
11281
|
+
"cookieAuth": []
|
|
10318
11282
|
}
|
|
10319
11283
|
],
|
|
10320
11284
|
"tags": [
|
|
@@ -10354,6 +11318,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10354
11318
|
"security": [
|
|
10355
11319
|
{
|
|
10356
11320
|
"jwtAuth": []
|
|
11321
|
+
},
|
|
11322
|
+
{
|
|
11323
|
+
"cookieAuth": []
|
|
10357
11324
|
}
|
|
10358
11325
|
],
|
|
10359
11326
|
"summary": "Get chat history",
|
|
@@ -10410,6 +11377,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10410
11377
|
"security": [
|
|
10411
11378
|
{
|
|
10412
11379
|
"jwtAuth": []
|
|
11380
|
+
},
|
|
11381
|
+
{
|
|
11382
|
+
"cookieAuth": []
|
|
10413
11383
|
}
|
|
10414
11384
|
],
|
|
10415
11385
|
"summary": "List user documents",
|
|
@@ -10485,6 +11455,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10485
11455
|
"security": [
|
|
10486
11456
|
{
|
|
10487
11457
|
"jwtAuth": []
|
|
11458
|
+
},
|
|
11459
|
+
{
|
|
11460
|
+
"cookieAuth": []
|
|
10488
11461
|
}
|
|
10489
11462
|
],
|
|
10490
11463
|
"summary": "Upload new document",
|
|
@@ -10513,6 +11486,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10513
11486
|
"security": [
|
|
10514
11487
|
{
|
|
10515
11488
|
"jwtAuth": []
|
|
11489
|
+
},
|
|
11490
|
+
{
|
|
11491
|
+
"cookieAuth": []
|
|
10516
11492
|
}
|
|
10517
11493
|
],
|
|
10518
11494
|
"summary": "Get processing statistics",
|
|
@@ -10549,6 +11525,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10549
11525
|
"security": [
|
|
10550
11526
|
{
|
|
10551
11527
|
"jwtAuth": []
|
|
11528
|
+
},
|
|
11529
|
+
{
|
|
11530
|
+
"cookieAuth": []
|
|
10552
11531
|
}
|
|
10553
11532
|
],
|
|
10554
11533
|
"summary": "Delete document",
|
|
@@ -10590,6 +11569,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10590
11569
|
"security": [
|
|
10591
11570
|
{
|
|
10592
11571
|
"jwtAuth": []
|
|
11572
|
+
},
|
|
11573
|
+
{
|
|
11574
|
+
"cookieAuth": []
|
|
10593
11575
|
}
|
|
10594
11576
|
],
|
|
10595
11577
|
"summary": "Get document details",
|
|
@@ -10647,6 +11629,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10647
11629
|
"security": [
|
|
10648
11630
|
{
|
|
10649
11631
|
"jwtAuth": []
|
|
11632
|
+
},
|
|
11633
|
+
{
|
|
11634
|
+
"cookieAuth": []
|
|
10650
11635
|
}
|
|
10651
11636
|
],
|
|
10652
11637
|
"tags": [
|
|
@@ -10704,6 +11689,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10704
11689
|
"security": [
|
|
10705
11690
|
{
|
|
10706
11691
|
"jwtAuth": []
|
|
11692
|
+
},
|
|
11693
|
+
{
|
|
11694
|
+
"cookieAuth": []
|
|
10707
11695
|
}
|
|
10708
11696
|
],
|
|
10709
11697
|
"tags": [
|
|
@@ -10763,6 +11751,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10763
11751
|
"security": [
|
|
10764
11752
|
{
|
|
10765
11753
|
"jwtAuth": []
|
|
11754
|
+
},
|
|
11755
|
+
{
|
|
11756
|
+
"cookieAuth": []
|
|
10766
11757
|
}
|
|
10767
11758
|
],
|
|
10768
11759
|
"summary": "Reprocess document",
|
|
@@ -10803,6 +11794,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10803
11794
|
"security": [
|
|
10804
11795
|
{
|
|
10805
11796
|
"jwtAuth": []
|
|
11797
|
+
},
|
|
11798
|
+
{
|
|
11799
|
+
"cookieAuth": []
|
|
10806
11800
|
}
|
|
10807
11801
|
],
|
|
10808
11802
|
"summary": "Get document processing status",
|
|
@@ -10851,6 +11845,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10851
11845
|
"security": [
|
|
10852
11846
|
{
|
|
10853
11847
|
"jwtAuth": []
|
|
11848
|
+
},
|
|
11849
|
+
{
|
|
11850
|
+
"cookieAuth": []
|
|
10854
11851
|
}
|
|
10855
11852
|
],
|
|
10856
11853
|
"summary": "List user chat sessions",
|
|
@@ -10896,6 +11893,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10896
11893
|
"security": [
|
|
10897
11894
|
{
|
|
10898
11895
|
"jwtAuth": []
|
|
11896
|
+
},
|
|
11897
|
+
{
|
|
11898
|
+
"cookieAuth": []
|
|
10899
11899
|
}
|
|
10900
11900
|
],
|
|
10901
11901
|
"summary": "Create new chat session",
|
|
@@ -10929,6 +11929,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10929
11929
|
"security": [
|
|
10930
11930
|
{
|
|
10931
11931
|
"jwtAuth": []
|
|
11932
|
+
},
|
|
11933
|
+
{
|
|
11934
|
+
"cookieAuth": []
|
|
10932
11935
|
}
|
|
10933
11936
|
],
|
|
10934
11937
|
"tags": [
|
|
@@ -10966,6 +11969,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
10966
11969
|
"security": [
|
|
10967
11970
|
{
|
|
10968
11971
|
"jwtAuth": []
|
|
11972
|
+
},
|
|
11973
|
+
{
|
|
11974
|
+
"cookieAuth": []
|
|
10969
11975
|
}
|
|
10970
11976
|
],
|
|
10971
11977
|
"tags": [
|
|
@@ -11022,6 +12028,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11022
12028
|
"security": [
|
|
11023
12029
|
{
|
|
11024
12030
|
"jwtAuth": []
|
|
12031
|
+
},
|
|
12032
|
+
{
|
|
12033
|
+
"cookieAuth": []
|
|
11025
12034
|
}
|
|
11026
12035
|
],
|
|
11027
12036
|
"tags": [
|
|
@@ -11078,6 +12087,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11078
12087
|
"security": [
|
|
11079
12088
|
{
|
|
11080
12089
|
"jwtAuth": []
|
|
12090
|
+
},
|
|
12091
|
+
{
|
|
12092
|
+
"cookieAuth": []
|
|
11081
12093
|
}
|
|
11082
12094
|
],
|
|
11083
12095
|
"tags": [
|
|
@@ -11136,6 +12148,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11136
12148
|
"security": [
|
|
11137
12149
|
{
|
|
11138
12150
|
"jwtAuth": []
|
|
12151
|
+
},
|
|
12152
|
+
{
|
|
12153
|
+
"cookieAuth": []
|
|
11139
12154
|
}
|
|
11140
12155
|
],
|
|
11141
12156
|
"summary": "Activate chat session",
|
|
@@ -11195,6 +12210,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11195
12210
|
"security": [
|
|
11196
12211
|
{
|
|
11197
12212
|
"jwtAuth": []
|
|
12213
|
+
},
|
|
12214
|
+
{
|
|
12215
|
+
"cookieAuth": []
|
|
11198
12216
|
}
|
|
11199
12217
|
],
|
|
11200
12218
|
"summary": "Archive chat session",
|
|
@@ -11445,6 +12463,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11445
12463
|
"security": [
|
|
11446
12464
|
{
|
|
11447
12465
|
"jwtAuth": []
|
|
12466
|
+
},
|
|
12467
|
+
{
|
|
12468
|
+
"cookieAuth": []
|
|
11448
12469
|
}
|
|
11449
12470
|
],
|
|
11450
12471
|
"tags": [
|
|
@@ -11512,6 +12533,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11512
12533
|
"security": [
|
|
11513
12534
|
{
|
|
11514
12535
|
"jwtAuth": []
|
|
12536
|
+
},
|
|
12537
|
+
{
|
|
12538
|
+
"cookieAuth": []
|
|
11515
12539
|
}
|
|
11516
12540
|
],
|
|
11517
12541
|
"summary": "Upload and process archive",
|
|
@@ -11555,6 +12579,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11555
12579
|
"security": [
|
|
11556
12580
|
{
|
|
11557
12581
|
"jwtAuth": []
|
|
12582
|
+
},
|
|
12583
|
+
{
|
|
12584
|
+
"cookieAuth": []
|
|
11558
12585
|
}
|
|
11559
12586
|
],
|
|
11560
12587
|
"summary": "Re-vectorize chunks",
|
|
@@ -11583,6 +12610,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11583
12610
|
"security": [
|
|
11584
12611
|
{
|
|
11585
12612
|
"jwtAuth": []
|
|
12613
|
+
},
|
|
12614
|
+
{
|
|
12615
|
+
"cookieAuth": []
|
|
11586
12616
|
}
|
|
11587
12617
|
],
|
|
11588
12618
|
"summary": "Get archive statistics",
|
|
@@ -11611,6 +12641,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11611
12641
|
"security": [
|
|
11612
12642
|
{
|
|
11613
12643
|
"jwtAuth": []
|
|
12644
|
+
},
|
|
12645
|
+
{
|
|
12646
|
+
"cookieAuth": []
|
|
11614
12647
|
}
|
|
11615
12648
|
],
|
|
11616
12649
|
"summary": "Get vectorization statistics",
|
|
@@ -11644,6 +12677,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11644
12677
|
"security": [
|
|
11645
12678
|
{
|
|
11646
12679
|
"jwtAuth": []
|
|
12680
|
+
},
|
|
12681
|
+
{
|
|
12682
|
+
"cookieAuth": []
|
|
11647
12683
|
}
|
|
11648
12684
|
],
|
|
11649
12685
|
"tags": [
|
|
@@ -11681,6 +12717,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11681
12717
|
"security": [
|
|
11682
12718
|
{
|
|
11683
12719
|
"jwtAuth": []
|
|
12720
|
+
},
|
|
12721
|
+
{
|
|
12722
|
+
"cookieAuth": []
|
|
11684
12723
|
}
|
|
11685
12724
|
],
|
|
11686
12725
|
"tags": [
|
|
@@ -11732,6 +12771,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11732
12771
|
"security": [
|
|
11733
12772
|
{
|
|
11734
12773
|
"jwtAuth": []
|
|
12774
|
+
},
|
|
12775
|
+
{
|
|
12776
|
+
"cookieAuth": []
|
|
11735
12777
|
}
|
|
11736
12778
|
],
|
|
11737
12779
|
"tags": [
|
|
@@ -11784,6 +12826,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11784
12826
|
"security": [
|
|
11785
12827
|
{
|
|
11786
12828
|
"jwtAuth": []
|
|
12829
|
+
},
|
|
12830
|
+
{
|
|
12831
|
+
"cookieAuth": []
|
|
11787
12832
|
}
|
|
11788
12833
|
],
|
|
11789
12834
|
"tags": [
|
|
@@ -11823,6 +12868,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11823
12868
|
"security": [
|
|
11824
12869
|
{
|
|
11825
12870
|
"jwtAuth": []
|
|
12871
|
+
},
|
|
12872
|
+
{
|
|
12873
|
+
"cookieAuth": []
|
|
11826
12874
|
}
|
|
11827
12875
|
],
|
|
11828
12876
|
"summary": "Get archive file tree",
|
|
@@ -11881,6 +12929,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11881
12929
|
"security": [
|
|
11882
12930
|
{
|
|
11883
12931
|
"jwtAuth": []
|
|
12932
|
+
},
|
|
12933
|
+
{
|
|
12934
|
+
"cookieAuth": []
|
|
11884
12935
|
}
|
|
11885
12936
|
],
|
|
11886
12937
|
"summary": "Get archive items",
|
|
@@ -11954,6 +13005,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
11954
13005
|
"security": [
|
|
11955
13006
|
{
|
|
11956
13007
|
"jwtAuth": []
|
|
13008
|
+
},
|
|
13009
|
+
{
|
|
13010
|
+
"cookieAuth": []
|
|
11957
13011
|
}
|
|
11958
13012
|
],
|
|
11959
13013
|
"summary": "Search archive chunks",
|
|
@@ -12002,6 +13056,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12002
13056
|
"security": [
|
|
12003
13057
|
{
|
|
12004
13058
|
"jwtAuth": []
|
|
13059
|
+
},
|
|
13060
|
+
{
|
|
13061
|
+
"cookieAuth": []
|
|
12005
13062
|
}
|
|
12006
13063
|
],
|
|
12007
13064
|
"tags": [
|
|
@@ -12047,6 +13104,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12047
13104
|
"security": [
|
|
12048
13105
|
{
|
|
12049
13106
|
"jwtAuth": []
|
|
13107
|
+
},
|
|
13108
|
+
{
|
|
13109
|
+
"cookieAuth": []
|
|
12050
13110
|
}
|
|
12051
13111
|
],
|
|
12052
13112
|
"tags": [
|
|
@@ -12079,6 +13139,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12079
13139
|
"security": [
|
|
12080
13140
|
{
|
|
12081
13141
|
"jwtAuth": []
|
|
13142
|
+
},
|
|
13143
|
+
{
|
|
13144
|
+
"cookieAuth": []
|
|
12082
13145
|
}
|
|
12083
13146
|
],
|
|
12084
13147
|
"tags": [
|
|
@@ -12116,6 +13179,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12116
13179
|
"security": [
|
|
12117
13180
|
{
|
|
12118
13181
|
"jwtAuth": []
|
|
13182
|
+
},
|
|
13183
|
+
{
|
|
13184
|
+
"cookieAuth": []
|
|
12119
13185
|
}
|
|
12120
13186
|
],
|
|
12121
13187
|
"tags": [
|
|
@@ -12172,6 +13238,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12172
13238
|
"security": [
|
|
12173
13239
|
{
|
|
12174
13240
|
"jwtAuth": []
|
|
13241
|
+
},
|
|
13242
|
+
{
|
|
13243
|
+
"cookieAuth": []
|
|
12175
13244
|
}
|
|
12176
13245
|
],
|
|
12177
13246
|
"tags": [
|
|
@@ -12229,6 +13298,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12229
13298
|
"security": [
|
|
12230
13299
|
{
|
|
12231
13300
|
"jwtAuth": []
|
|
13301
|
+
},
|
|
13302
|
+
{
|
|
13303
|
+
"cookieAuth": []
|
|
12232
13304
|
}
|
|
12233
13305
|
],
|
|
12234
13306
|
"tags": [
|
|
@@ -12268,6 +13340,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12268
13340
|
"security": [
|
|
12269
13341
|
{
|
|
12270
13342
|
"jwtAuth": []
|
|
13343
|
+
},
|
|
13344
|
+
{
|
|
13345
|
+
"cookieAuth": []
|
|
12271
13346
|
}
|
|
12272
13347
|
],
|
|
12273
13348
|
"summary": "Get chunk context",
|
|
@@ -12328,6 +13403,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12328
13403
|
"security": [
|
|
12329
13404
|
{
|
|
12330
13405
|
"jwtAuth": []
|
|
13406
|
+
},
|
|
13407
|
+
{
|
|
13408
|
+
"cookieAuth": []
|
|
12331
13409
|
}
|
|
12332
13410
|
],
|
|
12333
13411
|
"summary": "Vectorize chunk",
|
|
@@ -12376,6 +13454,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12376
13454
|
"security": [
|
|
12377
13455
|
{
|
|
12378
13456
|
"jwtAuth": []
|
|
13457
|
+
},
|
|
13458
|
+
{
|
|
13459
|
+
"cookieAuth": []
|
|
12379
13460
|
}
|
|
12380
13461
|
],
|
|
12381
13462
|
"tags": [
|
|
@@ -12421,6 +13502,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12421
13502
|
"security": [
|
|
12422
13503
|
{
|
|
12423
13504
|
"jwtAuth": []
|
|
13505
|
+
},
|
|
13506
|
+
{
|
|
13507
|
+
"cookieAuth": []
|
|
12424
13508
|
}
|
|
12425
13509
|
],
|
|
12426
13510
|
"tags": [
|
|
@@ -12453,6 +13537,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12453
13537
|
"security": [
|
|
12454
13538
|
{
|
|
12455
13539
|
"jwtAuth": []
|
|
13540
|
+
},
|
|
13541
|
+
{
|
|
13542
|
+
"cookieAuth": []
|
|
12456
13543
|
}
|
|
12457
13544
|
],
|
|
12458
13545
|
"tags": [
|
|
@@ -12490,6 +13577,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12490
13577
|
"security": [
|
|
12491
13578
|
{
|
|
12492
13579
|
"jwtAuth": []
|
|
13580
|
+
},
|
|
13581
|
+
{
|
|
13582
|
+
"cookieAuth": []
|
|
12493
13583
|
}
|
|
12494
13584
|
],
|
|
12495
13585
|
"tags": [
|
|
@@ -12546,6 +13636,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12546
13636
|
"security": [
|
|
12547
13637
|
{
|
|
12548
13638
|
"jwtAuth": []
|
|
13639
|
+
},
|
|
13640
|
+
{
|
|
13641
|
+
"cookieAuth": []
|
|
12549
13642
|
}
|
|
12550
13643
|
],
|
|
12551
13644
|
"tags": [
|
|
@@ -12603,6 +13696,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12603
13696
|
"security": [
|
|
12604
13697
|
{
|
|
12605
13698
|
"jwtAuth": []
|
|
13699
|
+
},
|
|
13700
|
+
{
|
|
13701
|
+
"cookieAuth": []
|
|
12606
13702
|
}
|
|
12607
13703
|
],
|
|
12608
13704
|
"tags": [
|
|
@@ -12660,6 +13756,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12660
13756
|
"security": [
|
|
12661
13757
|
{
|
|
12662
13758
|
"jwtAuth": []
|
|
13759
|
+
},
|
|
13760
|
+
{
|
|
13761
|
+
"cookieAuth": []
|
|
12663
13762
|
}
|
|
12664
13763
|
],
|
|
12665
13764
|
"summary": "Get item chunks",
|
|
@@ -12700,6 +13799,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
12700
13799
|
"security": [
|
|
12701
13800
|
{
|
|
12702
13801
|
"jwtAuth": []
|
|
13802
|
+
},
|
|
13803
|
+
{
|
|
13804
|
+
"cookieAuth": []
|
|
12703
13805
|
}
|
|
12704
13806
|
],
|
|
12705
13807
|
"summary": "Get item content",
|
|
@@ -14222,7 +15324,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14222
15324
|
},
|
|
14223
15325
|
"/cfg/support/tickets/": {
|
|
14224
15326
|
"get": {
|
|
14225
|
-
"description": "ViewSet for managing support tickets.",
|
|
15327
|
+
"description": "ViewSet for managing support tickets.\n\nRequires authenticated user (JWT or Session).\nStaff users can see all tickets, regular users see only their own.",
|
|
14226
15328
|
"operationId": "cfg_support_tickets_list",
|
|
14227
15329
|
"parameters": [
|
|
14228
15330
|
{
|
|
@@ -14259,6 +15361,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14259
15361
|
"security": [
|
|
14260
15362
|
{
|
|
14261
15363
|
"jwtAuth": []
|
|
15364
|
+
},
|
|
15365
|
+
{
|
|
15366
|
+
"cookieAuth": []
|
|
14262
15367
|
}
|
|
14263
15368
|
],
|
|
14264
15369
|
"tags": [
|
|
@@ -14267,7 +15372,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14267
15372
|
"x-async-capable": false
|
|
14268
15373
|
},
|
|
14269
15374
|
"post": {
|
|
14270
|
-
"description": "ViewSet for managing support tickets.",
|
|
15375
|
+
"description": "ViewSet for managing support tickets.\n\nRequires authenticated user (JWT or Session).\nStaff users can see all tickets, regular users see only their own.",
|
|
14271
15376
|
"operationId": "cfg_support_tickets_create",
|
|
14272
15377
|
"requestBody": {
|
|
14273
15378
|
"content": {
|
|
@@ -14304,6 +15409,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14304
15409
|
"security": [
|
|
14305
15410
|
{
|
|
14306
15411
|
"jwtAuth": []
|
|
15412
|
+
},
|
|
15413
|
+
{
|
|
15414
|
+
"cookieAuth": []
|
|
14307
15415
|
}
|
|
14308
15416
|
],
|
|
14309
15417
|
"tags": [
|
|
@@ -14314,7 +15422,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14314
15422
|
},
|
|
14315
15423
|
"/cfg/support/tickets/{ticket_uuid}/messages/": {
|
|
14316
15424
|
"get": {
|
|
14317
|
-
"description": "ViewSet for managing support messages.",
|
|
15425
|
+
"description": "ViewSet for managing support messages.\n\nRequires authenticated user (JWT or Session).\nUsers can only access messages for their own tickets.",
|
|
14318
15426
|
"operationId": "cfg_support_tickets_messages_list",
|
|
14319
15427
|
"parameters": [
|
|
14320
15428
|
{
|
|
@@ -14361,6 +15469,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14361
15469
|
"security": [
|
|
14362
15470
|
{
|
|
14363
15471
|
"jwtAuth": []
|
|
15472
|
+
},
|
|
15473
|
+
{
|
|
15474
|
+
"cookieAuth": []
|
|
14364
15475
|
}
|
|
14365
15476
|
],
|
|
14366
15477
|
"tags": [
|
|
@@ -14369,7 +15480,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14369
15480
|
"x-async-capable": false
|
|
14370
15481
|
},
|
|
14371
15482
|
"post": {
|
|
14372
|
-
"description": "ViewSet for managing support messages.",
|
|
15483
|
+
"description": "ViewSet for managing support messages.\n\nRequires authenticated user (JWT or Session).\nUsers can only access messages for their own tickets.",
|
|
14373
15484
|
"operationId": "cfg_support_tickets_messages_create",
|
|
14374
15485
|
"parameters": [
|
|
14375
15486
|
{
|
|
@@ -14418,6 +15529,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14418
15529
|
"security": [
|
|
14419
15530
|
{
|
|
14420
15531
|
"jwtAuth": []
|
|
15532
|
+
},
|
|
15533
|
+
{
|
|
15534
|
+
"cookieAuth": []
|
|
14421
15535
|
}
|
|
14422
15536
|
],
|
|
14423
15537
|
"tags": [
|
|
@@ -14428,7 +15542,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14428
15542
|
},
|
|
14429
15543
|
"/cfg/support/tickets/{ticket_uuid}/messages/{uuid}/": {
|
|
14430
15544
|
"delete": {
|
|
14431
|
-
"description": "ViewSet for managing support messages.",
|
|
15545
|
+
"description": "ViewSet for managing support messages.\n\nRequires authenticated user (JWT or Session).\nUsers can only access messages for their own tickets.",
|
|
14432
15546
|
"operationId": "cfg_support_tickets_messages_destroy",
|
|
14433
15547
|
"parameters": [
|
|
14434
15548
|
{
|
|
@@ -14460,6 +15574,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14460
15574
|
"security": [
|
|
14461
15575
|
{
|
|
14462
15576
|
"jwtAuth": []
|
|
15577
|
+
},
|
|
15578
|
+
{
|
|
15579
|
+
"cookieAuth": []
|
|
14463
15580
|
}
|
|
14464
15581
|
],
|
|
14465
15582
|
"tags": [
|
|
@@ -14468,7 +15585,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14468
15585
|
"x-async-capable": false
|
|
14469
15586
|
},
|
|
14470
15587
|
"get": {
|
|
14471
|
-
"description": "ViewSet for managing support messages.",
|
|
15588
|
+
"description": "ViewSet for managing support messages.\n\nRequires authenticated user (JWT or Session).\nUsers can only access messages for their own tickets.",
|
|
14472
15589
|
"operationId": "cfg_support_tickets_messages_retrieve",
|
|
14473
15590
|
"parameters": [
|
|
14474
15591
|
{
|
|
@@ -14507,6 +15624,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14507
15624
|
"security": [
|
|
14508
15625
|
{
|
|
14509
15626
|
"jwtAuth": []
|
|
15627
|
+
},
|
|
15628
|
+
{
|
|
15629
|
+
"cookieAuth": []
|
|
14510
15630
|
}
|
|
14511
15631
|
],
|
|
14512
15632
|
"tags": [
|
|
@@ -14515,7 +15635,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14515
15635
|
"x-async-capable": false
|
|
14516
15636
|
},
|
|
14517
15637
|
"patch": {
|
|
14518
|
-
"description": "ViewSet for managing support messages.",
|
|
15638
|
+
"description": "ViewSet for managing support messages.\n\nRequires authenticated user (JWT or Session).\nUsers can only access messages for their own tickets.",
|
|
14519
15639
|
"operationId": "cfg_support_tickets_messages_partial_update",
|
|
14520
15640
|
"parameters": [
|
|
14521
15641
|
{
|
|
@@ -14573,6 +15693,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14573
15693
|
"security": [
|
|
14574
15694
|
{
|
|
14575
15695
|
"jwtAuth": []
|
|
15696
|
+
},
|
|
15697
|
+
{
|
|
15698
|
+
"cookieAuth": []
|
|
14576
15699
|
}
|
|
14577
15700
|
],
|
|
14578
15701
|
"tags": [
|
|
@@ -14581,7 +15704,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14581
15704
|
"x-async-capable": false
|
|
14582
15705
|
},
|
|
14583
15706
|
"put": {
|
|
14584
|
-
"description": "ViewSet for managing support messages.",
|
|
15707
|
+
"description": "ViewSet for managing support messages.\n\nRequires authenticated user (JWT or Session).\nUsers can only access messages for their own tickets.",
|
|
14585
15708
|
"operationId": "cfg_support_tickets_messages_update",
|
|
14586
15709
|
"parameters": [
|
|
14587
15710
|
{
|
|
@@ -14640,6 +15763,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14640
15763
|
"security": [
|
|
14641
15764
|
{
|
|
14642
15765
|
"jwtAuth": []
|
|
15766
|
+
},
|
|
15767
|
+
{
|
|
15768
|
+
"cookieAuth": []
|
|
14643
15769
|
}
|
|
14644
15770
|
],
|
|
14645
15771
|
"tags": [
|
|
@@ -14650,7 +15776,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14650
15776
|
},
|
|
14651
15777
|
"/cfg/support/tickets/{uuid}/": {
|
|
14652
15778
|
"delete": {
|
|
14653
|
-
"description": "ViewSet for managing support tickets.",
|
|
15779
|
+
"description": "ViewSet for managing support tickets.\n\nRequires authenticated user (JWT or Session).\nStaff users can see all tickets, regular users see only their own.",
|
|
14654
15780
|
"operationId": "cfg_support_tickets_destroy",
|
|
14655
15781
|
"parameters": [
|
|
14656
15782
|
{
|
|
@@ -14672,6 +15798,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14672
15798
|
"security": [
|
|
14673
15799
|
{
|
|
14674
15800
|
"jwtAuth": []
|
|
15801
|
+
},
|
|
15802
|
+
{
|
|
15803
|
+
"cookieAuth": []
|
|
14675
15804
|
}
|
|
14676
15805
|
],
|
|
14677
15806
|
"tags": [
|
|
@@ -14680,7 +15809,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14680
15809
|
"x-async-capable": false
|
|
14681
15810
|
},
|
|
14682
15811
|
"get": {
|
|
14683
|
-
"description": "ViewSet for managing support tickets.",
|
|
15812
|
+
"description": "ViewSet for managing support tickets.\n\nRequires authenticated user (JWT or Session).\nStaff users can see all tickets, regular users see only their own.",
|
|
14684
15813
|
"operationId": "cfg_support_tickets_retrieve",
|
|
14685
15814
|
"parameters": [
|
|
14686
15815
|
{
|
|
@@ -14709,6 +15838,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14709
15838
|
"security": [
|
|
14710
15839
|
{
|
|
14711
15840
|
"jwtAuth": []
|
|
15841
|
+
},
|
|
15842
|
+
{
|
|
15843
|
+
"cookieAuth": []
|
|
14712
15844
|
}
|
|
14713
15845
|
],
|
|
14714
15846
|
"tags": [
|
|
@@ -14717,7 +15849,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14717
15849
|
"x-async-capable": false
|
|
14718
15850
|
},
|
|
14719
15851
|
"patch": {
|
|
14720
|
-
"description": "ViewSet for managing support tickets.",
|
|
15852
|
+
"description": "ViewSet for managing support tickets.\n\nRequires authenticated user (JWT or Session).\nStaff users can see all tickets, regular users see only their own.",
|
|
14721
15853
|
"operationId": "cfg_support_tickets_partial_update",
|
|
14722
15854
|
"parameters": [
|
|
14723
15855
|
{
|
|
@@ -14765,6 +15897,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14765
15897
|
"security": [
|
|
14766
15898
|
{
|
|
14767
15899
|
"jwtAuth": []
|
|
15900
|
+
},
|
|
15901
|
+
{
|
|
15902
|
+
"cookieAuth": []
|
|
14768
15903
|
}
|
|
14769
15904
|
],
|
|
14770
15905
|
"tags": [
|
|
@@ -14773,7 +15908,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14773
15908
|
"x-async-capable": false
|
|
14774
15909
|
},
|
|
14775
15910
|
"put": {
|
|
14776
|
-
"description": "ViewSet for managing support tickets.",
|
|
15911
|
+
"description": "ViewSet for managing support tickets.\n\nRequires authenticated user (JWT or Session).\nStaff users can see all tickets, regular users see only their own.",
|
|
14777
15912
|
"operationId": "cfg_support_tickets_update",
|
|
14778
15913
|
"parameters": [
|
|
14779
15914
|
{
|
|
@@ -14822,6 +15957,9 @@ export const OPENAPI_SCHEMA = {
|
|
|
14822
15957
|
"security": [
|
|
14823
15958
|
{
|
|
14824
15959
|
"jwtAuth": []
|
|
15960
|
+
},
|
|
15961
|
+
{
|
|
15962
|
+
"cookieAuth": []
|
|
14825
15963
|
}
|
|
14826
15964
|
],
|
|
14827
15965
|
"tags": [
|
|
@@ -14832,7 +15970,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
14832
15970
|
},
|
|
14833
15971
|
"/cfg/tasks/logs/": {
|
|
14834
15972
|
"get": {
|
|
14835
|
-
"description": "ViewSet for TaskLog monitoring.\n\nProvides read-only access to task execution logs with filtering,\nsearching, and statistics.\n\nEndpoints:\n GET /api/tasks/logs/ - List all task logs\n GET /api/tasks/logs/{id}/ - Get task log details\n GET /api/tasks/logs/stats/ - Get aggregated statistics\n GET /api/tasks/logs/timeline/ - Get task execution timeline\n GET /api/tasks/logs/overview/ - Get summary overview",
|
|
15973
|
+
"description": "Complete ViewSet for TaskLog monitoring.\n\nProvides read-only access to task execution logs with filtering,\nsearching, and statistics.\n\nEndpoints:\n GET /api/tasks/logs/ - List all task logs\n GET /api/tasks/logs/{id}/ - Get task log details\n GET /api/tasks/logs/{id}/related/ - Get related task logs\n GET /api/tasks/logs/stats/ - Get aggregated statistics\n GET /api/tasks/logs/timeline/ - Get task execution timeline\n GET /api/tasks/logs/overview/ - Get summary overview\n\nMixins:\n - TaskLogStatsMixin: Aggregated statistics\n - TaskLogTimelineMixin: Time-series data\n - TaskLogOverviewMixin: High-level summary\n - TaskLogRelatedMixin: Related task lookup\n - TaskLogBaseViewSet: Base CRUD operations",
|
|
14836
15974
|
"operationId": "cfg_tasks_logs_list",
|
|
14837
15975
|
"parameters": [
|
|
14838
15976
|
{
|
|
@@ -15123,7 +16261,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
15123
16261
|
{
|
|
15124
16262
|
"jwtAuth": []
|
|
15125
16263
|
},
|
|
15126
|
-
{
|
|
16264
|
+
{
|
|
16265
|
+
"cookieAuth": []
|
|
16266
|
+
},
|
|
16267
|
+
{
|
|
16268
|
+
"basicAuth": []
|
|
16269
|
+
}
|
|
15127
16270
|
],
|
|
15128
16271
|
"tags": [
|
|
15129
16272
|
"tasks"
|
|
@@ -15133,14 +16276,14 @@ export const OPENAPI_SCHEMA = {
|
|
|
15133
16276
|
},
|
|
15134
16277
|
"/cfg/tasks/logs/overview/": {
|
|
15135
16278
|
"get": {
|
|
15136
|
-
"description": "Get
|
|
16279
|
+
"description": "Get high-level summary statistics for the entire task system",
|
|
15137
16280
|
"operationId": "cfg_tasks_logs_overview_retrieve",
|
|
15138
16281
|
"responses": {
|
|
15139
16282
|
"200": {
|
|
15140
16283
|
"content": {
|
|
15141
16284
|
"application/json": {
|
|
15142
16285
|
"schema": {
|
|
15143
|
-
"$ref": "#/components/schemas/
|
|
16286
|
+
"$ref": "#/components/schemas/TaskLogOverview"
|
|
15144
16287
|
}
|
|
15145
16288
|
}
|
|
15146
16289
|
},
|
|
@@ -15151,8 +16294,14 @@ export const OPENAPI_SCHEMA = {
|
|
|
15151
16294
|
{
|
|
15152
16295
|
"jwtAuth": []
|
|
15153
16296
|
},
|
|
15154
|
-
{
|
|
16297
|
+
{
|
|
16298
|
+
"cookieAuth": []
|
|
16299
|
+
},
|
|
16300
|
+
{
|
|
16301
|
+
"basicAuth": []
|
|
16302
|
+
}
|
|
15155
16303
|
],
|
|
16304
|
+
"summary": "Task System Overview",
|
|
15156
16305
|
"tags": [
|
|
15157
16306
|
"tasks"
|
|
15158
16307
|
],
|
|
@@ -15161,7 +16310,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
15161
16310
|
},
|
|
15162
16311
|
"/cfg/tasks/logs/stats/": {
|
|
15163
16312
|
"get": {
|
|
15164
|
-
"description": "Get aggregated
|
|
16313
|
+
"description": "Get aggregated statistics about task execution (success/failure rates, duration)",
|
|
15165
16314
|
"operationId": "cfg_tasks_logs_stats_retrieve",
|
|
15166
16315
|
"responses": {
|
|
15167
16316
|
"200": {
|
|
@@ -15179,8 +16328,14 @@ export const OPENAPI_SCHEMA = {
|
|
|
15179
16328
|
{
|
|
15180
16329
|
"jwtAuth": []
|
|
15181
16330
|
},
|
|
15182
|
-
{
|
|
16331
|
+
{
|
|
16332
|
+
"cookieAuth": []
|
|
16333
|
+
},
|
|
16334
|
+
{
|
|
16335
|
+
"basicAuth": []
|
|
16336
|
+
}
|
|
15183
16337
|
],
|
|
16338
|
+
"summary": "Task Execution Statistics",
|
|
15184
16339
|
"tags": [
|
|
15185
16340
|
"tasks"
|
|
15186
16341
|
],
|
|
@@ -15189,14 +16344,14 @@ export const OPENAPI_SCHEMA = {
|
|
|
15189
16344
|
},
|
|
15190
16345
|
"/cfg/tasks/logs/timeline/": {
|
|
15191
16346
|
"get": {
|
|
15192
|
-
"description": "Get
|
|
16347
|
+
"description": "Get time-series data of task executions grouped by time intervals",
|
|
15193
16348
|
"operationId": "cfg_tasks_logs_timeline_retrieve",
|
|
15194
16349
|
"responses": {
|
|
15195
16350
|
"200": {
|
|
15196
16351
|
"content": {
|
|
15197
16352
|
"application/json": {
|
|
15198
16353
|
"schema": {
|
|
15199
|
-
"$ref": "#/components/schemas/
|
|
16354
|
+
"$ref": "#/components/schemas/TaskLogTimeline"
|
|
15200
16355
|
}
|
|
15201
16356
|
}
|
|
15202
16357
|
},
|
|
@@ -15207,8 +16362,14 @@ export const OPENAPI_SCHEMA = {
|
|
|
15207
16362
|
{
|
|
15208
16363
|
"jwtAuth": []
|
|
15209
16364
|
},
|
|
15210
|
-
{
|
|
16365
|
+
{
|
|
16366
|
+
"cookieAuth": []
|
|
16367
|
+
},
|
|
16368
|
+
{
|
|
16369
|
+
"basicAuth": []
|
|
16370
|
+
}
|
|
15211
16371
|
],
|
|
16372
|
+
"summary": "Task Execution Timeline",
|
|
15212
16373
|
"tags": [
|
|
15213
16374
|
"tasks"
|
|
15214
16375
|
],
|
|
@@ -15217,7 +16378,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
15217
16378
|
},
|
|
15218
16379
|
"/cfg/tasks/logs/{id}/": {
|
|
15219
16380
|
"get": {
|
|
15220
|
-
"description": "ViewSet for TaskLog monitoring.\n\nProvides read-only access to task execution logs with filtering,\nsearching, and statistics.\n\nEndpoints:\n GET /api/tasks/logs/ - List all task logs\n GET /api/tasks/logs/{id}/ - Get task log details\n GET /api/tasks/logs/stats/ - Get aggregated statistics\n GET /api/tasks/logs/timeline/ - Get task execution timeline\n GET /api/tasks/logs/overview/ - Get summary overview",
|
|
16381
|
+
"description": "Complete ViewSet for TaskLog monitoring.\n\nProvides read-only access to task execution logs with filtering,\nsearching, and statistics.\n\nEndpoints:\n GET /api/tasks/logs/ - List all task logs\n GET /api/tasks/logs/{id}/ - Get task log details\n GET /api/tasks/logs/{id}/related/ - Get related task logs\n GET /api/tasks/logs/stats/ - Get aggregated statistics\n GET /api/tasks/logs/timeline/ - Get task execution timeline\n GET /api/tasks/logs/overview/ - Get summary overview\n\nMixins:\n - TaskLogStatsMixin: Aggregated statistics\n - TaskLogTimelineMixin: Time-series data\n - TaskLogOverviewMixin: High-level summary\n - TaskLogRelatedMixin: Related task lookup\n - TaskLogBaseViewSet: Base CRUD operations",
|
|
15221
16382
|
"operationId": "cfg_tasks_logs_retrieve",
|
|
15222
16383
|
"parameters": [
|
|
15223
16384
|
{
|
|
@@ -15246,7 +16407,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
15246
16407
|
{
|
|
15247
16408
|
"jwtAuth": []
|
|
15248
16409
|
},
|
|
15249
|
-
{
|
|
16410
|
+
{
|
|
16411
|
+
"cookieAuth": []
|
|
16412
|
+
},
|
|
16413
|
+
{
|
|
16414
|
+
"basicAuth": []
|
|
16415
|
+
}
|
|
15250
16416
|
],
|
|
15251
16417
|
"tags": [
|
|
15252
16418
|
"tasks"
|
|
@@ -15256,7 +16422,7 @@ export const OPENAPI_SCHEMA = {
|
|
|
15256
16422
|
},
|
|
15257
16423
|
"/cfg/tasks/logs/{id}/related/": {
|
|
15258
16424
|
"get": {
|
|
15259
|
-
"description": "Get related task logs (same job_id or task_name).\n\nReturns tasks that share the same job_id or are retries of the same task
|
|
16425
|
+
"description": "Get related task logs (same job_id or task_name).\n\nReturns tasks that share the same job_id or are retries of the same task.\n\nReturns:\n Array of related TaskLog objects (up to 10 most recent)",
|
|
15260
16426
|
"operationId": "cfg_tasks_logs_related_retrieve",
|
|
15261
16427
|
"parameters": [
|
|
15262
16428
|
{
|
|
@@ -15285,7 +16451,12 @@ export const OPENAPI_SCHEMA = {
|
|
|
15285
16451
|
{
|
|
15286
16452
|
"jwtAuth": []
|
|
15287
16453
|
},
|
|
15288
|
-
{
|
|
16454
|
+
{
|
|
16455
|
+
"cookieAuth": []
|
|
16456
|
+
},
|
|
16457
|
+
{
|
|
16458
|
+
"basicAuth": []
|
|
16459
|
+
}
|
|
15289
16460
|
],
|
|
15290
16461
|
"tags": [
|
|
15291
16462
|
"tasks"
|