Skip to content

Commit fcc8154

Browse files
OAS Update
1 parent 29a5397 commit fcc8154

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

services/server-update/v1/server-update.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,14 @@
127127
},
128128
"type": "object"
129129
},
130+
"GetUpdateServiceResponse": {
131+
"properties": {
132+
"enabled": {
133+
"type": "boolean"
134+
}
135+
},
136+
"type": "object"
137+
},
130138
"GetUpdatesListResponse": {
131139
"properties": {
132140
"items": {
@@ -426,6 +434,51 @@
426434
},
427435
"summary": "disable update service"
428436
},
437+
"get": {
438+
"operationId": "GetServiceResource",
439+
"parameters": [
440+
{
441+
"description": "project id",
442+
"in": "path",
443+
"name": "projectId",
444+
"required": true,
445+
"schema": {
446+
"type": "string"
447+
}
448+
},
449+
{
450+
"description": "server id",
451+
"in": "path",
452+
"name": "serverId",
453+
"required": true,
454+
"schema": {
455+
"type": "string"
456+
}
457+
}
458+
],
459+
"responses": {
460+
"200": {
461+
"content": {
462+
"application/json": {
463+
"schema": {
464+
"$ref": "#/components/schemas/GetUpdateServiceResponse"
465+
}
466+
}
467+
},
468+
"description": "Update service details"
469+
},
470+
"400": {
471+
"description": "Bad Request"
472+
},
473+
"401": {
474+
"description": "Unauthorized"
475+
},
476+
"404": {
477+
"description": "Server, or service, Not Found"
478+
}
479+
},
480+
"summary": "get update service details"
481+
},
429482
"post": {
430483
"operationId": "EnableServiceResource",
431484
"parameters": [

0 commit comments

Comments
 (0)