1
1
openapi : 3.1.0
2
2
info :
3
3
title : OpenSearch Snapshot Management API
4
- description : API for automating snapshot management tasks.
4
+ description : The Snapshot Management API automates snapshot management tasks.
5
5
version : 1.0.0
6
6
7
7
paths :
@@ -128,120 +128,122 @@ components:
128
128
129
129
responses :
130
130
sm.get_policies@200 :
131
- description : Successfully retrieved the list of snapshot management policies.
131
+ description : The API successfully retrieved the list of snapshot management policies.
132
132
content :
133
133
application/json :
134
134
schema :
135
135
$ref : ' ../schemas/sm._common.yaml#/components/schemas/GetPoliciesResponse'
136
136
137
137
sm.create_policy@201 :
138
- description : Successfully created the snapshot management policy.
138
+ description : The API successfully created the snapshot management policy.
139
139
content :
140
140
application/json :
141
141
schema :
142
142
$ref : ' ../schemas/sm._common.yaml#/components/schemas/PolicyResponse'
143
143
sm.create_policy@400 :
144
- description : Bad request when creating the snapshot management policy.
144
+ description : The API encountered a bad request when creating the snapshot management policy.
145
145
content :
146
146
application/json :
147
147
schema :
148
148
$ref : ' ../schemas/sm._common.yaml#/components/schemas/BadRequestResponse'
149
149
150
150
sm.get_policy@200 :
151
- description : Successfully retrieved the snapshot management policy.
151
+ description : The API successfully retrieved the snapshot management policy.
152
152
content :
153
153
application/json :
154
154
schema :
155
155
$ref : ' ../schemas/sm._common.yaml#/components/schemas/PolicyResponse'
156
156
sm.get_policy@404 :
157
- description : Snapshot management policy not found .
157
+ description : The API could not find the snapshot management policy .
158
158
content :
159
159
application/json :
160
160
schema :
161
161
$ref : ' ../schemas/sm._common.yaml#/components/schemas/NotFoundResponse'
162
162
163
163
sm.update_policy@200 :
164
- description : Successfully updated the snapshot management policy.
164
+ description : The API successfully updated the snapshot management policy.
165
165
content :
166
166
application/json :
167
167
schema :
168
168
$ref : ' ../schemas/sm._common.yaml#/components/schemas/PolicyResponse'
169
169
sm.update_policy@404 :
170
- description : Snapshot management policy not found .
170
+ description : The API could not find the snapshot management policy .
171
171
content :
172
172
application/json :
173
173
schema :
174
174
$ref : ' ../schemas/sm._common.yaml#/components/schemas/NotFoundResponse'
175
175
176
176
sm.delete_policy@200 :
177
- description : Successfully deleted the snapshot management policy.
177
+ description : The API successfully deleted the snapshot management policy.
178
178
content :
179
179
application/json :
180
180
schema :
181
181
$ref : ' ../schemas/sm._common.yaml#/components/schemas/DeletePolicyResponse'
182
182
sm.delete_policy@404 :
183
- description : Snapshot management policy not found .
183
+ description : The API could not find the snapshot management policy .
184
184
content :
185
185
application/json :
186
186
schema :
187
187
$ref : ' ../schemas/sm._common.yaml#/components/schemas/NotFoundResponse'
188
188
189
189
sm.explain_policy@200 :
190
- description : Successfully explained the state of the snapshot management policy.
190
+ description : The API successfully explained the state of the snapshot management policy.
191
191
content :
192
192
application/json :
193
193
schema :
194
194
$ref : ' ../schemas/sm._common.yaml#/components/schemas/PolicyExplanation'
195
195
196
196
sm.start_policy@200 :
197
- description : Successfully started the snapshot management policy.
197
+ description : The API successfully started the snapshot management policy.
198
198
content :
199
199
application/json :
200
200
schema :
201
201
type : object
202
202
properties :
203
203
acknowledged :
204
204
type : boolean
205
+ description : Whether the API acknowledged the start operation.
205
206
206
207
sm.stop_policy@200 :
207
- description : Successfully stopped the snapshot management policy.
208
+ description : The API successfully stopped the snapshot management policy.
208
209
content :
209
210
application/json :
210
211
schema :
211
212
type : object
212
213
properties :
213
214
acknowledged :
214
215
type : boolean
216
+ description : Whether the API acknowledged the stop operation.
215
217
216
218
parameters :
217
219
sm.create_policy::path.policy_name :
218
220
name : policy_name
219
221
in : path
220
- description : The snapshot management policy name .
222
+ description : The name of the snapshot management policy to create .
221
223
required : true
222
224
schema :
223
225
type : string
224
226
225
227
sm.get_policy::path.policy_name :
226
228
name : policy_name
227
229
in : path
228
- description : The snapshot management name .
230
+ description : The name of the snapshot management policy to retrieve .
229
231
required : true
230
232
schema :
231
233
type : string
232
234
233
235
sm.get_policies::query.from :
234
236
name : from
235
237
in : query
236
- description : The index to retrieve snapshot management policies from .
238
+ description : The starting index from which to retrieve snapshot management policies.
237
239
schema :
238
240
default : 0
239
241
type : integer
240
242
241
243
sm.update_policy::path.policy_name :
242
244
name : policy_name
243
245
in : path
244
- description : The snapshot management policy name .
246
+ description : The name of the snapshot management policy to update .
245
247
required : true
246
248
schema :
247
249
type : string
@@ -265,31 +267,31 @@ components:
265
267
sm.delete_policy::path.policy_name :
266
268
name : policy_name
267
269
in : path
268
- description : The snapshot management policy name .
270
+ description : The name of the snapshot management policy to delete .
269
271
required : true
270
272
schema :
271
273
type : string
272
274
273
275
sm.explain_policy::path.policy_name :
274
276
name : policy_name
275
277
in : path
276
- description : The snapshot management policy name .
278
+ description : The name of the snapshot management policy to explain .
277
279
required : true
278
280
schema :
279
281
type : string
280
282
281
283
sm.start_policy::path.policy_name :
282
284
name : policy_name
283
285
in : path
284
- description : The snapshot management policy name .
286
+ description : The name of the snapshot management policy to start .
285
287
required : true
286
288
schema :
287
289
type : string
288
290
289
291
sm.stop_policy::path.policy_name :
290
292
name : policy_name
291
293
in : path
292
- description : The snapshot management policy name .
294
+ description : The name of the snapshot management policy to stop .
293
295
required : true
294
296
schema :
295
297
type : string
@@ -304,22 +306,22 @@ components:
304
306
sm.get_policies::query.queryString :
305
307
name : queryString
306
308
in : query
307
- description : Filters the returned snapshot management policies based on query string .
309
+ description : The query string to filter the returned snapshot management policies.
308
310
schema :
309
311
type : string
310
312
311
313
sm.get_policies::query.sortField :
312
314
name : sortField
313
315
in : query
314
- description : The name of the query field to sort on .
316
+ description : The name of the field to sort the snapshot management policies by .
315
317
schema :
316
318
type : string
317
319
318
320
sm.get_policies::query.sortOrder :
319
321
name : sortOrder
320
322
in : query
321
- description : The order to sort the snapshot management policy result .
323
+ description : The order to sort the snapshot management policies .
322
324
schema :
323
325
type : string
324
326
enum : [asc, desc]
325
- default : asc
327
+ default : asc
0 commit comments