You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "This enables deleting a specific snapshot.",
988
+
"tags": [
989
+
"snapshots"
990
+
],
991
+
"summary": "Delete a snapshot",
992
+
"operationId": "deleteSnapshot",
993
+
"parameters": [
994
+
{
995
+
"type": "string",
996
+
"description": "Repository UUID.",
997
+
"name": "repo_uuid",
998
+
"in": "path",
999
+
"required": true
1000
+
},
1001
+
{
1002
+
"type": "string",
1003
+
"description": "Snapshot UUID.",
1004
+
"name": "snapshot_uuid",
1005
+
"in": "path",
1006
+
"required": true
1007
+
}
1008
+
],
1009
+
"responses": {
1010
+
"204": {
1011
+
"description": "Snapshot was successfully deleted"
1012
+
},
1013
+
"400": {
1014
+
"description": "Bad Request",
1015
+
"schema": {
1016
+
"$ref": "#/definitions/errors.ErrorResponse"
1017
+
}
1018
+
},
1019
+
"401": {
1020
+
"description": "Unauthorized",
1021
+
"schema": {
1022
+
"$ref": "#/definitions/errors.ErrorResponse"
1023
+
}
1024
+
},
1025
+
"404": {
1026
+
"description": "Not Found",
1027
+
"schema": {
1028
+
"$ref": "#/definitions/errors.ErrorResponse"
1029
+
}
1030
+
},
1031
+
"500": {
1032
+
"description": "Internal Server Error",
1033
+
"schema": {
1034
+
"$ref": "#/definitions/errors.ErrorResponse"
1035
+
}
1036
+
}
1037
+
}
1038
+
}
1039
+
},
928
1040
"/repositories/{uuid}": {
929
1041
"get": {
930
1042
"description": "Get repository information.",
@@ -2735,6 +2847,12 @@ const docTemplate = `{
2735
2847
"name": "repository_uuids",
2736
2848
"in": "query"
2737
2849
},
2850
+
{
2851
+
"type": "string",
2852
+
"description": "Filter templates by associated snapshots using a comma separated list of snapshot UUIDs",
2853
+
"name": "snapshot_uuids",
2854
+
"in": "query"
2855
+
},
2738
2856
{
2739
2857
"type": "string",
2740
2858
"description": "Sort the response data based on specific parameters. Sort criteria can include `+"`"+`name`+"`"+`, `+"`"+`arch`+"`"+`, and `+"`"+`version`+"`"+`.",
0 commit comments