Skip to content

Commit 29a5397

Browse files
OAS Update
1 parent 9187df7 commit 29a5397

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

services/server-backup/v1/server-backup.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,14 @@
298298
},
299299
"type": "object"
300300
},
301+
"GetBackupServiceResponse": {
302+
"properties": {
303+
"enabled": {
304+
"type": "boolean"
305+
}
306+
},
307+
"type": "object"
308+
},
301309
"GetBackupsListResponse": {
302310
"properties": {
303311
"items": {
@@ -1184,6 +1192,48 @@
11841192
},
11851193
"summary": "disable backup service"
11861194
},
1195+
"get": {
1196+
"operationId": "GetServiceResource",
1197+
"parameters": [
1198+
{
1199+
"description": "project id",
1200+
"in": "path",
1201+
"name": "projectId",
1202+
"required": true,
1203+
"schema": {
1204+
"type": "string"
1205+
}
1206+
},
1207+
{
1208+
"description": "server id",
1209+
"in": "path",
1210+
"name": "serverId",
1211+
"required": true,
1212+
"schema": {
1213+
"type": "string"
1214+
}
1215+
}
1216+
],
1217+
"responses": {
1218+
"200": {
1219+
"content": {
1220+
"application/json": {
1221+
"schema": {
1222+
"$ref": "#/components/schemas/GetBackupServiceResponse"
1223+
}
1224+
}
1225+
},
1226+
"description": "Backup service details"
1227+
},
1228+
"400": {
1229+
"description": "Bad Request"
1230+
},
1231+
"404": {
1232+
"description": "Server, or service, Not Found"
1233+
}
1234+
},
1235+
"summary": "get backup service details"
1236+
},
11871237
"post": {
11881238
"operationId": "EnableServiceResource",
11891239
"parameters": [

0 commit comments

Comments
 (0)