File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1263,6 +1263,22 @@ paths:
12631263 application/json :
12641264 schema :
12651265 $ref : " #/components/schemas/HealthStatus"
1266+ /operations/schema_changes :
1267+ get :
1268+ tags :
1269+ - operations
1270+ summary : Get the status of in-progress schema change operations
1271+ description : Returns the status of any ongoing schema change operations. If no schema changes are in progress, returns an empty response.
1272+ operationId : getSchemaChanges
1273+ responses :
1274+ ' 200 ' :
1275+ description : List of schema changes in progress
1276+ content :
1277+ application/json :
1278+ schema :
1279+ type : array
1280+ items :
1281+ $ref : " #/components/schemas/SchemaChangeStatus"
12661282 /operations/snapshot :
12671283 post :
12681284 tags :
@@ -2353,6 +2369,18 @@ components:
23532369 properties :
23542370 ok :
23552371 type : boolean
2372+ SchemaChangeStatus :
2373+ type : object
2374+ properties :
2375+ collection :
2376+ type : string
2377+ description : Name of the collection being modified
2378+ validated_docs :
2379+ type : integer
2380+ description : Number of documents that have been validated
2381+ altered_docs :
2382+ type : integer
2383+ description : Number of documents that have been altered
23562384 SuccessStatus :
23572385 type : object
23582386 required :
You can’t perform that action at this time.
0 commit comments