Repository navigation
Expand file tree
/
Copy pathplatform.json
More file actions
12344 lines (12344 loc) Β· 422 KB
/
Copy pathplatform.json
File metadata and controls
12344 lines (12344 loc) Β· 422 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"openapi": "3.0.0",
"info": {
"title": "Unikraft Cloud Platform API",
"version": "v1.0.0",
"description": "This specification describes the Unikraft Cloud Platform API, which provides mechanisms to interact with Unikraft Cloud metros. It allows you to create, manage, and interact with instances running on the platform."
},
"tags": [
{
"name": "audit",
"x-displayName": "Audit",
"description": "Audit events attribute state changes to the operation that caused them.\nEvents are emitted to the controller's configured log sinks and are not\nstored or queryable here; this API subscribes to them live."
},
{
"name": "node",
"x-displayName": "Node"
},
{
"name": "users",
"x-displayName": "Users",
"description": "Unikraft Cloud user accounts are used to manage resources, grant permissions\nand control usage quotas when interacting with the Unikraft Cloud API."
},
{
"name": "images",
"x-displayName": "Images",
"description": "An image is a collection of objects representing a VM which can be deployed\non Unikraft Cloud. Its format is based on the OCI Image Specification.\nWithin the context of Unikraft Cloud, these images also include a kernel\ncomponent."
},
{
"name": "certificates",
"x-displayName": "Certificates",
"description": "Unikraft Cloud allows you to host your deployment at subdomains of the\nintended metro and/or use custom domains (e.g., example.com). Typically,\nUnikraft Cloud will automatically generate a TLS certificate for you based\non Let's Encryptβ’ via a DNS-01 challenge.\n\nFor subdomains, your deployment will use the wildcard TLS certificate of the\nrespective Unikraft Cloud metro.\n\nFor wildcard domains you have to supply your own certificate. If you want to\nuse Let's Encryptβ’ you can use their DNS-based challenge and upload the\nresulting certificate to Unikraft Cloud."
},
{
"name": "autoscale",
"x-displayName": "Autoscale",
"description": "Services allow you to load balance traffic for an Internet-facing service\nlike a webserver by creating multiple instances within the same service.\nWhile you can add or remove instances to a service to scale your service,\ndoing this manually makes it hard to react to changes in service load. On\nthe other hand, always keeping a large number of instances running to cope\nwith bursts is not an option either. This is where autoscale comes into play.\nWith autoscale enabled, Unikraft Cloud takes the heavy lifting of constantly\nmonitoring the load of your service and automatically creates or deletes\ninstances as needed."
},
{
"name": "volumes",
"x-displayName": "Volumes",
"description": "Initrd (initial ramdisk) and actual volumes serve different purposes.\nAn initrd is a file system loaded into memory during the boot process of the\ninstance. Any new files created as well as any modifications made to files\nin the initrd are lost when the instance is stopped. In contrast, a volume\nis a persistent storage device that keeps data across restarts. In addition,\nit can be initialized with a set of files with one instance and then be\ndetached and attached to a another one."
},
{
"name": "services",
"x-displayName": "Service Groups",
"description": "A service group on Unikraft Cloud is used to describe how your application\nexposes its functionality to the outside world. Once defined, assigning an\ninstance to the service will make it accessible from the Internet.\n\nAn application, running as an instance, may expose one or more ports, e.g. it\nlistens on port 80 because your application exposes a HTTP web service. This,\nalong with a set of additional metadata defines how the \"service\" is\nconfigured and accessed. For example, a service may be configured to use\nTLS, or be bound to a specific domain name.\n\nWhen an instance is assigned to a service group, it immediately becomes\naccessible over the Internet on the exposed public port, using the set DNS\nname, and is routed to the set destination port.\n\nNote: If you do not specify a DNS name when you create a service and you\nindicate that the application exposes some ports, Unikraft Cloud will\ngenerates a random DNS name for you. Unikraft Cloud also supports custom\ndomains like www.example.com and wildcard domains like *.example.com."
},
{
"name": "instances",
"x-displayName": "Instances",
"description": "An instance is a micro vm running an application."
}
],
"paths": {
"/v1/audit": {
"get": {
"operationId": "SubscribeAuditEvents",
"summary": "Subscribe to Audit Events",
"description": "Subscribe to audit events as they are raised.",
"parameters": [
{
"name": "events",
"in": "query",
"required": false,
"description": "Deliver only these event types.",
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Audit.AuditEventType"
}
},
"explode": false
},
{
"name": "uuid",
"in": "query",
"required": false,
"description": "Deliver only events about these object UUIDs.",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": false
},
{
"name": "tags",
"in": "query",
"required": false,
"description": "Deliver only events about objects carrying all of these tags.",
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": false
}
],
"responses": {
"default": {
"description": "The audit event stream.\n\nThe default response rather than 200 because that is what marks an operation\nas streaming: a status-coded response describes one body, this describes every\nmessage on an open connection.",
"content": {
"text/event-stream": {
"schema": {
"$ref": "#/components/schemas/Audit.AuditEvent"
}
}
}
}
},
"tags": [
"audit"
]
}
},
"/v1/certificates": {
"post": {
"operationId": "CreateCertificate",
"summary": "Create Certificate",
"description": "Upload a new certificate.",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Certificates.CreateCertificateResponse"
}
}
}
}
},
"tags": [
"certificates"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Certificates.CreateCertificateRequest"
}
}
}
}
},
"get": {
"operationId": "GetCertificates",
"summary": "List Certificates",
"description": "List certificates.",
"parameters": [
{
"$ref": "#/components/parameters/Common.NameOrUUIDQueryParams.uuid"
},
{
"$ref": "#/components/parameters/Common.NameOrUUIDQueryParams.name"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.details"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.count"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.from"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.order"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.sortby"
}
],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Certificates.GetCertificatesResponse"
}
}
}
}
},
"tags": [
"certificates"
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Common.NameOrUUID"
}
}
}
}
}
},
"delete": {
"operationId": "DeleteCertificates",
"summary": "Delete Certificates",
"description": "Delete certificates by ID(s).",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Certificates.DeleteCertificatesResponse"
}
}
}
}
},
"tags": [
"certificates"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Common.NameOrUUID"
}
}
}
}
}
},
"put": {
"operationId": "UpdateCertificates",
"summary": "Update Certificates",
"description": "Update certificates.",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Certificates.UpdateCertificatesResponse"
}
}
}
}
},
"tags": [
"certificates"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Certificates.UpdateCertificatesRequestItem"
}
}
}
}
}
}
},
"/v1/certificates/{uuid}": {
"get": {
"operationId": "GetCertificateByUUID",
"summary": "Get Certificate by UUID",
"description": "Get a certificate by UUID.",
"parameters": [
{
"name": "uuid",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
}
],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Certificates.GetCertificatesResponse"
}
}
}
}
},
"tags": [
"certificates"
]
},
"delete": {
"operationId": "DeleteCertificateByUUID",
"summary": "Delete Certificate by UUID",
"description": "Delete a certificate by UUID.",
"parameters": [
{
"name": "uuid",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
}
],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Certificates.DeleteCertificatesResponse"
}
}
}
}
},
"tags": [
"certificates"
]
},
"put": {
"operationId": "UpdateCertificateByUUID",
"summary": "Update Certificate by UUID",
"description": "Update a certificate by UUID.",
"parameters": [
{
"name": "uuid",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
}
],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Certificates.UpdateCertificatesResponse"
}
}
}
}
},
"tags": [
"certificates"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Certificates.UpdateCertificateByUUIDRequestBody"
}
}
}
}
}
},
"/v1/healthz": {
"get": {
"operationId": "Healthz",
"summary": "Health Check",
"description": "Return the status of a full-system health check.",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Node.HealthzResponse"
}
}
}
}
},
"tags": [
"node"
]
}
},
"/v1/image-store": {
"get": {
"operationId": "GetImageStore",
"summary": "Get Images in Store",
"description": "Retrieve all images in store.",
"parameters": [
{
"name": "digest",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"explode": false
},
{
"name": "tag",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"explode": false
}
],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Images.GetImagesResponse"
}
}
}
}
},
"tags": [
"images"
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Images.GetImagesRequestTagOrDigest"
}
}
}
}
}
}
},
"/v1/images": {
"get": {
"operationId": "GetImages",
"summary": "Get Images",
"description": "Retrieve all images.",
"parameters": [
{
"name": "digest",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"explode": false
},
{
"name": "tag",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"explode": false
}
],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Images.GetImagesResponse"
}
}
}
}
},
"tags": [
"images"
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Images.GetImagesRequestTagOrDigest"
}
}
}
}
}
},
"post": {
"operationId": "PinImages",
"summary": "Pin Images",
"description": "Pull and pin one or more images so they stay cached and are never\nevicted, without relying on an on-demand pull to succeed at instance\nstart. If a pull fails, the agent's error is returned in the entry's\n`message` field.",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Images.PinImagesResponse"
}
}
}
}
},
"tags": [
"images"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Images.PinImageRequestItem"
}
}
}
}
}
},
"delete": {
"operationId": "UnpinImages",
"summary": "Unpin Images",
"description": "Unpin one or more images by UUID, making them eligible for normal\ncache eviction again. This does not delete the image.",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Images.UnpinImagesResponse"
}
}
}
}
},
"tags": [
"images"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Images.UnpinImageRequestItem"
}
}
}
}
}
}
},
"/v1/instances": {
"post": {
"operationId": "CreateInstance",
"summary": "Create Instance",
"description": "Create an instance in Unikraft Cloud.",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.CreateInstanceResponse"
}
}
}
}
},
"tags": [
"instances"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.CreateInstanceRequest"
}
}
}
}
},
"get": {
"operationId": "GetInstances",
"summary": "List Instances",
"description": "Get one or many instances with their current status and configuration.",
"parameters": [
{
"$ref": "#/components/parameters/Common.NameOrUUIDQueryParams.uuid"
},
{
"$ref": "#/components/parameters/Common.NameOrUUIDQueryParams.name"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.details"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.count"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.from"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.order"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.sortby"
},
{
"name": "tags",
"in": "query",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": false
}
],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.GetInstancesResponse"
}
}
}
}
},
"tags": [
"instances"
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Common.NameOrUUID"
}
}
}
}
}
},
"delete": {
"operationId": "DeleteInstances",
"summary": "Delete Instances",
"description": "Delete instances by ID(s).",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.DeleteInstancesResponse"
}
}
}
}
},
"tags": [
"instances"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Instances.DeleteInstanceRequestItem"
}
}
}
}
}
},
"patch": {
"operationId": "UpdateInstances",
"summary": "Update Instances",
"description": "Update instances by ID(s).",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.UpdateInstancesResponse"
}
}
}
}
},
"tags": [
"instances"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Instances.UpdateInstancesRequestItem"
}
}
}
}
}
}
},
"/v1/instances/checkpoints": {
"get": {
"operationId": "GetCheckpointInstances",
"summary": "List Checkpoint Instances",
"description": "Get one or more checkpoint instances by their UUID(s) or name(s).",
"parameters": [
{
"$ref": "#/components/parameters/Common.NameOrUUIDQueryParams.uuid"
},
{
"$ref": "#/components/parameters/Common.NameOrUUIDQueryParams.name"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.details"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.count"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.from"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.order"
},
{
"$ref": "#/components/parameters/Common.ListQueryParams.sortby"
},
{
"name": "tags",
"in": "query",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"explode": false
}
],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.GetCheckpointInstancesResponse"
}
}
}
}
},
"tags": [
"instances"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Common.NameOrUUID"
}
}
}
}
}
},
"post": {
"operationId": "CreateCheckpointInstances",
"summary": "Create Checkpoint Instances",
"description": "Create a checkpoint from an existing instance. A checkpoint captures the\nstate of an instance at a specific point in time. Checkpoints can be\ncreated from running, stopped, or standby instances.",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.CreateCheckpointInstancesResponse"
}
}
}
}
},
"tags": [
"instances"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Instances.CreateCheckpointInstancesRequestItem"
}
}
}
}
}
},
"delete": {
"operationId": "DeleteCheckpointInstances",
"summary": "Delete Checkpoint Instances",
"description": "Delete the specified checkpoint instance(s) by ID(s) (name or UUID).\nAfter this call the IDs of the checkpoint instances are no longer valid.",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.DeleteCheckpointInstancesResponse"
}
}
}
}
},
"tags": [
"instances"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Common.NameOrUUID"
}
}
}
}
}
},
"patch": {
"operationId": "UpdateCheckpointInstances",
"summary": "Update Checkpoint Instances",
"description": "Update (modify) one or more checkpoint instances by ID(s) (name or UUID).",
"parameters": [],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.UpdateCheckpointInstancesResponse"
}
}
}
}
},
"tags": [
"instances"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Instances.UpdateCheckpointInstancesRequestItem"
}
}
}
}
}
}
},
"/v1/instances/checkpoints/history": {
"get": {
"operationId": "GetCheckpointHistory",
"summary": "Get Checkpoint History",
"description": "Get the checkpoint history of one or more checkpoint instances.\nReturns the ordered list of checkpoints in each checkpoint's history.",
"parameters": [
{
"$ref": "#/components/parameters/Common.NameOrUUIDQueryParams.uuid"
},
{
"$ref": "#/components/parameters/Common.NameOrUUIDQueryParams.name"
}
],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.GetCheckpointHistoryResponse"
}
}
}
}
},
"tags": [
"instances"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Common.NameOrUUID"
}
}
}
}
}
}
},
"/v1/instances/checkpoints/{uuid}": {
"get": {
"operationId": "GetCheckpointInstanceByUUID",
"summary": "Get Checkpoint Instance by UUID",
"description": "Get a single checkpoint instance by its UUID.",
"parameters": [
{
"name": "uuid",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "details",
"in": "query",
"required": false,
"schema": {
"type": "boolean"
},
"explode": false
}
],
"responses": {
"200": {
"description": "The request has succeeded.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Instances.GetCheckpointInstancesResponse"
}
}
}
}