@djangocfg/api 1.4.27 → 1.4.29
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 +4125 -3718
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +687 -41
- package/dist/index.d.ts +687 -41
- package/dist/index.mjs +4042 -3323
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/cfg/contexts/index.ts +3 -0
- package/src/cfg/contexts/knowbase/index.ts +3 -0
- package/src/cfg/generated/_utils/fetchers/cfg__accounts.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__accounts__auth.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__accounts__user_profile.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_auth.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_api_zones.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_charts.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_commands.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_config.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_overview.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_statistics.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_system.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__db.ts +552 -0
- package/src/cfg/generated/_utils/fetchers/cfg__endpoints.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_api_keys.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_charts.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_configuration.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_monitoring.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_proto_files.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_services.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_testing.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__health.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__knowbase.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__leads.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__leads__lead_submission.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__bulk_email.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__campaigns.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__logs.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__newsletters.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__subscriptions.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__testing.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_jobs.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_monitoring.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_queues.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_registries.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_schedules.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_testing.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_workers.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/cfg__support.ts +2 -0
- package/src/cfg/generated/_utils/fetchers/index.ts +1 -0
- package/src/cfg/generated/_utils/hooks/cfg__accounts.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__accounts__auth.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__accounts__user_profile.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_admin_api.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_auth.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_monitoring.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_testing.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_activity.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_api_zones.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_charts.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_commands.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_config.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_overview.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_statistics.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_system.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__db.ts +151 -0
- package/src/cfg/generated/_utils/hooks/cfg__endpoints.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_api_keys.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_charts.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_configuration.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_monitoring.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_proto_files.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_services.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__grpc__grpc_testing.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__health.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__knowbase.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__leads.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__leads__lead_submission.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__newsletter.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__newsletter__bulk_email.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__newsletter__campaigns.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__newsletter__logs.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__newsletter__newsletters.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__newsletter__subscriptions.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__newsletter__testing.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__payments.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__rq__rq_jobs.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__rq__rq_monitoring.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__rq__rq_queues.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__rq__rq_registries.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__rq__rq_schedules.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__rq__rq_testing.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__rq__rq_workers.ts +2 -0
- package/src/cfg/generated/_utils/hooks/cfg__support.ts +2 -0
- package/src/cfg/generated/_utils/hooks/index.ts +3 -0
- package/src/cfg/generated/_utils/schemas/BackupRecord.schema.ts +43 -0
- package/src/cfg/generated/_utils/schemas/BackupRecordList.schema.ts +28 -0
- package/src/cfg/generated/_utils/schemas/PaginatedBackupRecordListList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/PaginatedRestoreRecordList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/RestoreRecord.schema.ts +30 -0
- package/src/cfg/generated/_utils/schemas/index.ts +5 -0
- package/src/cfg/generated/cfg__accounts/models.ts +2 -2
- package/src/cfg/generated/cfg__db/client.ts +117 -0
- package/src/cfg/generated/cfg__db/index.ts +2 -0
- package/src/cfg/generated/cfg__db/models.ts +181 -0
- package/src/cfg/generated/cfg__leads/client.ts +12 -6
- package/src/cfg/generated/client.ts +5 -0
- package/src/cfg/generated/enums.ts +83 -0
- package/src/cfg/generated/index.ts +5 -0
- package/src/cfg/generated/schema.json +803 -69
- package/src/cfg/generated/storage.ts +2 -0
- package/src/cfg/generated/validation-events.ts +2 -0
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"payments",
|
|
17
17
|
"django_cfg_centrifugo",
|
|
18
18
|
"django_cfg_rq",
|
|
19
|
-
"grpc"
|
|
19
|
+
"grpc",
|
|
20
|
+
"db_backup"
|
|
20
21
|
],
|
|
21
22
|
"generator": "django-client",
|
|
22
23
|
"generator_version": "1.0.0"
|
|
@@ -2339,6 +2340,298 @@
|
|
|
2339
2340
|
"x-async-capable": false
|
|
2340
2341
|
}
|
|
2341
2342
|
},
|
|
2343
|
+
"/cfg/db/backups/": {
|
|
2344
|
+
"get": {
|
|
2345
|
+
"operationId": "cfg_db_backups_list",
|
|
2346
|
+
"description": "API ViewSet for database backups.\n\nProvides endpoints for:\n- List backups (GET /api/db/backups/)\n- Get backup details (GET /api/db/backups/{id}/)\n- Create backup (POST /api/db/backups/create/)\n- List databases (GET /api/db/backups/databases/)\n- Cleanup old backups (POST /api/db/backups/cleanup/)",
|
|
2347
|
+
"parameters": [
|
|
2348
|
+
{
|
|
2349
|
+
"name": "page",
|
|
2350
|
+
"required": false,
|
|
2351
|
+
"in": "query",
|
|
2352
|
+
"description": "A page number within the paginated result set.",
|
|
2353
|
+
"schema": {
|
|
2354
|
+
"type": "integer"
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
"name": "page_size",
|
|
2359
|
+
"required": false,
|
|
2360
|
+
"in": "query",
|
|
2361
|
+
"description": "Number of results to return per page.",
|
|
2362
|
+
"schema": {
|
|
2363
|
+
"type": "integer"
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
],
|
|
2367
|
+
"tags": [
|
|
2368
|
+
"db"
|
|
2369
|
+
],
|
|
2370
|
+
"security": [
|
|
2371
|
+
{
|
|
2372
|
+
"jwtAuthWithLastLogin": []
|
|
2373
|
+
}
|
|
2374
|
+
],
|
|
2375
|
+
"responses": {
|
|
2376
|
+
"200": {
|
|
2377
|
+
"content": {
|
|
2378
|
+
"application/json": {
|
|
2379
|
+
"schema": {
|
|
2380
|
+
"$ref": "#/components/schemas/PaginatedBackupRecordListList"
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
"description": ""
|
|
2385
|
+
}
|
|
2386
|
+
},
|
|
2387
|
+
"x-async-capable": false
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
"/cfg/db/backups/{id}/": {
|
|
2391
|
+
"get": {
|
|
2392
|
+
"operationId": "cfg_db_backups_retrieve",
|
|
2393
|
+
"description": "API ViewSet for database backups.\n\nProvides endpoints for:\n- List backups (GET /api/db/backups/)\n- Get backup details (GET /api/db/backups/{id}/)\n- Create backup (POST /api/db/backups/create/)\n- List databases (GET /api/db/backups/databases/)\n- Cleanup old backups (POST /api/db/backups/cleanup/)",
|
|
2394
|
+
"parameters": [
|
|
2395
|
+
{
|
|
2396
|
+
"in": "path",
|
|
2397
|
+
"name": "id",
|
|
2398
|
+
"schema": {
|
|
2399
|
+
"type": "string",
|
|
2400
|
+
"format": "uuid"
|
|
2401
|
+
},
|
|
2402
|
+
"description": "A UUID string identifying this Backup Record.",
|
|
2403
|
+
"required": true
|
|
2404
|
+
}
|
|
2405
|
+
],
|
|
2406
|
+
"tags": [
|
|
2407
|
+
"db"
|
|
2408
|
+
],
|
|
2409
|
+
"security": [
|
|
2410
|
+
{
|
|
2411
|
+
"jwtAuthWithLastLogin": []
|
|
2412
|
+
}
|
|
2413
|
+
],
|
|
2414
|
+
"responses": {
|
|
2415
|
+
"200": {
|
|
2416
|
+
"content": {
|
|
2417
|
+
"application/json": {
|
|
2418
|
+
"schema": {
|
|
2419
|
+
"$ref": "#/components/schemas/BackupRecord"
|
|
2420
|
+
}
|
|
2421
|
+
}
|
|
2422
|
+
},
|
|
2423
|
+
"description": ""
|
|
2424
|
+
}
|
|
2425
|
+
},
|
|
2426
|
+
"x-async-capable": false
|
|
2427
|
+
}
|
|
2428
|
+
},
|
|
2429
|
+
"/cfg/db/backups/{id}/restore/": {
|
|
2430
|
+
"post": {
|
|
2431
|
+
"operationId": "cfg_db_backups_restore_create",
|
|
2432
|
+
"description": "Restore database from this backup.\n\nRequest body:\n target_database_alias: Target database (optional, defaults to original)\n\nReturns:\n RestoreRecord details",
|
|
2433
|
+
"parameters": [
|
|
2434
|
+
{
|
|
2435
|
+
"in": "path",
|
|
2436
|
+
"name": "id",
|
|
2437
|
+
"schema": {
|
|
2438
|
+
"type": "string",
|
|
2439
|
+
"format": "uuid"
|
|
2440
|
+
},
|
|
2441
|
+
"description": "A UUID string identifying this Backup Record.",
|
|
2442
|
+
"required": true
|
|
2443
|
+
}
|
|
2444
|
+
],
|
|
2445
|
+
"tags": [
|
|
2446
|
+
"db"
|
|
2447
|
+
],
|
|
2448
|
+
"security": [
|
|
2449
|
+
{
|
|
2450
|
+
"jwtAuthWithLastLogin": []
|
|
2451
|
+
}
|
|
2452
|
+
],
|
|
2453
|
+
"responses": {
|
|
2454
|
+
"200": {
|
|
2455
|
+
"content": {
|
|
2456
|
+
"application/json": {
|
|
2457
|
+
"schema": {
|
|
2458
|
+
"$ref": "#/components/schemas/BackupRecord"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
},
|
|
2462
|
+
"description": ""
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
"x-async-capable": false
|
|
2466
|
+
}
|
|
2467
|
+
},
|
|
2468
|
+
"/cfg/db/backups/cleanup/": {
|
|
2469
|
+
"post": {
|
|
2470
|
+
"operationId": "cfg_db_backups_cleanup_create",
|
|
2471
|
+
"description": "Clean up old backups according to retention policy.\n\nReturns:\n Success message",
|
|
2472
|
+
"tags": [
|
|
2473
|
+
"db"
|
|
2474
|
+
],
|
|
2475
|
+
"security": [
|
|
2476
|
+
{
|
|
2477
|
+
"jwtAuthWithLastLogin": []
|
|
2478
|
+
}
|
|
2479
|
+
],
|
|
2480
|
+
"responses": {
|
|
2481
|
+
"200": {
|
|
2482
|
+
"content": {
|
|
2483
|
+
"application/json": {
|
|
2484
|
+
"schema": {
|
|
2485
|
+
"$ref": "#/components/schemas/BackupRecord"
|
|
2486
|
+
}
|
|
2487
|
+
}
|
|
2488
|
+
},
|
|
2489
|
+
"description": ""
|
|
2490
|
+
}
|
|
2491
|
+
},
|
|
2492
|
+
"x-async-capable": false
|
|
2493
|
+
}
|
|
2494
|
+
},
|
|
2495
|
+
"/cfg/db/backups/create_backup/": {
|
|
2496
|
+
"post": {
|
|
2497
|
+
"operationId": "cfg_db_backups_create_backup_create",
|
|
2498
|
+
"description": "Create a new database backup.\n\nRequest body:\n database_alias: Database alias to backup (default: \"default\")\n\nReturns:\n BackupRecord details",
|
|
2499
|
+
"tags": [
|
|
2500
|
+
"db"
|
|
2501
|
+
],
|
|
2502
|
+
"security": [
|
|
2503
|
+
{
|
|
2504
|
+
"jwtAuthWithLastLogin": []
|
|
2505
|
+
}
|
|
2506
|
+
],
|
|
2507
|
+
"responses": {
|
|
2508
|
+
"200": {
|
|
2509
|
+
"content": {
|
|
2510
|
+
"application/json": {
|
|
2511
|
+
"schema": {
|
|
2512
|
+
"$ref": "#/components/schemas/BackupRecord"
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
},
|
|
2516
|
+
"description": ""
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
"x-async-capable": false
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
"/cfg/db/backups/databases/": {
|
|
2523
|
+
"get": {
|
|
2524
|
+
"operationId": "cfg_db_backups_databases_retrieve",
|
|
2525
|
+
"description": "List configured databases with backup info.\n\nReturns:\n List of databases with last backup info",
|
|
2526
|
+
"tags": [
|
|
2527
|
+
"db"
|
|
2528
|
+
],
|
|
2529
|
+
"security": [
|
|
2530
|
+
{
|
|
2531
|
+
"jwtAuthWithLastLogin": []
|
|
2532
|
+
}
|
|
2533
|
+
],
|
|
2534
|
+
"responses": {
|
|
2535
|
+
"200": {
|
|
2536
|
+
"content": {
|
|
2537
|
+
"application/json": {
|
|
2538
|
+
"schema": {
|
|
2539
|
+
"$ref": "#/components/schemas/BackupRecord"
|
|
2540
|
+
}
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
"description": ""
|
|
2544
|
+
}
|
|
2545
|
+
},
|
|
2546
|
+
"x-async-capable": false
|
|
2547
|
+
}
|
|
2548
|
+
},
|
|
2549
|
+
"/cfg/db/restores/": {
|
|
2550
|
+
"get": {
|
|
2551
|
+
"operationId": "cfg_db_restores_list",
|
|
2552
|
+
"description": "API ViewSet for database restores.\n\nProvides endpoints for:\n- List restores (GET /api/db/restores/)\n- Get restore details (GET /api/db/restores/{id}/)",
|
|
2553
|
+
"parameters": [
|
|
2554
|
+
{
|
|
2555
|
+
"name": "page",
|
|
2556
|
+
"required": false,
|
|
2557
|
+
"in": "query",
|
|
2558
|
+
"description": "A page number within the paginated result set.",
|
|
2559
|
+
"schema": {
|
|
2560
|
+
"type": "integer"
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
"name": "page_size",
|
|
2565
|
+
"required": false,
|
|
2566
|
+
"in": "query",
|
|
2567
|
+
"description": "Number of results to return per page.",
|
|
2568
|
+
"schema": {
|
|
2569
|
+
"type": "integer"
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
],
|
|
2573
|
+
"tags": [
|
|
2574
|
+
"db"
|
|
2575
|
+
],
|
|
2576
|
+
"security": [
|
|
2577
|
+
{
|
|
2578
|
+
"jwtAuthWithLastLogin": []
|
|
2579
|
+
}
|
|
2580
|
+
],
|
|
2581
|
+
"responses": {
|
|
2582
|
+
"200": {
|
|
2583
|
+
"content": {
|
|
2584
|
+
"application/json": {
|
|
2585
|
+
"schema": {
|
|
2586
|
+
"$ref": "#/components/schemas/PaginatedRestoreRecordList"
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
},
|
|
2590
|
+
"description": ""
|
|
2591
|
+
}
|
|
2592
|
+
},
|
|
2593
|
+
"x-async-capable": false
|
|
2594
|
+
}
|
|
2595
|
+
},
|
|
2596
|
+
"/cfg/db/restores/{id}/": {
|
|
2597
|
+
"get": {
|
|
2598
|
+
"operationId": "cfg_db_restores_retrieve",
|
|
2599
|
+
"description": "API ViewSet for database restores.\n\nProvides endpoints for:\n- List restores (GET /api/db/restores/)\n- Get restore details (GET /api/db/restores/{id}/)",
|
|
2600
|
+
"parameters": [
|
|
2601
|
+
{
|
|
2602
|
+
"in": "path",
|
|
2603
|
+
"name": "id",
|
|
2604
|
+
"schema": {
|
|
2605
|
+
"type": "string",
|
|
2606
|
+
"format": "uuid"
|
|
2607
|
+
},
|
|
2608
|
+
"description": "A UUID string identifying this Restore Record.",
|
|
2609
|
+
"required": true
|
|
2610
|
+
}
|
|
2611
|
+
],
|
|
2612
|
+
"tags": [
|
|
2613
|
+
"db"
|
|
2614
|
+
],
|
|
2615
|
+
"security": [
|
|
2616
|
+
{
|
|
2617
|
+
"jwtAuthWithLastLogin": []
|
|
2618
|
+
}
|
|
2619
|
+
],
|
|
2620
|
+
"responses": {
|
|
2621
|
+
"200": {
|
|
2622
|
+
"content": {
|
|
2623
|
+
"application/json": {
|
|
2624
|
+
"schema": {
|
|
2625
|
+
"$ref": "#/components/schemas/RestoreRecord"
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
},
|
|
2629
|
+
"description": ""
|
|
2630
|
+
}
|
|
2631
|
+
},
|
|
2632
|
+
"x-async-capable": false
|
|
2633
|
+
}
|
|
2634
|
+
},
|
|
2342
2635
|
"/cfg/endpoints/drf/": {
|
|
2343
2636
|
"get": {
|
|
2344
2637
|
"operationId": "cfg_endpoints_drf_retrieve",
|
|
@@ -6843,7 +7136,7 @@
|
|
|
6843
7136
|
"/cfg/leads/": {
|
|
6844
7137
|
"get": {
|
|
6845
7138
|
"operationId": "cfg_leads_list",
|
|
6846
|
-
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",
|
|
7139
|
+
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.\nUses PublicAPIMixin for open CORS and no authentication.",
|
|
6847
7140
|
"parameters": [
|
|
6848
7141
|
{
|
|
6849
7142
|
"name": "page",
|
|
@@ -6868,9 +7161,6 @@
|
|
|
6868
7161
|
"leads"
|
|
6869
7162
|
],
|
|
6870
7163
|
"security": [
|
|
6871
|
-
{
|
|
6872
|
-
"jwtAuthWithLastLogin": []
|
|
6873
|
-
},
|
|
6874
7164
|
{}
|
|
6875
7165
|
],
|
|
6876
7166
|
"responses": {
|
|
@@ -6889,7 +7179,7 @@
|
|
|
6889
7179
|
},
|
|
6890
7180
|
"post": {
|
|
6891
7181
|
"operationId": "cfg_leads_create",
|
|
6892
|
-
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",
|
|
7182
|
+
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.\nUses PublicAPIMixin for open CORS and no authentication.",
|
|
6893
7183
|
"tags": [
|
|
6894
7184
|
"leads"
|
|
6895
7185
|
],
|
|
@@ -6914,9 +7204,6 @@
|
|
|
6914
7204
|
"required": true
|
|
6915
7205
|
},
|
|
6916
7206
|
"security": [
|
|
6917
|
-
{
|
|
6918
|
-
"jwtAuthWithLastLogin": []
|
|
6919
|
-
},
|
|
6920
7207
|
{}
|
|
6921
7208
|
],
|
|
6922
7209
|
"responses": {
|
|
@@ -6937,7 +7224,7 @@
|
|
|
6937
7224
|
"/cfg/leads/{id}/": {
|
|
6938
7225
|
"get": {
|
|
6939
7226
|
"operationId": "cfg_leads_retrieve",
|
|
6940
|
-
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",
|
|
7227
|
+
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.\nUses PublicAPIMixin for open CORS and no authentication.",
|
|
6941
7228
|
"parameters": [
|
|
6942
7229
|
{
|
|
6943
7230
|
"in": "path",
|
|
@@ -6953,9 +7240,6 @@
|
|
|
6953
7240
|
"leads"
|
|
6954
7241
|
],
|
|
6955
7242
|
"security": [
|
|
6956
|
-
{
|
|
6957
|
-
"jwtAuthWithLastLogin": []
|
|
6958
|
-
},
|
|
6959
7243
|
{}
|
|
6960
7244
|
],
|
|
6961
7245
|
"responses": {
|
|
@@ -6974,7 +7258,7 @@
|
|
|
6974
7258
|
},
|
|
6975
7259
|
"put": {
|
|
6976
7260
|
"operationId": "cfg_leads_update",
|
|
6977
|
-
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",
|
|
7261
|
+
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.\nUses PublicAPIMixin for open CORS and no authentication.",
|
|
6978
7262
|
"parameters": [
|
|
6979
7263
|
{
|
|
6980
7264
|
"in": "path",
|
|
@@ -7010,9 +7294,6 @@
|
|
|
7010
7294
|
"required": true
|
|
7011
7295
|
},
|
|
7012
7296
|
"security": [
|
|
7013
|
-
{
|
|
7014
|
-
"jwtAuthWithLastLogin": []
|
|
7015
|
-
},
|
|
7016
7297
|
{}
|
|
7017
7298
|
],
|
|
7018
7299
|
"responses": {
|
|
@@ -7031,7 +7312,7 @@
|
|
|
7031
7312
|
},
|
|
7032
7313
|
"patch": {
|
|
7033
7314
|
"operationId": "cfg_leads_partial_update",
|
|
7034
|
-
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",
|
|
7315
|
+
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.\nUses PublicAPIMixin for open CORS and no authentication.",
|
|
7035
7316
|
"parameters": [
|
|
7036
7317
|
{
|
|
7037
7318
|
"in": "path",
|
|
@@ -7066,9 +7347,6 @@
|
|
|
7066
7347
|
}
|
|
7067
7348
|
},
|
|
7068
7349
|
"security": [
|
|
7069
|
-
{
|
|
7070
|
-
"jwtAuthWithLastLogin": []
|
|
7071
|
-
},
|
|
7072
7350
|
{}
|
|
7073
7351
|
],
|
|
7074
7352
|
"responses": {
|
|
@@ -7087,7 +7365,7 @@
|
|
|
7087
7365
|
},
|
|
7088
7366
|
"delete": {
|
|
7089
7367
|
"operationId": "cfg_leads_destroy",
|
|
7090
|
-
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",
|
|
7368
|
+
"description": "ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.\nUses PublicAPIMixin for open CORS and no authentication.",
|
|
7091
7369
|
"parameters": [
|
|
7092
7370
|
{
|
|
7093
7371
|
"in": "path",
|
|
@@ -7103,9 +7381,6 @@
|
|
|
7103
7381
|
"leads"
|
|
7104
7382
|
],
|
|
7105
7383
|
"security": [
|
|
7106
|
-
{
|
|
7107
|
-
"jwtAuthWithLastLogin": []
|
|
7108
|
-
},
|
|
7109
7384
|
{}
|
|
7110
7385
|
],
|
|
7111
7386
|
"responses": {
|
|
@@ -7161,9 +7436,6 @@
|
|
|
7161
7436
|
"required": true
|
|
7162
7437
|
},
|
|
7163
7438
|
"security": [
|
|
7164
|
-
{
|
|
7165
|
-
"jwtAuthWithLastLogin": []
|
|
7166
|
-
},
|
|
7167
7439
|
{}
|
|
7168
7440
|
],
|
|
7169
7441
|
"responses": {
|
|
@@ -11841,56 +12113,308 @@
|
|
|
11841
12113
|
"type": "string",
|
|
11842
12114
|
"nullable": true
|
|
11843
12115
|
},
|
|
11844
|
-
"lockout_url": {
|
|
12116
|
+
"lockout_url": {
|
|
12117
|
+
"type": "string",
|
|
12118
|
+
"nullable": true
|
|
12119
|
+
},
|
|
12120
|
+
"verbose": {
|
|
12121
|
+
"type": "boolean",
|
|
12122
|
+
"nullable": true
|
|
12123
|
+
},
|
|
12124
|
+
"enable_access_failure_log": {
|
|
12125
|
+
"type": "boolean",
|
|
12126
|
+
"nullable": true
|
|
12127
|
+
},
|
|
12128
|
+
"ipware_proxy_count": {
|
|
12129
|
+
"type": "integer",
|
|
12130
|
+
"nullable": true
|
|
12131
|
+
},
|
|
12132
|
+
"ipware_meta_precedence_order": {
|
|
12133
|
+
"type": "array",
|
|
12134
|
+
"items": {
|
|
12135
|
+
"type": "string"
|
|
12136
|
+
},
|
|
12137
|
+
"nullable": true
|
|
12138
|
+
},
|
|
12139
|
+
"allowed_ips": {
|
|
12140
|
+
"type": "array",
|
|
12141
|
+
"items": {
|
|
12142
|
+
"type": "string"
|
|
12143
|
+
},
|
|
12144
|
+
"nullable": true
|
|
12145
|
+
},
|
|
12146
|
+
"denied_ips": {
|
|
12147
|
+
"type": "array",
|
|
12148
|
+
"items": {
|
|
12149
|
+
"type": "string"
|
|
12150
|
+
},
|
|
12151
|
+
"nullable": true
|
|
12152
|
+
},
|
|
12153
|
+
"cache_name": {
|
|
12154
|
+
"type": "string",
|
|
12155
|
+
"nullable": true
|
|
12156
|
+
},
|
|
12157
|
+
"use_user_agent": {
|
|
12158
|
+
"type": "boolean",
|
|
12159
|
+
"nullable": true
|
|
12160
|
+
},
|
|
12161
|
+
"username_form_field": {
|
|
12162
|
+
"type": "string",
|
|
12163
|
+
"nullable": true
|
|
12164
|
+
}
|
|
12165
|
+
}
|
|
12166
|
+
},
|
|
12167
|
+
"BackupRecord": {
|
|
12168
|
+
"type": "object",
|
|
12169
|
+
"description": "Serializer for backup records.",
|
|
12170
|
+
"properties": {
|
|
12171
|
+
"id": {
|
|
12172
|
+
"type": "string",
|
|
12173
|
+
"format": "uuid",
|
|
12174
|
+
"readOnly": true
|
|
12175
|
+
},
|
|
12176
|
+
"database_alias": {
|
|
12177
|
+
"type": "string",
|
|
12178
|
+
"readOnly": true,
|
|
12179
|
+
"description": "Django database alias"
|
|
12180
|
+
},
|
|
12181
|
+
"database_name": {
|
|
12182
|
+
"type": "string",
|
|
12183
|
+
"readOnly": true,
|
|
12184
|
+
"description": "Actual database name"
|
|
12185
|
+
},
|
|
12186
|
+
"database_engine": {
|
|
12187
|
+
"enum": [
|
|
12188
|
+
"postgresql",
|
|
12189
|
+
"mysql",
|
|
12190
|
+
"sqlite",
|
|
12191
|
+
"unknown"
|
|
12192
|
+
],
|
|
12193
|
+
"type": "string",
|
|
12194
|
+
"x-spec-enum-id": "6698319bf9a255dc",
|
|
12195
|
+
"readOnly": true,
|
|
12196
|
+
"description": "Database engine type\n\n* `postgresql` - PostgreSQL\n* `mysql` - MySQL\n* `sqlite` - SQLite\n* `unknown` - Unknown"
|
|
12197
|
+
},
|
|
12198
|
+
"filename": {
|
|
12199
|
+
"type": "string",
|
|
12200
|
+
"readOnly": true,
|
|
12201
|
+
"description": "Backup filename"
|
|
12202
|
+
},
|
|
12203
|
+
"file_path": {
|
|
12204
|
+
"type": "string",
|
|
12205
|
+
"readOnly": true,
|
|
12206
|
+
"description": "Full path or S3 key to backup file"
|
|
12207
|
+
},
|
|
12208
|
+
"file_size": {
|
|
12209
|
+
"type": "integer",
|
|
12210
|
+
"readOnly": true,
|
|
12211
|
+
"nullable": true,
|
|
12212
|
+
"description": "Backup file size in bytes"
|
|
12213
|
+
},
|
|
12214
|
+
"file_size_human": {
|
|
12215
|
+
"type": "string",
|
|
12216
|
+
"description": "Return human-readable file size.",
|
|
12217
|
+
"readOnly": true
|
|
12218
|
+
},
|
|
12219
|
+
"compression": {
|
|
12220
|
+
"type": "string",
|
|
12221
|
+
"readOnly": true,
|
|
12222
|
+
"description": "Compression algorithm used"
|
|
12223
|
+
},
|
|
12224
|
+
"encrypted": {
|
|
12225
|
+
"type": "boolean",
|
|
12226
|
+
"readOnly": true,
|
|
12227
|
+
"description": "Whether backup is encrypted"
|
|
12228
|
+
},
|
|
12229
|
+
"storage_backend": {
|
|
12230
|
+
"enum": [
|
|
12231
|
+
"local",
|
|
12232
|
+
"s3"
|
|
12233
|
+
],
|
|
12234
|
+
"type": "string",
|
|
12235
|
+
"x-spec-enum-id": "71957a7d69b6ee0d",
|
|
12236
|
+
"readOnly": true,
|
|
12237
|
+
"description": "Storage backend type\n\n* `local` - Local\n* `s3` - S3"
|
|
12238
|
+
},
|
|
12239
|
+
"storage_bucket": {
|
|
12240
|
+
"type": "string",
|
|
12241
|
+
"readOnly": true,
|
|
12242
|
+
"description": "S3 bucket name (if S3 storage)"
|
|
12243
|
+
},
|
|
12244
|
+
"status": {
|
|
12245
|
+
"enum": [
|
|
12246
|
+
"pending",
|
|
12247
|
+
"running",
|
|
12248
|
+
"completed",
|
|
12249
|
+
"failed",
|
|
12250
|
+
"deleted"
|
|
12251
|
+
],
|
|
12252
|
+
"type": "string",
|
|
12253
|
+
"x-spec-enum-id": "33782edc8eec4126",
|
|
12254
|
+
"readOnly": true,
|
|
12255
|
+
"description": "Backup status\n\n* `pending` - Pending\n* `running` - Running\n* `completed` - Completed\n* `failed` - Failed\n* `deleted` - Deleted"
|
|
12256
|
+
},
|
|
12257
|
+
"error_message": {
|
|
12258
|
+
"type": "string",
|
|
12259
|
+
"readOnly": true,
|
|
12260
|
+
"description": "Error message if failed"
|
|
12261
|
+
},
|
|
12262
|
+
"started_at": {
|
|
12263
|
+
"type": "string",
|
|
12264
|
+
"format": "date-time",
|
|
12265
|
+
"readOnly": true,
|
|
12266
|
+
"nullable": true,
|
|
12267
|
+
"description": "When backup started"
|
|
12268
|
+
},
|
|
12269
|
+
"completed_at": {
|
|
12270
|
+
"type": "string",
|
|
12271
|
+
"format": "date-time",
|
|
12272
|
+
"readOnly": true,
|
|
12273
|
+
"nullable": true,
|
|
12274
|
+
"description": "When backup completed"
|
|
12275
|
+
},
|
|
12276
|
+
"duration_seconds": {
|
|
12277
|
+
"type": "number",
|
|
12278
|
+
"format": "double",
|
|
12279
|
+
"readOnly": true,
|
|
12280
|
+
"nullable": true,
|
|
12281
|
+
"description": "Backup duration in seconds"
|
|
12282
|
+
},
|
|
12283
|
+
"duration_human": {
|
|
12284
|
+
"type": "string",
|
|
12285
|
+
"description": "Return human-readable duration.",
|
|
12286
|
+
"readOnly": true
|
|
12287
|
+
},
|
|
12288
|
+
"created_at": {
|
|
12289
|
+
"type": "string",
|
|
12290
|
+
"format": "date-time",
|
|
12291
|
+
"readOnly": true
|
|
12292
|
+
},
|
|
12293
|
+
"is_scheduled": {
|
|
12294
|
+
"type": "boolean",
|
|
12295
|
+
"readOnly": true,
|
|
12296
|
+
"description": "Whether backup was created by scheduler"
|
|
12297
|
+
},
|
|
12298
|
+
"is_manual": {
|
|
12299
|
+
"type": "boolean",
|
|
12300
|
+
"readOnly": true,
|
|
12301
|
+
"description": "Whether backup was created manually"
|
|
12302
|
+
},
|
|
12303
|
+
"tables_count": {
|
|
12304
|
+
"type": "integer",
|
|
12305
|
+
"readOnly": true,
|
|
12306
|
+
"nullable": true,
|
|
12307
|
+
"description": "Number of tables backed up"
|
|
12308
|
+
},
|
|
12309
|
+
"rows_count": {
|
|
12310
|
+
"type": "integer",
|
|
12311
|
+
"readOnly": true,
|
|
12312
|
+
"nullable": true,
|
|
12313
|
+
"description": "Approximate number of rows backed up"
|
|
12314
|
+
},
|
|
12315
|
+
"checksum": {
|
|
12316
|
+
"type": "string",
|
|
12317
|
+
"readOnly": true,
|
|
12318
|
+
"description": "SHA256 checksum of backup file"
|
|
12319
|
+
}
|
|
12320
|
+
},
|
|
12321
|
+
"required": [
|
|
12322
|
+
"checksum",
|
|
12323
|
+
"completed_at",
|
|
12324
|
+
"compression",
|
|
12325
|
+
"created_at",
|
|
12326
|
+
"database_alias",
|
|
12327
|
+
"database_engine",
|
|
12328
|
+
"database_name",
|
|
12329
|
+
"duration_human",
|
|
12330
|
+
"duration_seconds",
|
|
12331
|
+
"encrypted",
|
|
12332
|
+
"error_message",
|
|
12333
|
+
"file_path",
|
|
12334
|
+
"file_size",
|
|
12335
|
+
"file_size_human",
|
|
12336
|
+
"filename",
|
|
12337
|
+
"id",
|
|
12338
|
+
"is_manual",
|
|
12339
|
+
"is_scheduled",
|
|
12340
|
+
"rows_count",
|
|
12341
|
+
"started_at",
|
|
12342
|
+
"status",
|
|
12343
|
+
"storage_backend",
|
|
12344
|
+
"storage_bucket",
|
|
12345
|
+
"tables_count"
|
|
12346
|
+
]
|
|
12347
|
+
},
|
|
12348
|
+
"BackupRecordList": {
|
|
12349
|
+
"type": "object",
|
|
12350
|
+
"description": "Lightweight serializer for backup list.",
|
|
12351
|
+
"properties": {
|
|
12352
|
+
"id": {
|
|
12353
|
+
"type": "string",
|
|
12354
|
+
"format": "uuid",
|
|
12355
|
+
"readOnly": true
|
|
12356
|
+
},
|
|
12357
|
+
"database_alias": {
|
|
11845
12358
|
"type": "string",
|
|
11846
|
-
"
|
|
11847
|
-
|
|
11848
|
-
"verbose": {
|
|
11849
|
-
"type": "boolean",
|
|
11850
|
-
"nullable": true
|
|
12359
|
+
"description": "Django database alias",
|
|
12360
|
+
"maxLength": 100
|
|
11851
12361
|
},
|
|
11852
|
-
"
|
|
11853
|
-
"
|
|
11854
|
-
|
|
12362
|
+
"database_engine": {
|
|
12363
|
+
"enum": [
|
|
12364
|
+
"postgresql",
|
|
12365
|
+
"mysql",
|
|
12366
|
+
"sqlite",
|
|
12367
|
+
"unknown"
|
|
12368
|
+
],
|
|
12369
|
+
"type": "string",
|
|
12370
|
+
"x-spec-enum-id": "6698319bf9a255dc",
|
|
12371
|
+
"description": "Database engine type\n\n* `postgresql` - PostgreSQL\n* `mysql` - MySQL\n* `sqlite` - SQLite\n* `unknown` - Unknown"
|
|
11855
12372
|
},
|
|
11856
|
-
"
|
|
11857
|
-
"type": "
|
|
11858
|
-
"
|
|
12373
|
+
"filename": {
|
|
12374
|
+
"type": "string",
|
|
12375
|
+
"description": "Backup filename",
|
|
12376
|
+
"maxLength": 500
|
|
11859
12377
|
},
|
|
11860
|
-
"
|
|
11861
|
-
"type": "
|
|
11862
|
-
"
|
|
11863
|
-
|
|
11864
|
-
},
|
|
11865
|
-
"nullable": true
|
|
12378
|
+
"file_size_human": {
|
|
12379
|
+
"type": "string",
|
|
12380
|
+
"description": "Return human-readable file size.",
|
|
12381
|
+
"readOnly": true
|
|
11866
12382
|
},
|
|
11867
|
-
"
|
|
11868
|
-
"
|
|
11869
|
-
|
|
11870
|
-
"
|
|
11871
|
-
|
|
11872
|
-
|
|
12383
|
+
"status": {
|
|
12384
|
+
"enum": [
|
|
12385
|
+
"pending",
|
|
12386
|
+
"running",
|
|
12387
|
+
"completed",
|
|
12388
|
+
"failed",
|
|
12389
|
+
"deleted"
|
|
12390
|
+
],
|
|
12391
|
+
"type": "string",
|
|
12392
|
+
"x-spec-enum-id": "33782edc8eec4126",
|
|
12393
|
+
"description": "Backup status\n\n* `pending` - Pending\n* `running` - Running\n* `completed` - Completed\n* `failed` - Failed\n* `deleted` - Deleted"
|
|
11873
12394
|
},
|
|
11874
|
-
"
|
|
11875
|
-
"type": "
|
|
11876
|
-
"
|
|
11877
|
-
|
|
11878
|
-
},
|
|
11879
|
-
"nullable": true
|
|
12395
|
+
"duration_human": {
|
|
12396
|
+
"type": "string",
|
|
12397
|
+
"description": "Return human-readable duration.",
|
|
12398
|
+
"readOnly": true
|
|
11880
12399
|
},
|
|
11881
|
-
"
|
|
12400
|
+
"created_at": {
|
|
11882
12401
|
"type": "string",
|
|
11883
|
-
"
|
|
12402
|
+
"format": "date-time",
|
|
12403
|
+
"readOnly": true
|
|
11884
12404
|
},
|
|
11885
|
-
"
|
|
12405
|
+
"is_scheduled": {
|
|
11886
12406
|
"type": "boolean",
|
|
11887
|
-
"
|
|
11888
|
-
},
|
|
11889
|
-
"username_form_field": {
|
|
11890
|
-
"type": "string",
|
|
11891
|
-
"nullable": true
|
|
12407
|
+
"description": "Whether backup was created by scheduler"
|
|
11892
12408
|
}
|
|
11893
|
-
}
|
|
12409
|
+
},
|
|
12410
|
+
"required": [
|
|
12411
|
+
"created_at",
|
|
12412
|
+
"database_alias",
|
|
12413
|
+
"duration_human",
|
|
12414
|
+
"file_size_human",
|
|
12415
|
+
"filename",
|
|
12416
|
+
"id"
|
|
12417
|
+
]
|
|
11894
12418
|
},
|
|
11895
12419
|
"Balance": {
|
|
11896
12420
|
"type": "object",
|
|
@@ -17336,7 +17860,7 @@
|
|
|
17336
17860
|
"source_url": {
|
|
17337
17861
|
"type": "string",
|
|
17338
17862
|
"format": "uri",
|
|
17339
|
-
"description": "Source URL for tracking registration (e.g., https://
|
|
17863
|
+
"description": "Source URL for tracking registration (e.g., https://my.djangocfg.com)"
|
|
17340
17864
|
}
|
|
17341
17865
|
},
|
|
17342
17866
|
"required": [
|
|
@@ -17382,7 +17906,7 @@
|
|
|
17382
17906
|
"source_url": {
|
|
17383
17907
|
"type": "string",
|
|
17384
17908
|
"format": "uri",
|
|
17385
|
-
"description": "Source URL for tracking login (e.g., https://
|
|
17909
|
+
"description": "Source URL for tracking login (e.g., https://my.djangocfg.com)"
|
|
17386
17910
|
}
|
|
17387
17911
|
},
|
|
17388
17912
|
"required": [
|
|
@@ -17708,6 +18232,69 @@
|
|
|
17708
18232
|
}
|
|
17709
18233
|
}
|
|
17710
18234
|
},
|
|
18235
|
+
"PaginatedBackupRecordListList": {
|
|
18236
|
+
"type": "object",
|
|
18237
|
+
"required": [
|
|
18238
|
+
"count",
|
|
18239
|
+
"page",
|
|
18240
|
+
"pages",
|
|
18241
|
+
"page_size",
|
|
18242
|
+
"has_next",
|
|
18243
|
+
"has_previous",
|
|
18244
|
+
"results"
|
|
18245
|
+
],
|
|
18246
|
+
"properties": {
|
|
18247
|
+
"count": {
|
|
18248
|
+
"type": "integer",
|
|
18249
|
+
"description": "Total number of items across all pages",
|
|
18250
|
+
"example": 150
|
|
18251
|
+
},
|
|
18252
|
+
"page": {
|
|
18253
|
+
"type": "integer",
|
|
18254
|
+
"description": "Current page number (1-based)",
|
|
18255
|
+
"example": 2
|
|
18256
|
+
},
|
|
18257
|
+
"pages": {
|
|
18258
|
+
"type": "integer",
|
|
18259
|
+
"description": "Total number of pages",
|
|
18260
|
+
"example": 15
|
|
18261
|
+
},
|
|
18262
|
+
"page_size": {
|
|
18263
|
+
"type": "integer",
|
|
18264
|
+
"description": "Number of items per page",
|
|
18265
|
+
"example": 10
|
|
18266
|
+
},
|
|
18267
|
+
"has_next": {
|
|
18268
|
+
"type": "boolean",
|
|
18269
|
+
"description": "Whether there is a next page",
|
|
18270
|
+
"example": true
|
|
18271
|
+
},
|
|
18272
|
+
"has_previous": {
|
|
18273
|
+
"type": "boolean",
|
|
18274
|
+
"description": "Whether there is a previous page",
|
|
18275
|
+
"example": true
|
|
18276
|
+
},
|
|
18277
|
+
"next_page": {
|
|
18278
|
+
"type": "integer",
|
|
18279
|
+
"nullable": true,
|
|
18280
|
+
"description": "Next page number (null if no next page)",
|
|
18281
|
+
"example": 3
|
|
18282
|
+
},
|
|
18283
|
+
"previous_page": {
|
|
18284
|
+
"type": "integer",
|
|
18285
|
+
"nullable": true,
|
|
18286
|
+
"description": "Previous page number (null if no previous page)",
|
|
18287
|
+
"example": 1
|
|
18288
|
+
},
|
|
18289
|
+
"results": {
|
|
18290
|
+
"type": "array",
|
|
18291
|
+
"items": {
|
|
18292
|
+
"$ref": "#/components/schemas/BackupRecordList"
|
|
18293
|
+
},
|
|
18294
|
+
"description": "Array of items for current page"
|
|
18295
|
+
}
|
|
18296
|
+
}
|
|
18297
|
+
},
|
|
17711
18298
|
"PaginatedChatResponseList": {
|
|
17712
18299
|
"type": "object",
|
|
17713
18300
|
"required": [
|
|
@@ -18779,6 +19366,69 @@
|
|
|
18779
19366
|
}
|
|
18780
19367
|
}
|
|
18781
19368
|
},
|
|
19369
|
+
"PaginatedRestoreRecordList": {
|
|
19370
|
+
"type": "object",
|
|
19371
|
+
"required": [
|
|
19372
|
+
"count",
|
|
19373
|
+
"page",
|
|
19374
|
+
"pages",
|
|
19375
|
+
"page_size",
|
|
19376
|
+
"has_next",
|
|
19377
|
+
"has_previous",
|
|
19378
|
+
"results"
|
|
19379
|
+
],
|
|
19380
|
+
"properties": {
|
|
19381
|
+
"count": {
|
|
19382
|
+
"type": "integer",
|
|
19383
|
+
"description": "Total number of items across all pages",
|
|
19384
|
+
"example": 150
|
|
19385
|
+
},
|
|
19386
|
+
"page": {
|
|
19387
|
+
"type": "integer",
|
|
19388
|
+
"description": "Current page number (1-based)",
|
|
19389
|
+
"example": 2
|
|
19390
|
+
},
|
|
19391
|
+
"pages": {
|
|
19392
|
+
"type": "integer",
|
|
19393
|
+
"description": "Total number of pages",
|
|
19394
|
+
"example": 15
|
|
19395
|
+
},
|
|
19396
|
+
"page_size": {
|
|
19397
|
+
"type": "integer",
|
|
19398
|
+
"description": "Number of items per page",
|
|
19399
|
+
"example": 10
|
|
19400
|
+
},
|
|
19401
|
+
"has_next": {
|
|
19402
|
+
"type": "boolean",
|
|
19403
|
+
"description": "Whether there is a next page",
|
|
19404
|
+
"example": true
|
|
19405
|
+
},
|
|
19406
|
+
"has_previous": {
|
|
19407
|
+
"type": "boolean",
|
|
19408
|
+
"description": "Whether there is a previous page",
|
|
19409
|
+
"example": true
|
|
19410
|
+
},
|
|
19411
|
+
"next_page": {
|
|
19412
|
+
"type": "integer",
|
|
19413
|
+
"nullable": true,
|
|
19414
|
+
"description": "Next page number (null if no next page)",
|
|
19415
|
+
"example": 3
|
|
19416
|
+
},
|
|
19417
|
+
"previous_page": {
|
|
19418
|
+
"type": "integer",
|
|
19419
|
+
"nullable": true,
|
|
19420
|
+
"description": "Previous page number (null if no previous page)",
|
|
19421
|
+
"example": 1
|
|
19422
|
+
},
|
|
19423
|
+
"results": {
|
|
19424
|
+
"type": "array",
|
|
19425
|
+
"items": {
|
|
19426
|
+
"$ref": "#/components/schemas/RestoreRecord"
|
|
19427
|
+
},
|
|
19428
|
+
"description": "Array of items for current page"
|
|
19429
|
+
}
|
|
19430
|
+
}
|
|
19431
|
+
},
|
|
18782
19432
|
"PaginatedScheduledJobList": {
|
|
18783
19433
|
"type": "object",
|
|
18784
19434
|
"required": [
|
|
@@ -20723,6 +21373,90 @@
|
|
|
20723
21373
|
"timestamp"
|
|
20724
21374
|
]
|
|
20725
21375
|
},
|
|
21376
|
+
"RestoreRecord": {
|
|
21377
|
+
"type": "object",
|
|
21378
|
+
"description": "Serializer for restore records.",
|
|
21379
|
+
"properties": {
|
|
21380
|
+
"id": {
|
|
21381
|
+
"type": "string",
|
|
21382
|
+
"format": "uuid",
|
|
21383
|
+
"readOnly": true
|
|
21384
|
+
},
|
|
21385
|
+
"backup": {
|
|
21386
|
+
"type": "string",
|
|
21387
|
+
"format": "uuid",
|
|
21388
|
+
"readOnly": true,
|
|
21389
|
+
"nullable": true,
|
|
21390
|
+
"description": "Source backup record"
|
|
21391
|
+
},
|
|
21392
|
+
"backup_filename": {
|
|
21393
|
+
"type": "string",
|
|
21394
|
+
"readOnly": true
|
|
21395
|
+
},
|
|
21396
|
+
"target_database_alias": {
|
|
21397
|
+
"type": "string",
|
|
21398
|
+
"readOnly": true,
|
|
21399
|
+
"description": "Target Django database alias"
|
|
21400
|
+
},
|
|
21401
|
+
"status": {
|
|
21402
|
+
"enum": [
|
|
21403
|
+
"pending",
|
|
21404
|
+
"running",
|
|
21405
|
+
"completed",
|
|
21406
|
+
"failed"
|
|
21407
|
+
],
|
|
21408
|
+
"type": "string",
|
|
21409
|
+
"description": "* `pending` - Pending\n* `running` - Running\n* `completed` - Completed\n* `failed` - Failed",
|
|
21410
|
+
"x-spec-enum-id": "5e481f277b0ac1e7",
|
|
21411
|
+
"readOnly": true
|
|
21412
|
+
},
|
|
21413
|
+
"error_message": {
|
|
21414
|
+
"type": "string",
|
|
21415
|
+
"readOnly": true
|
|
21416
|
+
},
|
|
21417
|
+
"started_at": {
|
|
21418
|
+
"type": "string",
|
|
21419
|
+
"format": "date-time",
|
|
21420
|
+
"readOnly": true,
|
|
21421
|
+
"nullable": true
|
|
21422
|
+
},
|
|
21423
|
+
"completed_at": {
|
|
21424
|
+
"type": "string",
|
|
21425
|
+
"format": "date-time",
|
|
21426
|
+
"readOnly": true,
|
|
21427
|
+
"nullable": true
|
|
21428
|
+
},
|
|
21429
|
+
"duration_seconds": {
|
|
21430
|
+
"type": "number",
|
|
21431
|
+
"format": "double",
|
|
21432
|
+
"readOnly": true,
|
|
21433
|
+
"nullable": true
|
|
21434
|
+
},
|
|
21435
|
+
"created_at": {
|
|
21436
|
+
"type": "string",
|
|
21437
|
+
"format": "date-time",
|
|
21438
|
+
"readOnly": true
|
|
21439
|
+
},
|
|
21440
|
+
"created_by": {
|
|
21441
|
+
"type": "string",
|
|
21442
|
+
"readOnly": true,
|
|
21443
|
+
"description": "User or system that initiated restore"
|
|
21444
|
+
}
|
|
21445
|
+
},
|
|
21446
|
+
"required": [
|
|
21447
|
+
"backup",
|
|
21448
|
+
"backup_filename",
|
|
21449
|
+
"completed_at",
|
|
21450
|
+
"created_at",
|
|
21451
|
+
"created_by",
|
|
21452
|
+
"duration_seconds",
|
|
21453
|
+
"error_message",
|
|
21454
|
+
"id",
|
|
21455
|
+
"started_at",
|
|
21456
|
+
"status",
|
|
21457
|
+
"target_database_alias"
|
|
21458
|
+
]
|
|
21459
|
+
},
|
|
20726
21460
|
"RunDemoRequestRequest": {
|
|
20727
21461
|
"type": "object",
|
|
20728
21462
|
"description": "Serializer for running demo tasks.",
|