File tree Expand file tree Collapse file tree 1 file changed +78
-0
lines changed
services/server-update/v1 Expand file tree Collapse file tree 1 file changed +78
-0
lines changed Original file line number Diff line number Diff line change 105
105
},
106
106
"type" : " object"
107
107
},
108
+ "GetUpdatePoliciesResponse" : {
109
+ "properties" : {
110
+ "items" : {
111
+ "items" : {
112
+ "$ref" : " #/components/schemas/UpdatePolicy"
113
+ },
114
+ "type" : " array"
115
+ }
116
+ },
117
+ "type" : " object"
118
+ },
108
119
"GetUpdateSchedulesResponse" : {
109
120
"properties" : {
110
121
"items" : {
172
183
],
173
184
"type" : " object"
174
185
},
186
+ "UpdatePolicy" : {
187
+ "properties" : {
188
+ "default" : {
189
+ "example" : true ,
190
+ "type" : " boolean"
191
+ },
192
+ "description" : {
193
+ "example" : " Default Daily Backup Schedule" ,
194
+ "type" : " string"
195
+ },
196
+ "enabled" : {
197
+ "example" : true ,
198
+ "type" : " boolean"
199
+ },
200
+ "id" : {
201
+ "example" : " a01c372f-5c15-418d-b2fb-b1f93ea2ffc8" ,
202
+ "type" : " string"
203
+ },
204
+ "maintenanceWindow" : {
205
+ "example" : 3 ,
206
+ "type" : " integer"
207
+ },
208
+ "name" : {
209
+ "example" : " Default Backup Schedule" ,
210
+ "type" : " string"
211
+ },
212
+ "rrule" : {
213
+ "example" : " DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1" ,
214
+ "type" : " string"
215
+ }
216
+ }
217
+ },
175
218
"UpdateSchedule" : {
176
219
"properties" : {
177
220
"enabled" : {
950
993
},
951
994
"summary" : " get update"
952
995
}
996
+ },
997
+ "/v1/projects/{projectId}/update-policies" : {
998
+ "get" : {
999
+ "operationId" : " ListUpdatePolicies" ,
1000
+ "parameters" : [
1001
+ {
1002
+ "description" : " project id" ,
1003
+ "in" : " path" ,
1004
+ "name" : " projectId" ,
1005
+ "required" : true ,
1006
+ "schema" : {
1007
+ "type" : " string"
1008
+ }
1009
+ }
1010
+ ],
1011
+ "responses" : {
1012
+ "200" : {
1013
+ "content" : {
1014
+ "application/json" : {
1015
+ "schema" : {
1016
+ "$ref" : " #/components/schemas/GetUpdatePoliciesResponse"
1017
+ }
1018
+ }
1019
+ },
1020
+ "description" : " update policy list response"
1021
+ },
1022
+ "400" : {
1023
+ "description" : " Bad Request"
1024
+ },
1025
+ "404" : {
1026
+ "description" : " Project Not Found"
1027
+ }
1028
+ },
1029
+ "summary" : " get list of update policies"
1030
+ }
953
1031
}
954
1032
},
955
1033
"security" : [
You can’t perform that action at this time.
0 commit comments