@xen-orchestra/rest-api 0.20.0 → 0.21.1
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/abstract-classes/base-controller.mjs +4 -5
- package/dist/abstract-classes/listener.mjs +59 -0
- package/dist/alarms/alarm.service.mjs +3 -3
- package/dist/backup-archives/backup-archive.controller.mjs +1 -0
- package/dist/backup-jobs/backup-job.controller.mjs +20 -11
- package/dist/backup-jobs/backup-job.service.mjs +28 -2
- package/dist/backup-logs/backup-log.service.mjs +8 -1
- package/dist/events/event.class.mjs +127 -0
- package/dist/events/event.controller.mjs +101 -0
- package/dist/events/event.service.mjs +53 -0
- package/dist/events/event.type.mjs +1 -0
- package/dist/helpers/error.helper.mjs +6 -1
- package/dist/helpers/utils.helper.mjs +15 -1
- package/dist/ioc/ioc.mjs +8 -0
- package/dist/messages/message.controller.mjs +2 -2
- package/dist/open-api/common/response.common.mjs +0 -1
- package/dist/open-api/oa-examples/backup-archive.oa-example.mjs +2 -1
- package/dist/open-api/oa-examples/event.oa-example.mjs +3 -0
- package/dist/open-api/oa-examples/task.oa-example.mjs +1 -1
- package/dist/open-api/oa-examples/vm.oa-example.mjs +74 -0
- package/dist/open-api/routes/routes.js +195 -21
- package/dist/pools/pool.controller.mjs +5 -5
- package/dist/rest-api/rest-api.mjs +2 -2
- package/dist/schedules/schedule.controller.mjs +1 -1
- package/dist/servers/server.controller.mjs +2 -2
- package/dist/tasks/task.controller.mjs +3 -3
- package/dist/vms/vm.controller.mjs +44 -23
- package/dist/vms/vm.service.mjs +181 -0
- package/dist/vms/vm.type.mjs +1 -0
- package/dist/xoa/xoa.service.mjs +4 -1
- package/open-api/spec/swagger.json +939 -197
- package/package.json +4 -3
|
@@ -1496,6 +1496,48 @@
|
|
|
1496
1496
|
"days"
|
|
1497
1497
|
]
|
|
1498
1498
|
},
|
|
1499
|
+
"CreateActionReturnType_void_": {
|
|
1500
|
+
"anyOf": [
|
|
1501
|
+
{
|
|
1502
|
+
"properties": {
|
|
1503
|
+
"taskId": {
|
|
1504
|
+
"type": "string"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
"required": [
|
|
1508
|
+
"taskId"
|
|
1509
|
+
],
|
|
1510
|
+
"type": "object"
|
|
1511
|
+
},
|
|
1512
|
+
{}
|
|
1513
|
+
]
|
|
1514
|
+
},
|
|
1515
|
+
"CreateActionReturnType__id-XenApiVm-at-uuid__": {
|
|
1516
|
+
"anyOf": [
|
|
1517
|
+
{
|
|
1518
|
+
"properties": {
|
|
1519
|
+
"taskId": {
|
|
1520
|
+
"type": "string"
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1523
|
+
"required": [
|
|
1524
|
+
"taskId"
|
|
1525
|
+
],
|
|
1526
|
+
"type": "object"
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"properties": {
|
|
1530
|
+
"id": {
|
|
1531
|
+
"type": "string"
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
"required": [
|
|
1535
|
+
"id"
|
|
1536
|
+
],
|
|
1537
|
+
"type": "object"
|
|
1538
|
+
}
|
|
1539
|
+
]
|
|
1540
|
+
},
|
|
1499
1541
|
"Partial_Unbrand_XoAlarm__": {
|
|
1500
1542
|
"properties": {
|
|
1501
1543
|
"$pool": {
|
|
@@ -1773,6 +1815,12 @@
|
|
|
1773
1815
|
"hideSuccessfulItems": {
|
|
1774
1816
|
"type": "boolean"
|
|
1775
1817
|
},
|
|
1818
|
+
"reportRecipients": {
|
|
1819
|
+
"items": {
|
|
1820
|
+
"type": "string"
|
|
1821
|
+
},
|
|
1822
|
+
"type": "array"
|
|
1823
|
+
},
|
|
1776
1824
|
"reportWhen": {
|
|
1777
1825
|
"type": "string",
|
|
1778
1826
|
"enum": [
|
|
@@ -1834,6 +1882,12 @@
|
|
|
1834
1882
|
"type": "number",
|
|
1835
1883
|
"format": "double"
|
|
1836
1884
|
},
|
|
1885
|
+
"offlineSnapshot": {
|
|
1886
|
+
"type": "boolean"
|
|
1887
|
+
},
|
|
1888
|
+
"checkpointSnapshot": {
|
|
1889
|
+
"type": "boolean"
|
|
1890
|
+
},
|
|
1837
1891
|
"longTermRetention": {
|
|
1838
1892
|
"properties": {
|
|
1839
1893
|
"yearly": {
|
|
@@ -1911,7 +1965,6 @@
|
|
|
1911
1965
|
"type": "boolean"
|
|
1912
1966
|
}
|
|
1913
1967
|
},
|
|
1914
|
-
"additionalProperties": {},
|
|
1915
1968
|
"type": "object"
|
|
1916
1969
|
}
|
|
1917
1970
|
]
|
|
@@ -2201,6 +2254,9 @@
|
|
|
2201
2254
|
"type": "number",
|
|
2202
2255
|
"format": "double"
|
|
2203
2256
|
},
|
|
2257
|
+
"data": {
|
|
2258
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
2259
|
+
},
|
|
2204
2260
|
"abortionRequestedAt": {
|
|
2205
2261
|
"type": "number",
|
|
2206
2262
|
"format": "double"
|
|
@@ -2221,6 +2277,9 @@
|
|
|
2221
2277
|
"type": "number",
|
|
2222
2278
|
"format": "double"
|
|
2223
2279
|
},
|
|
2280
|
+
"data": {
|
|
2281
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
2282
|
+
},
|
|
2224
2283
|
"end": {
|
|
2225
2284
|
"type": "number",
|
|
2226
2285
|
"format": "double"
|
|
@@ -2351,6 +2410,242 @@
|
|
|
2351
2410
|
}
|
|
2352
2411
|
]
|
|
2353
2412
|
},
|
|
2413
|
+
"Pick_Unbrand_VmDashboard-at-quickInfo_.Exclude_keyofUnbrand_VmDashboard-at-quickInfo_.creation__": {
|
|
2414
|
+
"properties": {
|
|
2415
|
+
"$pool": {
|
|
2416
|
+
"type": "string"
|
|
2417
|
+
},
|
|
2418
|
+
"uuid": {
|
|
2419
|
+
"type": "string"
|
|
2420
|
+
},
|
|
2421
|
+
"CPUs": {
|
|
2422
|
+
"properties": {
|
|
2423
|
+
"number": {
|
|
2424
|
+
"type": "number",
|
|
2425
|
+
"format": "double"
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2428
|
+
"required": [
|
|
2429
|
+
"number"
|
|
2430
|
+
],
|
|
2431
|
+
"type": "object"
|
|
2432
|
+
},
|
|
2433
|
+
"memory": {
|
|
2434
|
+
"properties": {
|
|
2435
|
+
"size": {
|
|
2436
|
+
"type": "number",
|
|
2437
|
+
"format": "double"
|
|
2438
|
+
}
|
|
2439
|
+
},
|
|
2440
|
+
"required": [
|
|
2441
|
+
"size"
|
|
2442
|
+
],
|
|
2443
|
+
"type": "object"
|
|
2444
|
+
},
|
|
2445
|
+
"mainIpAddress": {
|
|
2446
|
+
"type": "string"
|
|
2447
|
+
},
|
|
2448
|
+
"name_description": {
|
|
2449
|
+
"type": "string"
|
|
2450
|
+
},
|
|
2451
|
+
"os_version": {
|
|
2452
|
+
"properties": {
|
|
2453
|
+
"name": {
|
|
2454
|
+
"type": "string"
|
|
2455
|
+
}
|
|
2456
|
+
},
|
|
2457
|
+
"type": "object"
|
|
2458
|
+
},
|
|
2459
|
+
"power_state": {
|
|
2460
|
+
"$ref": "#/components/schemas/VM_POWER_STATE"
|
|
2461
|
+
},
|
|
2462
|
+
"pvDriversDetected": {
|
|
2463
|
+
"type": "boolean"
|
|
2464
|
+
},
|
|
2465
|
+
"pvDriversUpToDate": {
|
|
2466
|
+
"type": "boolean"
|
|
2467
|
+
},
|
|
2468
|
+
"pvDriversVersion": {
|
|
2469
|
+
"type": "string"
|
|
2470
|
+
},
|
|
2471
|
+
"startTime": {
|
|
2472
|
+
"type": "number",
|
|
2473
|
+
"format": "double",
|
|
2474
|
+
"nullable": true
|
|
2475
|
+
},
|
|
2476
|
+
"tags": {
|
|
2477
|
+
"items": {
|
|
2478
|
+
"type": "string"
|
|
2479
|
+
},
|
|
2480
|
+
"type": "array"
|
|
2481
|
+
},
|
|
2482
|
+
"virtualizationMode": {
|
|
2483
|
+
"$ref": "#/components/schemas/DOMAIN_TYPE"
|
|
2484
|
+
},
|
|
2485
|
+
"id": {
|
|
2486
|
+
"type": "string"
|
|
2487
|
+
},
|
|
2488
|
+
"host": {
|
|
2489
|
+
"type": "string"
|
|
2490
|
+
}
|
|
2491
|
+
},
|
|
2492
|
+
"required": [
|
|
2493
|
+
"$pool",
|
|
2494
|
+
"uuid",
|
|
2495
|
+
"CPUs",
|
|
2496
|
+
"memory",
|
|
2497
|
+
"name_description",
|
|
2498
|
+
"os_version",
|
|
2499
|
+
"power_state",
|
|
2500
|
+
"pvDriversDetected",
|
|
2501
|
+
"tags",
|
|
2502
|
+
"virtualizationMode",
|
|
2503
|
+
"id"
|
|
2504
|
+
],
|
|
2505
|
+
"type": "object",
|
|
2506
|
+
"description": "From T, pick a set of properties whose keys are in the union K"
|
|
2507
|
+
},
|
|
2508
|
+
"Omit_Unbrand_VmDashboard-at-quickInfo_.creation_": {
|
|
2509
|
+
"$ref": "#/components/schemas/Pick_Unbrand_VmDashboard-at-quickInfo_.Exclude_keyofUnbrand_VmDashboard-at-quickInfo_.creation__",
|
|
2510
|
+
"description": "Construct a type with the properties of T except for those in type K."
|
|
2511
|
+
},
|
|
2512
|
+
"Unbrand_VmDashboard-at-quickInfo_91_creation_93__": {
|
|
2513
|
+
"properties": {
|
|
2514
|
+
"date": {
|
|
2515
|
+
"type": "string"
|
|
2516
|
+
},
|
|
2517
|
+
"user": {
|
|
2518
|
+
"type": "string"
|
|
2519
|
+
}
|
|
2520
|
+
},
|
|
2521
|
+
"type": "object"
|
|
2522
|
+
},
|
|
2523
|
+
"Unbrand_VmDashboardRun_": {
|
|
2524
|
+
"properties": {
|
|
2525
|
+
"backupJobId": {
|
|
2526
|
+
"type": "string"
|
|
2527
|
+
},
|
|
2528
|
+
"timestamp": {
|
|
2529
|
+
"type": "number",
|
|
2530
|
+
"format": "double"
|
|
2531
|
+
},
|
|
2532
|
+
"status": {
|
|
2533
|
+
"type": "string"
|
|
2534
|
+
}
|
|
2535
|
+
},
|
|
2536
|
+
"required": [
|
|
2537
|
+
"backupJobId",
|
|
2538
|
+
"timestamp",
|
|
2539
|
+
"status"
|
|
2540
|
+
],
|
|
2541
|
+
"type": "object"
|
|
2542
|
+
},
|
|
2543
|
+
"Unbrand_VmDashboard-at-backupsInfo_91_replication_93__": {
|
|
2544
|
+
"properties": {
|
|
2545
|
+
"id": {
|
|
2546
|
+
"type": "string"
|
|
2547
|
+
},
|
|
2548
|
+
"timestamp": {
|
|
2549
|
+
"type": "number",
|
|
2550
|
+
"format": "double"
|
|
2551
|
+
},
|
|
2552
|
+
"sr": {
|
|
2553
|
+
"type": "string"
|
|
2554
|
+
}
|
|
2555
|
+
},
|
|
2556
|
+
"required": [
|
|
2557
|
+
"id",
|
|
2558
|
+
"timestamp"
|
|
2559
|
+
],
|
|
2560
|
+
"type": "object"
|
|
2561
|
+
},
|
|
2562
|
+
"Unbrand_VmDashboardBackupArchive_": {
|
|
2563
|
+
"properties": {
|
|
2564
|
+
"id": {
|
|
2565
|
+
"type": "string"
|
|
2566
|
+
},
|
|
2567
|
+
"timestamp": {
|
|
2568
|
+
"type": "number",
|
|
2569
|
+
"format": "double"
|
|
2570
|
+
},
|
|
2571
|
+
"backupRepository": {
|
|
2572
|
+
"type": "string"
|
|
2573
|
+
},
|
|
2574
|
+
"size": {
|
|
2575
|
+
"type": "number",
|
|
2576
|
+
"format": "double"
|
|
2577
|
+
}
|
|
2578
|
+
},
|
|
2579
|
+
"required": [
|
|
2580
|
+
"id",
|
|
2581
|
+
"timestamp",
|
|
2582
|
+
"backupRepository",
|
|
2583
|
+
"size"
|
|
2584
|
+
],
|
|
2585
|
+
"type": "object"
|
|
2586
|
+
},
|
|
2587
|
+
"UnbrandedVmDashboard": {
|
|
2588
|
+
"properties": {
|
|
2589
|
+
"backupsInfo": {
|
|
2590
|
+
"properties": {
|
|
2591
|
+
"backupArchives": {
|
|
2592
|
+
"items": {
|
|
2593
|
+
"$ref": "#/components/schemas/Unbrand_VmDashboardBackupArchive_"
|
|
2594
|
+
},
|
|
2595
|
+
"type": "array"
|
|
2596
|
+
},
|
|
2597
|
+
"replication": {
|
|
2598
|
+
"$ref": "#/components/schemas/Unbrand_VmDashboard-at-backupsInfo_91_replication_93__"
|
|
2599
|
+
},
|
|
2600
|
+
"vmProtected": {
|
|
2601
|
+
"type": "boolean"
|
|
2602
|
+
},
|
|
2603
|
+
"lastRuns": {
|
|
2604
|
+
"items": {
|
|
2605
|
+
"$ref": "#/components/schemas/Unbrand_VmDashboardRun_"
|
|
2606
|
+
},
|
|
2607
|
+
"type": "array"
|
|
2608
|
+
}
|
|
2609
|
+
},
|
|
2610
|
+
"required": [
|
|
2611
|
+
"backupArchives",
|
|
2612
|
+
"vmProtected",
|
|
2613
|
+
"lastRuns"
|
|
2614
|
+
],
|
|
2615
|
+
"type": "object"
|
|
2616
|
+
},
|
|
2617
|
+
"alarms": {
|
|
2618
|
+
"items": {
|
|
2619
|
+
"type": "string"
|
|
2620
|
+
},
|
|
2621
|
+
"type": "array"
|
|
2622
|
+
},
|
|
2623
|
+
"quickInfo": {
|
|
2624
|
+
"allOf": [
|
|
2625
|
+
{
|
|
2626
|
+
"$ref": "#/components/schemas/Omit_Unbrand_VmDashboard-at-quickInfo_.creation_"
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"properties": {
|
|
2630
|
+
"creation": {
|
|
2631
|
+
"$ref": "#/components/schemas/Unbrand_VmDashboard-at-quickInfo_91_creation_93__"
|
|
2632
|
+
}
|
|
2633
|
+
},
|
|
2634
|
+
"required": [
|
|
2635
|
+
"creation"
|
|
2636
|
+
],
|
|
2637
|
+
"type": "object"
|
|
2638
|
+
}
|
|
2639
|
+
]
|
|
2640
|
+
}
|
|
2641
|
+
},
|
|
2642
|
+
"required": [
|
|
2643
|
+
"backupsInfo",
|
|
2644
|
+
"alarms",
|
|
2645
|
+
"quickInfo"
|
|
2646
|
+
],
|
|
2647
|
+
"type": "object"
|
|
2648
|
+
},
|
|
2354
2649
|
"Partial_Unbrand_XoVmTemplate__": {
|
|
2355
2650
|
"properties": {
|
|
2356
2651
|
"$pool": {
|
|
@@ -5921,6 +6216,9 @@
|
|
|
5921
6216
|
"type": "number",
|
|
5922
6217
|
"format": "double"
|
|
5923
6218
|
},
|
|
6219
|
+
"data": {
|
|
6220
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
6221
|
+
},
|
|
5924
6222
|
"end": {
|
|
5925
6223
|
"type": "number",
|
|
5926
6224
|
"format": "double"
|
|
@@ -6737,6 +7035,22 @@
|
|
|
6737
7035
|
"id": {
|
|
6738
7036
|
"type": "string"
|
|
6739
7037
|
},
|
|
7038
|
+
"infos": {
|
|
7039
|
+
"items": {
|
|
7040
|
+
"properties": {
|
|
7041
|
+
"message": {
|
|
7042
|
+
"type": "string"
|
|
7043
|
+
},
|
|
7044
|
+
"data": {}
|
|
7045
|
+
},
|
|
7046
|
+
"required": [
|
|
7047
|
+
"message",
|
|
7048
|
+
"data"
|
|
7049
|
+
],
|
|
7050
|
+
"type": "object"
|
|
7051
|
+
},
|
|
7052
|
+
"type": "array"
|
|
7053
|
+
},
|
|
6740
7054
|
"message": {
|
|
6741
7055
|
"type": "string",
|
|
6742
7056
|
"enum": [
|
|
@@ -6790,6 +7104,22 @@
|
|
|
6790
7104
|
"id": {
|
|
6791
7105
|
"type": "string"
|
|
6792
7106
|
},
|
|
7107
|
+
"infos": {
|
|
7108
|
+
"items": {
|
|
7109
|
+
"properties": {
|
|
7110
|
+
"message": {
|
|
7111
|
+
"type": "string"
|
|
7112
|
+
},
|
|
7113
|
+
"data": {}
|
|
7114
|
+
},
|
|
7115
|
+
"required": [
|
|
7116
|
+
"message",
|
|
7117
|
+
"data"
|
|
7118
|
+
],
|
|
7119
|
+
"type": "object"
|
|
7120
|
+
},
|
|
7121
|
+
"type": "array"
|
|
7122
|
+
},
|
|
6793
7123
|
"message": {
|
|
6794
7124
|
"type": "string",
|
|
6795
7125
|
"enum": [
|
|
@@ -7000,7 +7330,7 @@
|
|
|
7000
7330
|
"current_operations": {
|
|
7001
7331
|
"$ref": "#/components/schemas/Record_string.POOL_ALLOWED_OPERATIONS_"
|
|
7002
7332
|
},
|
|
7003
|
-
"
|
|
7333
|
+
"default_SR": {
|
|
7004
7334
|
"type": "string"
|
|
7005
7335
|
},
|
|
7006
7336
|
"HA_enabled": {
|
|
@@ -7137,7 +7467,7 @@
|
|
|
7137
7467
|
"current_operations": {
|
|
7138
7468
|
"$ref": "#/components/schemas/Record_string.POOL_ALLOWED_OPERATIONS_"
|
|
7139
7469
|
},
|
|
7140
|
-
"
|
|
7470
|
+
"default_SR": {
|
|
7141
7471
|
"type": "string"
|
|
7142
7472
|
},
|
|
7143
7473
|
"HA_enabled": {
|
|
@@ -7222,6 +7552,32 @@
|
|
|
7222
7552
|
],
|
|
7223
7553
|
"type": "object"
|
|
7224
7554
|
},
|
|
7555
|
+
"CreateActionReturnType__id-Unbrand_XoNetwork__91_id_93___": {
|
|
7556
|
+
"anyOf": [
|
|
7557
|
+
{
|
|
7558
|
+
"properties": {
|
|
7559
|
+
"taskId": {
|
|
7560
|
+
"type": "string"
|
|
7561
|
+
}
|
|
7562
|
+
},
|
|
7563
|
+
"required": [
|
|
7564
|
+
"taskId"
|
|
7565
|
+
],
|
|
7566
|
+
"type": "object"
|
|
7567
|
+
},
|
|
7568
|
+
{
|
|
7569
|
+
"properties": {
|
|
7570
|
+
"id": {
|
|
7571
|
+
"type": "string"
|
|
7572
|
+
}
|
|
7573
|
+
},
|
|
7574
|
+
"required": [
|
|
7575
|
+
"id"
|
|
7576
|
+
],
|
|
7577
|
+
"type": "object"
|
|
7578
|
+
}
|
|
7579
|
+
]
|
|
7580
|
+
},
|
|
7225
7581
|
"CreateNetworkBody": {
|
|
7226
7582
|
"properties": {
|
|
7227
7583
|
"name": {
|
|
@@ -7253,6 +7609,32 @@
|
|
|
7253
7609
|
"type": "object",
|
|
7254
7610
|
"additionalProperties": false
|
|
7255
7611
|
},
|
|
7612
|
+
"CreateActionReturnType__id-Unbrand_XoVm__91_id_93___": {
|
|
7613
|
+
"anyOf": [
|
|
7614
|
+
{
|
|
7615
|
+
"properties": {
|
|
7616
|
+
"taskId": {
|
|
7617
|
+
"type": "string"
|
|
7618
|
+
}
|
|
7619
|
+
},
|
|
7620
|
+
"required": [
|
|
7621
|
+
"taskId"
|
|
7622
|
+
],
|
|
7623
|
+
"type": "object"
|
|
7624
|
+
},
|
|
7625
|
+
{
|
|
7626
|
+
"properties": {
|
|
7627
|
+
"id": {
|
|
7628
|
+
"type": "string"
|
|
7629
|
+
}
|
|
7630
|
+
},
|
|
7631
|
+
"required": [
|
|
7632
|
+
"id"
|
|
7633
|
+
],
|
|
7634
|
+
"type": "object"
|
|
7635
|
+
}
|
|
7636
|
+
]
|
|
7637
|
+
},
|
|
7256
7638
|
"Unbrand_CreateVmBody_": {
|
|
7257
7639
|
"properties": {
|
|
7258
7640
|
"memory": {
|
|
@@ -8117,7 +8499,7 @@
|
|
|
8117
8499
|
"bondMaster": {
|
|
8118
8500
|
"type": "string"
|
|
8119
8501
|
},
|
|
8120
|
-
"
|
|
8502
|
+
"bondSlaves": {
|
|
8121
8503
|
"items": {
|
|
8122
8504
|
"$ref": "#/components/schemas/Branded_PIF_"
|
|
8123
8505
|
},
|
|
@@ -8266,7 +8648,7 @@
|
|
|
8266
8648
|
"bondMaster": {
|
|
8267
8649
|
"type": "string"
|
|
8268
8650
|
},
|
|
8269
|
-
"
|
|
8651
|
+
"bondSlaves": {
|
|
8270
8652
|
"items": {
|
|
8271
8653
|
"$ref": "#/components/schemas/Branded_PIF_"
|
|
8272
8654
|
},
|
|
@@ -9520,7 +9902,7 @@
|
|
|
9520
9902
|
"format": "double",
|
|
9521
9903
|
"nullable": true
|
|
9522
9904
|
},
|
|
9523
|
-
"
|
|
9905
|
+
"bios_strings": {
|
|
9524
9906
|
"$ref": "#/components/schemas/Record_string.string_"
|
|
9525
9907
|
},
|
|
9526
9908
|
"build": {
|
|
@@ -9868,7 +10250,7 @@
|
|
|
9868
10250
|
"format": "double",
|
|
9869
10251
|
"nullable": true
|
|
9870
10252
|
},
|
|
9871
|
-
"
|
|
10253
|
+
"bios_strings": {
|
|
9872
10254
|
"$ref": "#/components/schemas/Record_string.string_"
|
|
9873
10255
|
},
|
|
9874
10256
|
"build": {
|
|
@@ -10123,7 +10505,7 @@
|
|
|
10123
10505
|
"CPUs",
|
|
10124
10506
|
"address",
|
|
10125
10507
|
"agentStartTime",
|
|
10126
|
-
"
|
|
10508
|
+
"bios_strings",
|
|
10127
10509
|
"build",
|
|
10128
10510
|
"chipset_info",
|
|
10129
10511
|
"cpus",
|
|
@@ -10194,6 +10576,35 @@
|
|
|
10194
10576
|
"type": "object",
|
|
10195
10577
|
"additionalProperties": false
|
|
10196
10578
|
},
|
|
10579
|
+
"XapiXoListenerType": {
|
|
10580
|
+
"type": "string",
|
|
10581
|
+
"enum": [
|
|
10582
|
+
"pool",
|
|
10583
|
+
"VBD",
|
|
10584
|
+
"host",
|
|
10585
|
+
"VIF",
|
|
10586
|
+
"VTPM",
|
|
10587
|
+
"VM",
|
|
10588
|
+
"VM-snapshot",
|
|
10589
|
+
"SR",
|
|
10590
|
+
"message",
|
|
10591
|
+
"vgpu",
|
|
10592
|
+
"gpuGroup",
|
|
10593
|
+
"network",
|
|
10594
|
+
"PBD",
|
|
10595
|
+
"PCI",
|
|
10596
|
+
"PGPU",
|
|
10597
|
+
"PIF",
|
|
10598
|
+
"VDI",
|
|
10599
|
+
"VDI-snapshot",
|
|
10600
|
+
"VDI-unmanaged",
|
|
10601
|
+
"vgpuType",
|
|
10602
|
+
"VM-controller",
|
|
10603
|
+
"VM-template",
|
|
10604
|
+
"SM",
|
|
10605
|
+
"alarm"
|
|
10606
|
+
]
|
|
10607
|
+
},
|
|
10197
10608
|
"Partial_Unbrand_XoBackupRepository__": {
|
|
10198
10609
|
"properties": {
|
|
10199
10610
|
"benchmarks": {
|
|
@@ -10345,12 +10756,54 @@
|
|
|
10345
10756
|
"id": {
|
|
10346
10757
|
"type": "string"
|
|
10347
10758
|
},
|
|
10759
|
+
"infos": {
|
|
10760
|
+
"items": {
|
|
10761
|
+
"properties": {
|
|
10762
|
+
"message": {
|
|
10763
|
+
"type": "string"
|
|
10764
|
+
},
|
|
10765
|
+
"data": {}
|
|
10766
|
+
},
|
|
10767
|
+
"required": [
|
|
10768
|
+
"message",
|
|
10769
|
+
"data"
|
|
10770
|
+
],
|
|
10771
|
+
"type": "object"
|
|
10772
|
+
},
|
|
10773
|
+
"type": "array"
|
|
10774
|
+
},
|
|
10775
|
+
"status": {
|
|
10776
|
+
"type": "string",
|
|
10777
|
+
"enum": [
|
|
10778
|
+
"failure",
|
|
10779
|
+
"interrupted",
|
|
10780
|
+
"pending",
|
|
10781
|
+
"success",
|
|
10782
|
+
"skipped"
|
|
10783
|
+
]
|
|
10784
|
+
},
|
|
10348
10785
|
"message": {
|
|
10349
10786
|
"type": "string",
|
|
10350
10787
|
"enum": [
|
|
10351
|
-
"backup"
|
|
10352
|
-
"metadata"
|
|
10788
|
+
"backup"
|
|
10353
10789
|
]
|
|
10790
|
+
},
|
|
10791
|
+
"start": {
|
|
10792
|
+
"type": "number",
|
|
10793
|
+
"format": "double"
|
|
10794
|
+
},
|
|
10795
|
+
"end": {
|
|
10796
|
+
"type": "number",
|
|
10797
|
+
"format": "double"
|
|
10798
|
+
},
|
|
10799
|
+
"tasks": {
|
|
10800
|
+
"items": {
|
|
10801
|
+
"$ref": "#/components/schemas/XoTask"
|
|
10802
|
+
},
|
|
10803
|
+
"type": "array"
|
|
10804
|
+
},
|
|
10805
|
+
"jobId": {
|
|
10806
|
+
"type": "string"
|
|
10354
10807
|
}
|
|
10355
10808
|
},
|
|
10356
10809
|
"additionalProperties": {},
|
|
@@ -10399,18 +10852,63 @@
|
|
|
10399
10852
|
"id": {
|
|
10400
10853
|
"type": "string"
|
|
10401
10854
|
},
|
|
10402
|
-
"
|
|
10855
|
+
"infos": {
|
|
10856
|
+
"items": {
|
|
10857
|
+
"properties": {
|
|
10858
|
+
"message": {
|
|
10859
|
+
"type": "string"
|
|
10860
|
+
},
|
|
10861
|
+
"data": {}
|
|
10862
|
+
},
|
|
10863
|
+
"required": [
|
|
10864
|
+
"message",
|
|
10865
|
+
"data"
|
|
10866
|
+
],
|
|
10867
|
+
"type": "object"
|
|
10868
|
+
},
|
|
10869
|
+
"type": "array"
|
|
10870
|
+
},
|
|
10871
|
+
"status": {
|
|
10403
10872
|
"type": "string",
|
|
10404
10873
|
"enum": [
|
|
10405
|
-
"
|
|
10406
|
-
"
|
|
10874
|
+
"failure",
|
|
10875
|
+
"interrupted",
|
|
10876
|
+
"pending",
|
|
10877
|
+
"success",
|
|
10878
|
+
"skipped"
|
|
10407
10879
|
]
|
|
10880
|
+
},
|
|
10881
|
+
"message": {
|
|
10882
|
+
"type": "string",
|
|
10883
|
+
"enum": [
|
|
10884
|
+
"backup"
|
|
10885
|
+
],
|
|
10886
|
+
"nullable": false
|
|
10887
|
+
},
|
|
10888
|
+
"start": {
|
|
10889
|
+
"type": "number",
|
|
10890
|
+
"format": "double"
|
|
10891
|
+
},
|
|
10892
|
+
"end": {
|
|
10893
|
+
"type": "number",
|
|
10894
|
+
"format": "double"
|
|
10895
|
+
},
|
|
10896
|
+
"tasks": {
|
|
10897
|
+
"items": {
|
|
10898
|
+
"$ref": "#/components/schemas/XoTask"
|
|
10899
|
+
},
|
|
10900
|
+
"type": "array"
|
|
10901
|
+
},
|
|
10902
|
+
"jobId": {
|
|
10903
|
+
"type": "string"
|
|
10408
10904
|
}
|
|
10409
10905
|
},
|
|
10410
10906
|
"additionalProperties": {},
|
|
10411
10907
|
"required": [
|
|
10412
10908
|
"id",
|
|
10413
|
-
"
|
|
10909
|
+
"status",
|
|
10910
|
+
"message",
|
|
10911
|
+
"start"
|
|
10414
10912
|
],
|
|
10415
10913
|
"type": "object"
|
|
10416
10914
|
},
|
|
@@ -10457,6 +10955,9 @@
|
|
|
10457
10955
|
"type": "number",
|
|
10458
10956
|
"format": "double"
|
|
10459
10957
|
},
|
|
10958
|
+
"mergeBackupsSynchronously": {
|
|
10959
|
+
"type": "boolean"
|
|
10960
|
+
},
|
|
10460
10961
|
"nRetriesVmBackupFailures": {
|
|
10461
10962
|
"type": "number",
|
|
10462
10963
|
"format": "double"
|
|
@@ -10466,7 +10967,6 @@
|
|
|
10466
10967
|
"format": "double"
|
|
10467
10968
|
}
|
|
10468
10969
|
},
|
|
10469
|
-
"additionalProperties": {},
|
|
10470
10970
|
"required": [
|
|
10471
10971
|
"reportWhen"
|
|
10472
10972
|
],
|
|
@@ -10585,6 +11085,9 @@
|
|
|
10585
11085
|
"name": {
|
|
10586
11086
|
"type": "string"
|
|
10587
11087
|
},
|
|
11088
|
+
"proxy": {
|
|
11089
|
+
"type": "string"
|
|
11090
|
+
},
|
|
10588
11091
|
"mode": {
|
|
10589
11092
|
"type": "string",
|
|
10590
11093
|
"enum": [
|
|
@@ -10781,6 +11284,9 @@
|
|
|
10781
11284
|
"name": {
|
|
10782
11285
|
"type": "string"
|
|
10783
11286
|
},
|
|
11287
|
+
"proxy": {
|
|
11288
|
+
"type": "string"
|
|
11289
|
+
},
|
|
10784
11290
|
"mode": {
|
|
10785
11291
|
"type": "string",
|
|
10786
11292
|
"enum": [
|
|
@@ -10924,6 +11430,9 @@
|
|
|
10924
11430
|
"name": {
|
|
10925
11431
|
"type": "string"
|
|
10926
11432
|
},
|
|
11433
|
+
"proxy": {
|
|
11434
|
+
"type": "string"
|
|
11435
|
+
},
|
|
10927
11436
|
"mode": {
|
|
10928
11437
|
"type": "string",
|
|
10929
11438
|
"enum": [
|
|
@@ -11052,6 +11561,12 @@
|
|
|
11052
11561
|
},
|
|
11053
11562
|
"vm": {
|
|
11054
11563
|
"properties": {
|
|
11564
|
+
"tags": {
|
|
11565
|
+
"items": {
|
|
11566
|
+
"type": "string"
|
|
11567
|
+
},
|
|
11568
|
+
"type": "array"
|
|
11569
|
+
},
|
|
11055
11570
|
"name_label": {
|
|
11056
11571
|
"type": "string"
|
|
11057
11572
|
},
|
|
@@ -11063,6 +11578,7 @@
|
|
|
11063
11578
|
}
|
|
11064
11579
|
},
|
|
11065
11580
|
"required": [
|
|
11581
|
+
"tags",
|
|
11066
11582
|
"name_label",
|
|
11067
11583
|
"name_description",
|
|
11068
11584
|
"uuid"
|
|
@@ -11184,6 +11700,12 @@
|
|
|
11184
11700
|
},
|
|
11185
11701
|
"vm": {
|
|
11186
11702
|
"properties": {
|
|
11703
|
+
"tags": {
|
|
11704
|
+
"items": {
|
|
11705
|
+
"type": "string"
|
|
11706
|
+
},
|
|
11707
|
+
"type": "array"
|
|
11708
|
+
},
|
|
11187
11709
|
"name_label": {
|
|
11188
11710
|
"type": "string"
|
|
11189
11711
|
},
|
|
@@ -11195,6 +11717,7 @@
|
|
|
11195
11717
|
}
|
|
11196
11718
|
},
|
|
11197
11719
|
"required": [
|
|
11720
|
+
"tags",
|
|
11198
11721
|
"name_label",
|
|
11199
11722
|
"name_description",
|
|
11200
11723
|
"uuid"
|
|
@@ -11481,7 +12004,7 @@
|
|
|
11481
12004
|
},
|
|
11482
12005
|
"info": {
|
|
11483
12006
|
"title": "@xen-orchestra/rest-api",
|
|
11484
|
-
"version": "0.
|
|
12007
|
+
"version": "0.21.1",
|
|
11485
12008
|
"description": "REST API to manage your XOA",
|
|
11486
12009
|
"license": {
|
|
11487
12010
|
"name": "AGPL-3.0-or-later"
|
|
@@ -13423,18 +13946,15 @@
|
|
|
13423
13946
|
"202": {
|
|
13424
13947
|
"description": "Action executed asynchronously",
|
|
13425
13948
|
"content": {
|
|
13426
|
-
"
|
|
13949
|
+
"application/json": {
|
|
13427
13950
|
"schema": {
|
|
13428
|
-
"
|
|
13429
|
-
{
|
|
13430
|
-
"type": "string"
|
|
13431
|
-
},
|
|
13432
|
-
{}
|
|
13433
|
-
]
|
|
13951
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
13434
13952
|
},
|
|
13435
13953
|
"examples": {
|
|
13436
13954
|
"Example 1": {
|
|
13437
|
-
"value":
|
|
13955
|
+
"value": {
|
|
13956
|
+
"taskId": "0m7kl0j9l"
|
|
13957
|
+
}
|
|
13438
13958
|
}
|
|
13439
13959
|
}
|
|
13440
13960
|
}
|
|
@@ -13511,18 +14031,15 @@
|
|
|
13511
14031
|
"202": {
|
|
13512
14032
|
"description": "Action executed asynchronously",
|
|
13513
14033
|
"content": {
|
|
13514
|
-
"
|
|
14034
|
+
"application/json": {
|
|
13515
14035
|
"schema": {
|
|
13516
|
-
"
|
|
13517
|
-
{
|
|
13518
|
-
"type": "string"
|
|
13519
|
-
},
|
|
13520
|
-
{}
|
|
13521
|
-
]
|
|
14036
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
13522
14037
|
},
|
|
13523
14038
|
"examples": {
|
|
13524
14039
|
"Example 1": {
|
|
13525
|
-
"value":
|
|
14040
|
+
"value": {
|
|
14041
|
+
"taskId": "0m7kl0j9l"
|
|
14042
|
+
}
|
|
13526
14043
|
}
|
|
13527
14044
|
}
|
|
13528
14045
|
}
|
|
@@ -13583,16 +14100,13 @@
|
|
|
13583
14100
|
"content": {
|
|
13584
14101
|
"application/json": {
|
|
13585
14102
|
"schema": {
|
|
13586
|
-
"
|
|
13587
|
-
{},
|
|
13588
|
-
{
|
|
13589
|
-
"type": "string"
|
|
13590
|
-
}
|
|
13591
|
-
]
|
|
14103
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
13592
14104
|
},
|
|
13593
14105
|
"examples": {
|
|
13594
14106
|
"Example 1": {
|
|
13595
|
-
"value":
|
|
14107
|
+
"value": {
|
|
14108
|
+
"taskId": "0m7kl0j9l"
|
|
14109
|
+
}
|
|
13596
14110
|
}
|
|
13597
14111
|
}
|
|
13598
14112
|
}
|
|
@@ -13642,18 +14156,15 @@
|
|
|
13642
14156
|
"202": {
|
|
13643
14157
|
"description": "Action executed asynchronously",
|
|
13644
14158
|
"content": {
|
|
13645
|
-
"
|
|
14159
|
+
"application/json": {
|
|
13646
14160
|
"schema": {
|
|
13647
|
-
"
|
|
13648
|
-
{
|
|
13649
|
-
"type": "string"
|
|
13650
|
-
},
|
|
13651
|
-
{}
|
|
13652
|
-
]
|
|
14161
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
13653
14162
|
},
|
|
13654
14163
|
"examples": {
|
|
13655
14164
|
"Example 1": {
|
|
13656
|
-
"value":
|
|
14165
|
+
"value": {
|
|
14166
|
+
"taskId": "0m7kl0j9l"
|
|
14167
|
+
}
|
|
13657
14168
|
}
|
|
13658
14169
|
}
|
|
13659
14170
|
}
|
|
@@ -13711,18 +14222,15 @@
|
|
|
13711
14222
|
"202": {
|
|
13712
14223
|
"description": "Action executed asynchronously",
|
|
13713
14224
|
"content": {
|
|
13714
|
-
"
|
|
14225
|
+
"application/json": {
|
|
13715
14226
|
"schema": {
|
|
13716
|
-
"
|
|
13717
|
-
{},
|
|
13718
|
-
{
|
|
13719
|
-
"type": "string"
|
|
13720
|
-
}
|
|
13721
|
-
]
|
|
14227
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
13722
14228
|
},
|
|
13723
14229
|
"examples": {
|
|
13724
14230
|
"Example 1": {
|
|
13725
|
-
"value":
|
|
14231
|
+
"value": {
|
|
14232
|
+
"taskId": "0m7kl0j9l"
|
|
14233
|
+
}
|
|
13726
14234
|
}
|
|
13727
14235
|
}
|
|
13728
14236
|
}
|
|
@@ -13780,18 +14288,15 @@
|
|
|
13780
14288
|
"202": {
|
|
13781
14289
|
"description": "Action executed asynchronously",
|
|
13782
14290
|
"content": {
|
|
13783
|
-
"
|
|
14291
|
+
"application/json": {
|
|
13784
14292
|
"schema": {
|
|
13785
|
-
"
|
|
13786
|
-
{},
|
|
13787
|
-
{
|
|
13788
|
-
"type": "string"
|
|
13789
|
-
}
|
|
13790
|
-
]
|
|
14293
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
13791
14294
|
},
|
|
13792
14295
|
"examples": {
|
|
13793
14296
|
"Example 1": {
|
|
13794
|
-
"value":
|
|
14297
|
+
"value": {
|
|
14298
|
+
"taskId": "0m7kl0j9l"
|
|
14299
|
+
}
|
|
13795
14300
|
}
|
|
13796
14301
|
}
|
|
13797
14302
|
}
|
|
@@ -13850,18 +14355,15 @@
|
|
|
13850
14355
|
"202": {
|
|
13851
14356
|
"description": "Action executed asynchronously",
|
|
13852
14357
|
"content": {
|
|
13853
|
-
"
|
|
14358
|
+
"application/json": {
|
|
13854
14359
|
"schema": {
|
|
13855
|
-
"
|
|
13856
|
-
{},
|
|
13857
|
-
{
|
|
13858
|
-
"type": "string"
|
|
13859
|
-
}
|
|
13860
|
-
]
|
|
14360
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
13861
14361
|
},
|
|
13862
14362
|
"examples": {
|
|
13863
14363
|
"Example 1": {
|
|
13864
|
-
"value":
|
|
14364
|
+
"value": {
|
|
14365
|
+
"taskId": "0m7kl0j9l"
|
|
14366
|
+
}
|
|
13865
14367
|
}
|
|
13866
14368
|
}
|
|
13867
14369
|
}
|
|
@@ -13920,18 +14422,15 @@
|
|
|
13920
14422
|
"202": {
|
|
13921
14423
|
"description": "Action executed asynchronously",
|
|
13922
14424
|
"content": {
|
|
13923
|
-
"
|
|
14425
|
+
"application/json": {
|
|
13924
14426
|
"schema": {
|
|
13925
|
-
"
|
|
13926
|
-
{},
|
|
13927
|
-
{
|
|
13928
|
-
"type": "string"
|
|
13929
|
-
}
|
|
13930
|
-
]
|
|
14427
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
13931
14428
|
},
|
|
13932
14429
|
"examples": {
|
|
13933
14430
|
"Example 1": {
|
|
13934
|
-
"value":
|
|
14431
|
+
"value": {
|
|
14432
|
+
"taskId": "0m7kl0j9l"
|
|
14433
|
+
}
|
|
13935
14434
|
}
|
|
13936
14435
|
}
|
|
13937
14436
|
}
|
|
@@ -13990,18 +14489,15 @@
|
|
|
13990
14489
|
"202": {
|
|
13991
14490
|
"description": "Action executed asynchronously",
|
|
13992
14491
|
"content": {
|
|
13993
|
-
"
|
|
14492
|
+
"application/json": {
|
|
13994
14493
|
"schema": {
|
|
13995
|
-
"
|
|
13996
|
-
{},
|
|
13997
|
-
{
|
|
13998
|
-
"type": "string"
|
|
13999
|
-
}
|
|
14000
|
-
]
|
|
14494
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
14001
14495
|
},
|
|
14002
14496
|
"examples": {
|
|
14003
14497
|
"Example 1": {
|
|
14004
|
-
"value":
|
|
14498
|
+
"value": {
|
|
14499
|
+
"taskId": "0m7kl0j9l"
|
|
14500
|
+
}
|
|
14005
14501
|
}
|
|
14006
14502
|
}
|
|
14007
14503
|
}
|
|
@@ -14063,28 +14559,15 @@
|
|
|
14063
14559
|
"202": {
|
|
14064
14560
|
"description": "Action executed asynchronously",
|
|
14065
14561
|
"content": {
|
|
14066
|
-
"
|
|
14562
|
+
"application/json": {
|
|
14067
14563
|
"schema": {
|
|
14068
|
-
"
|
|
14069
|
-
{
|
|
14070
|
-
"type": "string"
|
|
14071
|
-
},
|
|
14072
|
-
{
|
|
14073
|
-
"properties": {
|
|
14074
|
-
"id": {
|
|
14075
|
-
"type": "string"
|
|
14076
|
-
}
|
|
14077
|
-
},
|
|
14078
|
-
"required": [
|
|
14079
|
-
"id"
|
|
14080
|
-
],
|
|
14081
|
-
"type": "object"
|
|
14082
|
-
}
|
|
14083
|
-
]
|
|
14564
|
+
"$ref": "#/components/schemas/CreateActionReturnType__id-XenApiVm-at-uuid__"
|
|
14084
14565
|
},
|
|
14085
14566
|
"examples": {
|
|
14086
14567
|
"Example 1": {
|
|
14087
|
-
"value":
|
|
14568
|
+
"value": {
|
|
14569
|
+
"taskId": "0m7kl0j9l"
|
|
14570
|
+
}
|
|
14088
14571
|
}
|
|
14089
14572
|
}
|
|
14090
14573
|
}
|
|
@@ -14774,6 +15257,134 @@
|
|
|
14774
15257
|
]
|
|
14775
15258
|
}
|
|
14776
15259
|
},
|
|
15260
|
+
"/vms/{id}/dashboard": {
|
|
15261
|
+
"get": {
|
|
15262
|
+
"operationId": "GetVmDashboard",
|
|
15263
|
+
"responses": {
|
|
15264
|
+
"200": {
|
|
15265
|
+
"description": "Ok",
|
|
15266
|
+
"content": {
|
|
15267
|
+
"application/json": {
|
|
15268
|
+
"schema": {
|
|
15269
|
+
"$ref": "#/components/schemas/UnbrandedVmDashboard"
|
|
15270
|
+
},
|
|
15271
|
+
"examples": {
|
|
15272
|
+
"Example 1": {
|
|
15273
|
+
"value": {
|
|
15274
|
+
"quickInfo": {
|
|
15275
|
+
"id": "613f541c-4bed-fc77-7ca8-2db6b68f079c",
|
|
15276
|
+
"power_state": "Halted",
|
|
15277
|
+
"uuid": "613f541c-4bed-fc77-7ca8-2db6b68f079c",
|
|
15278
|
+
"name_description": "some-random-description",
|
|
15279
|
+
"CPUs": {
|
|
15280
|
+
"number": 1
|
|
15281
|
+
},
|
|
15282
|
+
"mainIpAddress": "10.1.6.166",
|
|
15283
|
+
"os_version": {
|
|
15284
|
+
"name": "Alpine Linux v3.21"
|
|
15285
|
+
},
|
|
15286
|
+
"memory": {
|
|
15287
|
+
"size": 536870912
|
|
15288
|
+
},
|
|
15289
|
+
"creation": {
|
|
15290
|
+
"date": "2025-10-23T14:12:05.689Z",
|
|
15291
|
+
"user": "e531b8c9-3876-4ed9-8fd2-0476d5f825c9"
|
|
15292
|
+
},
|
|
15293
|
+
"$pool": "b7569d99-30f8-178a-7d94-801de3e29b5b",
|
|
15294
|
+
"virtualizationMode": "hvm",
|
|
15295
|
+
"tags": [],
|
|
15296
|
+
"host": "b61a5c92-700e-4966-a13b-00633f03eea8",
|
|
15297
|
+
"pvDriversDetected": false,
|
|
15298
|
+
"startTime": null
|
|
15299
|
+
},
|
|
15300
|
+
"alarms": [],
|
|
15301
|
+
"backupsInfo": {
|
|
15302
|
+
"lastRun": [
|
|
15303
|
+
{
|
|
15304
|
+
"backupJobId": "399f368a-a550-4cdf-9c5b-84b68912b748",
|
|
15305
|
+
"timestamp": 1762124447136,
|
|
15306
|
+
"status": "success"
|
|
15307
|
+
},
|
|
15308
|
+
{
|
|
15309
|
+
"backupJobId": "399f368a-a550-4cdf-9c5b-84b68912b748",
|
|
15310
|
+
"timestamp": 1762038039074,
|
|
15311
|
+
"status": "success"
|
|
15312
|
+
},
|
|
15313
|
+
{
|
|
15314
|
+
"backupJobId": "399f368a-a550-4cdf-9c5b-84b68912b748",
|
|
15315
|
+
"timestamp": 1761951645862,
|
|
15316
|
+
"status": "success"
|
|
15317
|
+
}
|
|
15318
|
+
],
|
|
15319
|
+
"vmProtected": true,
|
|
15320
|
+
"replication": {
|
|
15321
|
+
"id": "8c2b7a25-70b9-4a1c-d6e0-9cce86d3171a",
|
|
15322
|
+
"timestamp": 1761302770000,
|
|
15323
|
+
"sr": "4cb0d74e-a7c1-0b7d-46e3-09382c012abb"
|
|
15324
|
+
},
|
|
15325
|
+
"backupArchives": [
|
|
15326
|
+
{
|
|
15327
|
+
"id": "1af95910-01b4-4e87-9c2f-d895cafe0776//xo-vm-backups/613f541c-4bed-fc77-7ca8-2db6b68f079c/20251102T230026Z.json",
|
|
15328
|
+
"timestamp": 1762124426346,
|
|
15329
|
+
"backupRepository": "1af95910-01b4-4e87-9c2f-d895cafe0776",
|
|
15330
|
+
"size": 0
|
|
15331
|
+
},
|
|
15332
|
+
{
|
|
15333
|
+
"id": "1af95910-01b4-4e87-9c2f-d895cafe0776//xo-vm-backups/613f541c-4bed-fc77-7ca8-2db6b68f079c/20251101T230026Z.json",
|
|
15334
|
+
"timestamp": 1762038026319,
|
|
15335
|
+
"backupRepository": "1af95910-01b4-4e87-9c2f-d895cafe0776",
|
|
15336
|
+
"size": 0
|
|
15337
|
+
},
|
|
15338
|
+
{
|
|
15339
|
+
"id": "1af95910-01b4-4e87-9c2f-d895cafe0776//xo-vm-backups/613f541c-4bed-fc77-7ca8-2db6b68f079c/20251031T230025Z.json",
|
|
15340
|
+
"timestamp": 1761951625256,
|
|
15341
|
+
"backupRepository": "1af95910-01b4-4e87-9c2f-d895cafe0776",
|
|
15342
|
+
"size": 0
|
|
15343
|
+
}
|
|
15344
|
+
]
|
|
15345
|
+
}
|
|
15346
|
+
}
|
|
15347
|
+
}
|
|
15348
|
+
}
|
|
15349
|
+
}
|
|
15350
|
+
}
|
|
15351
|
+
},
|
|
15352
|
+
"400": {
|
|
15353
|
+
"description": "Bad request"
|
|
15354
|
+
},
|
|
15355
|
+
"401": {
|
|
15356
|
+
"description": "Authentication required"
|
|
15357
|
+
}
|
|
15358
|
+
},
|
|
15359
|
+
"tags": [
|
|
15360
|
+
"vms"
|
|
15361
|
+
],
|
|
15362
|
+
"security": [
|
|
15363
|
+
{
|
|
15364
|
+
"*": []
|
|
15365
|
+
}
|
|
15366
|
+
],
|
|
15367
|
+
"parameters": [
|
|
15368
|
+
{
|
|
15369
|
+
"in": "path",
|
|
15370
|
+
"name": "id",
|
|
15371
|
+
"required": true,
|
|
15372
|
+
"schema": {
|
|
15373
|
+
"type": "string"
|
|
15374
|
+
},
|
|
15375
|
+
"example": "613f541c-4bed-fc77-7ca8-2db6b68f079c"
|
|
15376
|
+
},
|
|
15377
|
+
{
|
|
15378
|
+
"in": "query",
|
|
15379
|
+
"name": "ndjson",
|
|
15380
|
+
"required": false,
|
|
15381
|
+
"schema": {
|
|
15382
|
+
"type": "boolean"
|
|
15383
|
+
}
|
|
15384
|
+
}
|
|
15385
|
+
]
|
|
15386
|
+
}
|
|
15387
|
+
},
|
|
14777
15388
|
"/vm-templates": {
|
|
14778
15389
|
"get": {
|
|
14779
15390
|
"operationId": "GetVmTemplates",
|
|
@@ -20742,18 +21353,15 @@
|
|
|
20742
21353
|
"202": {
|
|
20743
21354
|
"description": "Action executed asynchronously",
|
|
20744
21355
|
"content": {
|
|
20745
|
-
"
|
|
21356
|
+
"application/json": {
|
|
20746
21357
|
"schema": {
|
|
20747
|
-
"
|
|
20748
|
-
{
|
|
20749
|
-
"type": "string"
|
|
20750
|
-
},
|
|
20751
|
-
{}
|
|
20752
|
-
]
|
|
21358
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
20753
21359
|
},
|
|
20754
21360
|
"examples": {
|
|
20755
21361
|
"Example 1": {
|
|
20756
|
-
"value":
|
|
21362
|
+
"value": {
|
|
21363
|
+
"taskId": "0m7kl0j9l"
|
|
21364
|
+
}
|
|
20757
21365
|
}
|
|
20758
21366
|
}
|
|
20759
21367
|
}
|
|
@@ -21869,18 +22477,15 @@
|
|
|
21869
22477
|
"202": {
|
|
21870
22478
|
"description": "Action executed asynchronously",
|
|
21871
22479
|
"content": {
|
|
21872
|
-
"
|
|
22480
|
+
"application/json": {
|
|
21873
22481
|
"schema": {
|
|
21874
|
-
"
|
|
21875
|
-
{},
|
|
21876
|
-
{
|
|
21877
|
-
"type": "string"
|
|
21878
|
-
}
|
|
21879
|
-
]
|
|
22482
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
21880
22483
|
},
|
|
21881
22484
|
"examples": {
|
|
21882
22485
|
"Example 1": {
|
|
21883
|
-
"value":
|
|
22486
|
+
"value": {
|
|
22487
|
+
"taskId": "0m7kl0j9l"
|
|
22488
|
+
}
|
|
21884
22489
|
}
|
|
21885
22490
|
}
|
|
21886
22491
|
}
|
|
@@ -21938,18 +22543,15 @@
|
|
|
21938
22543
|
"202": {
|
|
21939
22544
|
"description": "Action executed asynchronously",
|
|
21940
22545
|
"content": {
|
|
21941
|
-
"
|
|
22546
|
+
"application/json": {
|
|
21942
22547
|
"schema": {
|
|
21943
|
-
"
|
|
21944
|
-
{},
|
|
21945
|
-
{
|
|
21946
|
-
"type": "string"
|
|
21947
|
-
}
|
|
21948
|
-
]
|
|
22548
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
21949
22549
|
},
|
|
21950
22550
|
"examples": {
|
|
21951
22551
|
"Example 1": {
|
|
21952
|
-
"value":
|
|
22552
|
+
"value": {
|
|
22553
|
+
"taskId": "0m7kl0j9l"
|
|
22554
|
+
}
|
|
21953
22555
|
}
|
|
21954
22556
|
}
|
|
21955
22557
|
}
|
|
@@ -22278,18 +22880,15 @@
|
|
|
22278
22880
|
"202": {
|
|
22279
22881
|
"description": "Action executed asynchronously",
|
|
22280
22882
|
"content": {
|
|
22281
|
-
"
|
|
22883
|
+
"application/json": {
|
|
22282
22884
|
"schema": {
|
|
22283
|
-
"
|
|
22284
|
-
{
|
|
22285
|
-
"type": "string"
|
|
22286
|
-
},
|
|
22287
|
-
{}
|
|
22288
|
-
]
|
|
22885
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
22289
22886
|
},
|
|
22290
22887
|
"examples": {
|
|
22291
22888
|
"Example 1": {
|
|
22292
|
-
"value":
|
|
22889
|
+
"value": {
|
|
22890
|
+
"taskId": "0m7kl0j9l"
|
|
22891
|
+
}
|
|
22293
22892
|
}
|
|
22294
22893
|
}
|
|
22295
22894
|
}
|
|
@@ -23051,26 +23650,13 @@
|
|
|
23051
23650
|
"content": {
|
|
23052
23651
|
"application/json": {
|
|
23053
23652
|
"schema": {
|
|
23054
|
-
"
|
|
23055
|
-
{
|
|
23056
|
-
"type": "string"
|
|
23057
|
-
},
|
|
23058
|
-
{
|
|
23059
|
-
"properties": {
|
|
23060
|
-
"id": {
|
|
23061
|
-
"type": "string"
|
|
23062
|
-
}
|
|
23063
|
-
},
|
|
23064
|
-
"required": [
|
|
23065
|
-
"id"
|
|
23066
|
-
],
|
|
23067
|
-
"type": "object"
|
|
23068
|
-
}
|
|
23069
|
-
]
|
|
23653
|
+
"$ref": "#/components/schemas/CreateActionReturnType__id-Unbrand_XoNetwork__91_id_93___"
|
|
23070
23654
|
},
|
|
23071
23655
|
"examples": {
|
|
23072
23656
|
"Example 1": {
|
|
23073
|
-
"value":
|
|
23657
|
+
"value": {
|
|
23658
|
+
"taskId": "0m7kl0j9l"
|
|
23659
|
+
}
|
|
23074
23660
|
},
|
|
23075
23661
|
"Example 2": {
|
|
23076
23662
|
"value": {
|
|
@@ -23150,18 +23736,15 @@
|
|
|
23150
23736
|
"202": {
|
|
23151
23737
|
"description": "Action executed asynchronously",
|
|
23152
23738
|
"content": {
|
|
23153
|
-
"
|
|
23739
|
+
"application/json": {
|
|
23154
23740
|
"schema": {
|
|
23155
|
-
"
|
|
23156
|
-
{},
|
|
23157
|
-
{
|
|
23158
|
-
"type": "string"
|
|
23159
|
-
}
|
|
23160
|
-
]
|
|
23741
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
23161
23742
|
},
|
|
23162
23743
|
"examples": {
|
|
23163
23744
|
"Example 1": {
|
|
23164
|
-
"value":
|
|
23745
|
+
"value": {
|
|
23746
|
+
"taskId": "0m7kl0j9l"
|
|
23747
|
+
}
|
|
23165
23748
|
}
|
|
23166
23749
|
}
|
|
23167
23750
|
}
|
|
@@ -23219,18 +23802,15 @@
|
|
|
23219
23802
|
"202": {
|
|
23220
23803
|
"description": "Action executed asynchronously",
|
|
23221
23804
|
"content": {
|
|
23222
|
-
"
|
|
23805
|
+
"application/json": {
|
|
23223
23806
|
"schema": {
|
|
23224
|
-
"
|
|
23225
|
-
{},
|
|
23226
|
-
{
|
|
23227
|
-
"type": "string"
|
|
23228
|
-
}
|
|
23229
|
-
]
|
|
23807
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
23230
23808
|
},
|
|
23231
23809
|
"examples": {
|
|
23232
23810
|
"Example 1": {
|
|
23233
|
-
"value":
|
|
23811
|
+
"value": {
|
|
23812
|
+
"taskId": "0m7kl0j9l"
|
|
23813
|
+
}
|
|
23234
23814
|
}
|
|
23235
23815
|
}
|
|
23236
23816
|
}
|
|
@@ -23288,18 +23868,15 @@
|
|
|
23288
23868
|
"202": {
|
|
23289
23869
|
"description": "Action executed asynchronously",
|
|
23290
23870
|
"content": {
|
|
23291
|
-
"
|
|
23871
|
+
"application/json": {
|
|
23292
23872
|
"schema": {
|
|
23293
|
-
"
|
|
23294
|
-
{},
|
|
23295
|
-
{
|
|
23296
|
-
"type": "string"
|
|
23297
|
-
}
|
|
23298
|
-
]
|
|
23873
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
23299
23874
|
},
|
|
23300
23875
|
"examples": {
|
|
23301
23876
|
"Example 1": {
|
|
23302
|
-
"value":
|
|
23877
|
+
"value": {
|
|
23878
|
+
"taskId": "0m7kl0j9l"
|
|
23879
|
+
}
|
|
23303
23880
|
}
|
|
23304
23881
|
}
|
|
23305
23882
|
}
|
|
@@ -23359,26 +23936,13 @@
|
|
|
23359
23936
|
"content": {
|
|
23360
23937
|
"application/json": {
|
|
23361
23938
|
"schema": {
|
|
23362
|
-
"
|
|
23363
|
-
{
|
|
23364
|
-
"type": "string"
|
|
23365
|
-
},
|
|
23366
|
-
{
|
|
23367
|
-
"properties": {
|
|
23368
|
-
"id": {
|
|
23369
|
-
"type": "string"
|
|
23370
|
-
}
|
|
23371
|
-
},
|
|
23372
|
-
"required": [
|
|
23373
|
-
"id"
|
|
23374
|
-
],
|
|
23375
|
-
"type": "object"
|
|
23376
|
-
}
|
|
23377
|
-
]
|
|
23939
|
+
"$ref": "#/components/schemas/CreateActionReturnType__id-Unbrand_XoVm__91_id_93___"
|
|
23378
23940
|
},
|
|
23379
23941
|
"examples": {
|
|
23380
23942
|
"Example 1": {
|
|
23381
|
-
"value":
|
|
23943
|
+
"value": {
|
|
23944
|
+
"taskId": "0m7kl0j9l"
|
|
23945
|
+
}
|
|
23382
23946
|
},
|
|
23383
23947
|
"Example 2": {
|
|
23384
23948
|
"value": {
|
|
@@ -35894,6 +36458,181 @@
|
|
|
35894
36458
|
]
|
|
35895
36459
|
}
|
|
35896
36460
|
},
|
|
36461
|
+
"/events": {
|
|
36462
|
+
"get": {
|
|
36463
|
+
"operationId": "OpenSseConnection",
|
|
36464
|
+
"responses": {
|
|
36465
|
+
"200": {
|
|
36466
|
+
"description": "OK"
|
|
36467
|
+
},
|
|
36468
|
+
"400": {
|
|
36469
|
+
"description": "Bad request"
|
|
36470
|
+
},
|
|
36471
|
+
"401": {
|
|
36472
|
+
"description": "Authentication required"
|
|
36473
|
+
}
|
|
36474
|
+
},
|
|
36475
|
+
"description": "Opens an SSE (Server-Sent Events) connection.\n\nBy default, there are no active subscriptions in the stream.\nTo add subscriptions, use the following endpoint:\n\n POST /rest/v0/events/:id/subscriptions\n\n\nEvents you will receive:\n- **init**: The first event you will receive.\n Data: the connection ID.\n\n- **ping**: A simple event used to keep the connection alive between the server and the client.\n Data: the event timestamp.\n\n- **add**: Triggered when an object has been added.\n Data: the added object.\n\n- **update**: Triggered when an object has been updated.\n Data: the updated object.\n\n- **remove**: Triggered when an object has been removed.\n Data: the removed object.",
|
|
36476
|
+
"tags": [
|
|
36477
|
+
"events"
|
|
36478
|
+
],
|
|
36479
|
+
"security": [
|
|
36480
|
+
{
|
|
36481
|
+
"*": []
|
|
36482
|
+
}
|
|
36483
|
+
],
|
|
36484
|
+
"parameters": []
|
|
36485
|
+
}
|
|
36486
|
+
},
|
|
36487
|
+
"/events/{id}/subscriptions": {
|
|
36488
|
+
"post": {
|
|
36489
|
+
"operationId": "AddSubscription",
|
|
36490
|
+
"responses": {
|
|
36491
|
+
"201": {
|
|
36492
|
+
"description": "Resource created",
|
|
36493
|
+
"content": {
|
|
36494
|
+
"application/json": {
|
|
36495
|
+
"schema": {
|
|
36496
|
+
"properties": {
|
|
36497
|
+
"id": {
|
|
36498
|
+
"type": "string"
|
|
36499
|
+
}
|
|
36500
|
+
},
|
|
36501
|
+
"required": [
|
|
36502
|
+
"id"
|
|
36503
|
+
],
|
|
36504
|
+
"type": "object"
|
|
36505
|
+
},
|
|
36506
|
+
"examples": {
|
|
36507
|
+
"Example 1": {
|
|
36508
|
+
"value": {
|
|
36509
|
+
"id": "VM"
|
|
36510
|
+
}
|
|
36511
|
+
}
|
|
36512
|
+
}
|
|
36513
|
+
}
|
|
36514
|
+
}
|
|
36515
|
+
},
|
|
36516
|
+
"400": {
|
|
36517
|
+
"description": "Bad request"
|
|
36518
|
+
},
|
|
36519
|
+
"401": {
|
|
36520
|
+
"description": "Authentication required"
|
|
36521
|
+
},
|
|
36522
|
+
"404": {
|
|
36523
|
+
"description": "Resource not found"
|
|
36524
|
+
}
|
|
36525
|
+
},
|
|
36526
|
+
"description": "Add a subscription",
|
|
36527
|
+
"tags": [
|
|
36528
|
+
"events"
|
|
36529
|
+
],
|
|
36530
|
+
"security": [
|
|
36531
|
+
{
|
|
36532
|
+
"*": []
|
|
36533
|
+
}
|
|
36534
|
+
],
|
|
36535
|
+
"parameters": [
|
|
36536
|
+
{
|
|
36537
|
+
"in": "path",
|
|
36538
|
+
"name": "id",
|
|
36539
|
+
"required": true,
|
|
36540
|
+
"schema": {
|
|
36541
|
+
"type": "string"
|
|
36542
|
+
},
|
|
36543
|
+
"example": "0d8b28c6-e9bf-4c9d-a382-3c9e0d7cfbff"
|
|
36544
|
+
}
|
|
36545
|
+
],
|
|
36546
|
+
"requestBody": {
|
|
36547
|
+
"required": true,
|
|
36548
|
+
"content": {
|
|
36549
|
+
"application/json": {
|
|
36550
|
+
"schema": {
|
|
36551
|
+
"properties": {
|
|
36552
|
+
"fields": {
|
|
36553
|
+
"anyOf": [
|
|
36554
|
+
{
|
|
36555
|
+
"items": {
|
|
36556
|
+
"type": "string"
|
|
36557
|
+
},
|
|
36558
|
+
"type": "array"
|
|
36559
|
+
},
|
|
36560
|
+
{
|
|
36561
|
+
"type": "string",
|
|
36562
|
+
"enum": [
|
|
36563
|
+
"*"
|
|
36564
|
+
]
|
|
36565
|
+
}
|
|
36566
|
+
]
|
|
36567
|
+
},
|
|
36568
|
+
"collection": {
|
|
36569
|
+
"$ref": "#/components/schemas/XapiXoListenerType"
|
|
36570
|
+
}
|
|
36571
|
+
},
|
|
36572
|
+
"required": [
|
|
36573
|
+
"collection"
|
|
36574
|
+
],
|
|
36575
|
+
"type": "object"
|
|
36576
|
+
},
|
|
36577
|
+
"example": {
|
|
36578
|
+
"collection": "VM",
|
|
36579
|
+
"fields": [
|
|
36580
|
+
"id",
|
|
36581
|
+
"name_label"
|
|
36582
|
+
]
|
|
36583
|
+
}
|
|
36584
|
+
}
|
|
36585
|
+
}
|
|
36586
|
+
}
|
|
36587
|
+
}
|
|
36588
|
+
},
|
|
36589
|
+
"/events/{id}/subscriptions/{subscriptionId}": {
|
|
36590
|
+
"delete": {
|
|
36591
|
+
"operationId": "RemoveSubscription",
|
|
36592
|
+
"responses": {
|
|
36593
|
+
"204": {
|
|
36594
|
+
"description": "No content"
|
|
36595
|
+
},
|
|
36596
|
+
"400": {
|
|
36597
|
+
"description": "Bad request"
|
|
36598
|
+
},
|
|
36599
|
+
"401": {
|
|
36600
|
+
"description": "Authentication required"
|
|
36601
|
+
},
|
|
36602
|
+
"404": {
|
|
36603
|
+
"description": "Resource not found"
|
|
36604
|
+
}
|
|
36605
|
+
},
|
|
36606
|
+
"description": "Remove a subscription",
|
|
36607
|
+
"tags": [
|
|
36608
|
+
"events"
|
|
36609
|
+
],
|
|
36610
|
+
"security": [
|
|
36611
|
+
{
|
|
36612
|
+
"*": []
|
|
36613
|
+
}
|
|
36614
|
+
],
|
|
36615
|
+
"parameters": [
|
|
36616
|
+
{
|
|
36617
|
+
"in": "path",
|
|
36618
|
+
"name": "id",
|
|
36619
|
+
"required": true,
|
|
36620
|
+
"schema": {
|
|
36621
|
+
"type": "string"
|
|
36622
|
+
},
|
|
36623
|
+
"example": "0d8b28c6-e9bf-4c9d-a382-3c9e0d7cfbff"
|
|
36624
|
+
},
|
|
36625
|
+
{
|
|
36626
|
+
"in": "path",
|
|
36627
|
+
"name": "subscriptionId",
|
|
36628
|
+
"required": true,
|
|
36629
|
+
"schema": {
|
|
36630
|
+
"$ref": "#/components/schemas/XapiXoListenerType"
|
|
36631
|
+
}
|
|
36632
|
+
}
|
|
36633
|
+
]
|
|
36634
|
+
}
|
|
36635
|
+
},
|
|
35897
36636
|
"/backup-repositories": {
|
|
35898
36637
|
"get": {
|
|
35899
36638
|
"operationId": "GetRepositories",
|
|
@@ -37332,8 +38071,11 @@
|
|
|
37332
38071
|
"timestamp": 1758202182963,
|
|
37333
38072
|
"vm": {
|
|
37334
38073
|
"uuid": "7cf6150f-a978-09e6-6b41-0d1d41967bdc",
|
|
37335
|
-
"name_description": "
|
|
37336
|
-
"name_label": "mra_vtp_test"
|
|
38074
|
+
"name_description": "test vm used for demo",
|
|
38075
|
+
"name_label": "mra_vtp_test",
|
|
38076
|
+
"tags": [
|
|
38077
|
+
"tag_1"
|
|
38078
|
+
]
|
|
37337
38079
|
},
|
|
37338
38080
|
"differencingVhds": 1,
|
|
37339
38081
|
"dynamicVhds": 0,
|