fmea-api-mcp-server 1.1.63 → 1.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/changelog/1.1.63.json +11 -0
- package/data/changelog/1.1.64.json +10 -0
- package/data/changelog/next.json +785 -18
- package/data/endpoint-lookup.json +1 -1
- package/data/enums.json +4 -3
- package/data/search-index.oxy +1 -1
- package/dist/index.js +1 -1
- package/dist/intents.js +1 -1
- package/dist/services/search/OramaSearchService.js +4 -1
- package/dist/synonyms.js +4 -2
- package/dist/utils/ScoreCalculator.js +7 -2
- package/endpoints/v2/action-status/core.json +59 -0
- package/endpoints/v2/classification-excel/core.json +1 -1
- package/endpoints/v2/classifications/core.json +110 -458
- package/endpoints/v2/condition-library-excel/core.json +220 -2
- package/endpoints/v2/division-excel/core.json +1 -1
- package/endpoints/v2/divisions/core.json +214 -238
- package/endpoints/v2/documents/core.json +203 -9
- package/endpoints/v2/evaluation/core.json +433 -663
- package/endpoints/v2/evaluation-excel/core.json +1 -1
- package/endpoints/v2/failure-mode-library/core.json +189 -0
- package/endpoints/v2/failure-mode-library-excel/core.json +289 -0
- package/endpoints/v2/fourm/core.json +3 -3
- package/endpoints/v2/high-items/core.json +1 -1
- package/endpoints/v2/notice-excel/core.json +1 -1
- package/endpoints/v2/notices/core.json +4 -4
- package/endpoints/v2/process-symbol-excel/core.json +63 -4
- package/endpoints/v2/process-symbols/core.json +2 -2
- package/endpoints/v2/projects/core.json +26 -2
- package/endpoints/v2/scoring/core.json +34 -137
- package/endpoints/v2/synonym-excel/core.json +101 -8
- package/endpoints/v2/synonyms/core.json +58 -176
- package/endpoints/v2/templates/core.json +1 -157
- package/endpoints/v2/user-excel/core.json +1 -1
- package/endpoints/v2/users/core.json +42 -0
- package/endpoints/v2/worksheet-template-excel/core.json +1 -1
- package/endpoints/v2/worksheets/core.json +2 -2
- package/endpoints/v2/worksheets/excel.json +1 -1
- package/package.json +1 -1
- package/endpoints/v2/fm-checkpoint/core.json +0 -363
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
{
|
|
7
7
|
"path": "/api/v2/divisions",
|
|
8
8
|
"method": "GET",
|
|
9
|
-
"summary": "
|
|
9
|
+
"summary": "List division relation tree",
|
|
10
10
|
"operationId": "list_7",
|
|
11
|
-
"description": "Returns
|
|
11
|
+
"description": "Returns the full admin snapshot-source relation tree for divisions. Each root division includes id, name, code, aliases, and relatedDivisions so the toolbar can render the two-level business-division tree without calling helper reads.",
|
|
12
12
|
"tags": [
|
|
13
13
|
"Division"
|
|
14
14
|
],
|
|
@@ -48,7 +48,60 @@
|
|
|
48
48
|
"content": {
|
|
49
49
|
"application/json": {
|
|
50
50
|
"schema": {
|
|
51
|
-
"type": "
|
|
51
|
+
"type": "array",
|
|
52
|
+
"items": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"id": {
|
|
56
|
+
"type": "integer"
|
|
57
|
+
},
|
|
58
|
+
"name": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"aliases": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"code": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"relatedDivisions": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"id": {
|
|
76
|
+
"type": "integer"
|
|
77
|
+
},
|
|
78
|
+
"no": {
|
|
79
|
+
"type": "integer"
|
|
80
|
+
},
|
|
81
|
+
"name": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"code": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"aliases": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"relatedDivisions": {
|
|
94
|
+
"type": "array",
|
|
95
|
+
"items": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"description": "(circular: DivisionDTO)"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
52
105
|
"properties": {
|
|
53
106
|
"items": {
|
|
54
107
|
"type": "array",
|
|
@@ -102,7 +155,7 @@
|
|
|
102
155
|
"method": "GET",
|
|
103
156
|
"summary": "Get division details",
|
|
104
157
|
"operationId": "get_1",
|
|
105
|
-
"description": "
|
|
158
|
+
"description": "Returns a single division in the same snapshot-source shape used by the main relation-tree read, including aliases and relatedDivisions.",
|
|
106
159
|
"tags": [
|
|
107
160
|
"Division"
|
|
108
161
|
],
|
|
@@ -129,12 +182,15 @@
|
|
|
129
182
|
"id": {
|
|
130
183
|
"type": "integer"
|
|
131
184
|
},
|
|
132
|
-
"no": {
|
|
133
|
-
"type": "integer"
|
|
134
|
-
},
|
|
135
185
|
"name": {
|
|
136
186
|
"type": "string"
|
|
137
187
|
},
|
|
188
|
+
"aliases": {
|
|
189
|
+
"type": "array",
|
|
190
|
+
"items": {
|
|
191
|
+
"type": "string"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
138
194
|
"code": {
|
|
139
195
|
"type": "string"
|
|
140
196
|
},
|
|
@@ -142,6 +198,33 @@
|
|
|
142
198
|
"type": "array",
|
|
143
199
|
"items": {
|
|
144
200
|
"type": "object",
|
|
201
|
+
"properties": {
|
|
202
|
+
"id": {
|
|
203
|
+
"type": "integer"
|
|
204
|
+
},
|
|
205
|
+
"no": {
|
|
206
|
+
"type": "integer"
|
|
207
|
+
},
|
|
208
|
+
"name": {
|
|
209
|
+
"type": "string"
|
|
210
|
+
},
|
|
211
|
+
"code": {
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"aliases": {
|
|
215
|
+
"type": "array",
|
|
216
|
+
"items": {
|
|
217
|
+
"type": "string"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"relatedDivisions": {
|
|
221
|
+
"type": "array",
|
|
222
|
+
"items": {
|
|
223
|
+
"type": "object",
|
|
224
|
+
"description": "(circular: DivisionDTO)"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
145
228
|
"description": "(circular: DivisionDTO)"
|
|
146
229
|
}
|
|
147
230
|
}
|
|
@@ -152,43 +235,12 @@
|
|
|
152
235
|
}
|
|
153
236
|
}
|
|
154
237
|
},
|
|
155
|
-
{
|
|
156
|
-
"path": "/api/v2/divisions/{divisionId}",
|
|
157
|
-
"method": "DELETE",
|
|
158
|
-
"operationId": "delete_2",
|
|
159
|
-
"summary": "Delete a division",
|
|
160
|
-
"description": "Deletes a division and its access list entries. Resets user mappings for divisions that referenced the deleted one. Fails if users are assigned to the division.",
|
|
161
|
-
"tags": [
|
|
162
|
-
"Division"
|
|
163
|
-
],
|
|
164
|
-
"parameters": [
|
|
165
|
-
{
|
|
166
|
-
"name": "divisionId",
|
|
167
|
-
"in": "path",
|
|
168
|
-
"description": "Division ID to delete",
|
|
169
|
-
"required": true,
|
|
170
|
-
"schema": {
|
|
171
|
-
"type": "integer",
|
|
172
|
-
"format": "int32"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
],
|
|
176
|
-
"requestBody": null,
|
|
177
|
-
"responses": {
|
|
178
|
-
"default": {
|
|
179
|
-
"description": "default response",
|
|
180
|
-
"content": {
|
|
181
|
-
"application/json": {}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
238
|
{
|
|
187
239
|
"path": "/api/v2/divisions/{divisionId}/authorized-divisions",
|
|
188
240
|
"method": "GET",
|
|
189
241
|
"operationId": "getAuthorizedDivisions",
|
|
190
|
-
"summary": "Get authorized divisions",
|
|
191
|
-
"description": "Returns the list
|
|
242
|
+
"summary": "Get authorized divisions helper",
|
|
243
|
+
"description": "Returns the helper child-division list for a single root division. The main toolbar snapshot source is GET /api/v2/divisions; this helper read exists for focused inspection or auxiliary tooling.",
|
|
192
244
|
"tags": [
|
|
193
245
|
"Division"
|
|
194
246
|
],
|
|
@@ -196,7 +248,7 @@
|
|
|
196
248
|
{
|
|
197
249
|
"name": "divisionId",
|
|
198
250
|
"in": "path",
|
|
199
|
-
"description": "Division ID to query authorized divisions for",
|
|
251
|
+
"description": "Division ID to query authorized child divisions for",
|
|
200
252
|
"required": true,
|
|
201
253
|
"schema": {
|
|
202
254
|
"type": "integer",
|
|
@@ -227,6 +279,12 @@
|
|
|
227
279
|
"code": {
|
|
228
280
|
"type": "string"
|
|
229
281
|
},
|
|
282
|
+
"aliases": {
|
|
283
|
+
"type": "array",
|
|
284
|
+
"items": {
|
|
285
|
+
"type": "string"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
230
288
|
"relatedDivisions": {
|
|
231
289
|
"type": "array",
|
|
232
290
|
"items": {
|
|
@@ -243,139 +301,45 @@
|
|
|
243
301
|
}
|
|
244
302
|
},
|
|
245
303
|
{
|
|
246
|
-
"path": "/api/v2/divisions",
|
|
247
|
-
"method": "
|
|
248
|
-
"operationId": "
|
|
249
|
-
"summary": "
|
|
250
|
-
"description": "
|
|
304
|
+
"path": "/api/v2/divisions/search",
|
|
305
|
+
"method": "GET",
|
|
306
|
+
"operationId": "search_1",
|
|
307
|
+
"summary": "Search divisions helper",
|
|
308
|
+
"description": "Returns helper paged search results for divisions. This helper read is separate from the main admin snapshot-source relation-tree read at GET /api/v2/divisions.",
|
|
251
309
|
"tags": [
|
|
252
310
|
"Division"
|
|
253
311
|
],
|
|
254
|
-
"parameters": [
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
"
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
"name": {
|
|
262
|
-
"type": "string"
|
|
263
|
-
},
|
|
264
|
-
"aliases": {
|
|
265
|
-
"type": "array",
|
|
266
|
-
"items": {
|
|
267
|
-
"type": "string"
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
"code": {
|
|
271
|
-
"type": "string"
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
312
|
+
"parameters": [
|
|
313
|
+
{
|
|
314
|
+
"name": "q",
|
|
315
|
+
"in": "query",
|
|
316
|
+
"description": "Division name keyword for helper search",
|
|
317
|
+
"schema": {
|
|
318
|
+
"type": "string"
|
|
275
319
|
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
"description": "default
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
"properties": {
|
|
286
|
-
"id": {
|
|
287
|
-
"type": "integer"
|
|
288
|
-
},
|
|
289
|
-
"name": {
|
|
290
|
-
"type": "string"
|
|
291
|
-
},
|
|
292
|
-
"aliases": {
|
|
293
|
-
"type": "array",
|
|
294
|
-
"items": {
|
|
295
|
-
"type": "string"
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
"code": {
|
|
299
|
-
"type": "string"
|
|
300
|
-
},
|
|
301
|
-
"relatedDivisions": {
|
|
302
|
-
"type": "array",
|
|
303
|
-
"items": {
|
|
304
|
-
"type": "object",
|
|
305
|
-
"properties": {
|
|
306
|
-
"id": {
|
|
307
|
-
"type": "integer"
|
|
308
|
-
},
|
|
309
|
-
"no": {
|
|
310
|
-
"type": "integer"
|
|
311
|
-
},
|
|
312
|
-
"name": {
|
|
313
|
-
"type": "string"
|
|
314
|
-
},
|
|
315
|
-
"code": {
|
|
316
|
-
"type": "string"
|
|
317
|
-
},
|
|
318
|
-
"relatedDivisions": {
|
|
319
|
-
"type": "array",
|
|
320
|
-
"items": {
|
|
321
|
-
"type": "object",
|
|
322
|
-
"description": "(circular: DivisionDTO)"
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "page",
|
|
323
|
+
"in": "query",
|
|
324
|
+
"description": "Page number for helper search (default: 1)",
|
|
325
|
+
"schema": {
|
|
326
|
+
"type": "integer",
|
|
327
|
+
"default": 1,
|
|
328
|
+
"format": "int32"
|
|
331
329
|
}
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"path": "/api/v2/divisions/{divisionId}",
|
|
337
|
-
"method": "PUT",
|
|
338
|
-
"operationId": "update_2",
|
|
339
|
-
"summary": "Update a division",
|
|
340
|
-
"description": "Updates division name, aliases, and code. Cascades code changes to associated projects.",
|
|
341
|
-
"tags": [
|
|
342
|
-
"Division"
|
|
343
|
-
],
|
|
344
|
-
"parameters": [
|
|
330
|
+
},
|
|
345
331
|
{
|
|
346
|
-
"name": "
|
|
347
|
-
"in": "
|
|
348
|
-
"description": "
|
|
349
|
-
"required": true,
|
|
332
|
+
"name": "size",
|
|
333
|
+
"in": "query",
|
|
334
|
+
"description": "Page size for helper search (default: 50, max: 1000)",
|
|
350
335
|
"schema": {
|
|
351
336
|
"type": "integer",
|
|
337
|
+
"default": 50,
|
|
352
338
|
"format": "int32"
|
|
353
339
|
}
|
|
354
340
|
}
|
|
355
341
|
],
|
|
356
|
-
"requestBody":
|
|
357
|
-
"content": {
|
|
358
|
-
"application/json": {
|
|
359
|
-
"schema": {
|
|
360
|
-
"type": "object",
|
|
361
|
-
"properties": {
|
|
362
|
-
"name": {
|
|
363
|
-
"type": "string"
|
|
364
|
-
},
|
|
365
|
-
"aliases": {
|
|
366
|
-
"type": "array",
|
|
367
|
-
"items": {
|
|
368
|
-
"type": "string"
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
"code": {
|
|
372
|
-
"type": "string"
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
},
|
|
342
|
+
"requestBody": null,
|
|
379
343
|
"responses": {
|
|
380
344
|
"default": {
|
|
381
345
|
"description": "default response",
|
|
@@ -384,22 +348,7 @@
|
|
|
384
348
|
"schema": {
|
|
385
349
|
"type": "object",
|
|
386
350
|
"properties": {
|
|
387
|
-
"
|
|
388
|
-
"type": "integer"
|
|
389
|
-
},
|
|
390
|
-
"name": {
|
|
391
|
-
"type": "string"
|
|
392
|
-
},
|
|
393
|
-
"aliases": {
|
|
394
|
-
"type": "array",
|
|
395
|
-
"items": {
|
|
396
|
-
"type": "string"
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
"code": {
|
|
400
|
-
"type": "string"
|
|
401
|
-
},
|
|
402
|
-
"relatedDivisions": {
|
|
351
|
+
"items": {
|
|
403
352
|
"type": "array",
|
|
404
353
|
"items": {
|
|
405
354
|
"type": "object",
|
|
@@ -416,6 +365,12 @@
|
|
|
416
365
|
"code": {
|
|
417
366
|
"type": "string"
|
|
418
367
|
},
|
|
368
|
+
"aliases": {
|
|
369
|
+
"type": "array",
|
|
370
|
+
"items": {
|
|
371
|
+
"type": "string"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
419
374
|
"relatedDivisions": {
|
|
420
375
|
"type": "array",
|
|
421
376
|
"items": {
|
|
@@ -425,6 +380,19 @@
|
|
|
425
380
|
}
|
|
426
381
|
}
|
|
427
382
|
}
|
|
383
|
+
},
|
|
384
|
+
"page": {
|
|
385
|
+
"type": "integer"
|
|
386
|
+
},
|
|
387
|
+
"size": {
|
|
388
|
+
"type": "integer"
|
|
389
|
+
},
|
|
390
|
+
"totalElements": {
|
|
391
|
+
"type": "integer",
|
|
392
|
+
"format": "int64"
|
|
393
|
+
},
|
|
394
|
+
"totalPages": {
|
|
395
|
+
"type": "integer"
|
|
428
396
|
}
|
|
429
397
|
}
|
|
430
398
|
}
|
|
@@ -434,37 +402,53 @@
|
|
|
434
402
|
}
|
|
435
403
|
},
|
|
436
404
|
{
|
|
437
|
-
"path": "/api/v2/divisions
|
|
405
|
+
"path": "/api/v2/divisions",
|
|
438
406
|
"method": "PUT",
|
|
439
|
-
"operationId": "
|
|
440
|
-
"summary": "
|
|
441
|
-
"description": "Replaces the
|
|
407
|
+
"operationId": "saveSnapshot_1",
|
|
408
|
+
"summary": "Save division composite snapshot",
|
|
409
|
+
"description": "Replaces the full division admin snapshot in one payload. Each root item includes division basic fields plus authorizedDivisionIds. Omitted divisions are deleted, authorized mappings are rebuilt in the same transaction, and the latest relation-tree snapshot is returned.",
|
|
442
410
|
"tags": [
|
|
443
411
|
"Division"
|
|
444
412
|
],
|
|
445
|
-
"parameters": [
|
|
446
|
-
{
|
|
447
|
-
"name": "divisionId",
|
|
448
|
-
"in": "path",
|
|
449
|
-
"description": "Division ID to update authorized divisions for",
|
|
450
|
-
"required": true,
|
|
451
|
-
"schema": {
|
|
452
|
-
"type": "integer",
|
|
453
|
-
"format": "int32"
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
],
|
|
413
|
+
"parameters": [],
|
|
457
414
|
"requestBody": {
|
|
458
415
|
"content": {
|
|
459
416
|
"application/json": {
|
|
460
417
|
"schema": {
|
|
418
|
+
"required": [
|
|
419
|
+
"divisions"
|
|
420
|
+
],
|
|
461
421
|
"type": "object",
|
|
462
422
|
"properties": {
|
|
463
|
-
"
|
|
423
|
+
"divisions": {
|
|
464
424
|
"type": "array",
|
|
465
425
|
"items": {
|
|
466
|
-
"type": "
|
|
467
|
-
"
|
|
426
|
+
"type": "object",
|
|
427
|
+
"properties": {
|
|
428
|
+
"id": {
|
|
429
|
+
"type": "integer",
|
|
430
|
+
"format": "int32"
|
|
431
|
+
},
|
|
432
|
+
"name": {
|
|
433
|
+
"type": "string"
|
|
434
|
+
},
|
|
435
|
+
"code": {
|
|
436
|
+
"type": "string"
|
|
437
|
+
},
|
|
438
|
+
"aliases": {
|
|
439
|
+
"type": "array",
|
|
440
|
+
"items": {
|
|
441
|
+
"type": "string"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"authorizedDivisionIds": {
|
|
445
|
+
"type": "array",
|
|
446
|
+
"items": {
|
|
447
|
+
"type": "integer",
|
|
448
|
+
"format": "int32"
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
468
452
|
}
|
|
469
453
|
}
|
|
470
454
|
}
|
|
@@ -485,12 +469,15 @@
|
|
|
485
469
|
"id": {
|
|
486
470
|
"type": "integer"
|
|
487
471
|
},
|
|
488
|
-
"no": {
|
|
489
|
-
"type": "integer"
|
|
490
|
-
},
|
|
491
472
|
"name": {
|
|
492
473
|
"type": "string"
|
|
493
474
|
},
|
|
475
|
+
"aliases": {
|
|
476
|
+
"type": "array",
|
|
477
|
+
"items": {
|
|
478
|
+
"type": "string"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
494
481
|
"code": {
|
|
495
482
|
"type": "string"
|
|
496
483
|
},
|
|
@@ -498,7 +485,33 @@
|
|
|
498
485
|
"type": "array",
|
|
499
486
|
"items": {
|
|
500
487
|
"type": "object",
|
|
501
|
-
"
|
|
488
|
+
"properties": {
|
|
489
|
+
"id": {
|
|
490
|
+
"type": "integer"
|
|
491
|
+
},
|
|
492
|
+
"no": {
|
|
493
|
+
"type": "integer"
|
|
494
|
+
},
|
|
495
|
+
"name": {
|
|
496
|
+
"type": "string"
|
|
497
|
+
},
|
|
498
|
+
"code": {
|
|
499
|
+
"type": "string"
|
|
500
|
+
},
|
|
501
|
+
"aliases": {
|
|
502
|
+
"type": "array",
|
|
503
|
+
"items": {
|
|
504
|
+
"type": "string"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"relatedDivisions": {
|
|
508
|
+
"type": "array",
|
|
509
|
+
"items": {
|
|
510
|
+
"type": "object",
|
|
511
|
+
"description": "(circular: DivisionDTO)"
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
502
515
|
}
|
|
503
516
|
}
|
|
504
517
|
}
|
|
@@ -508,43 +521,6 @@
|
|
|
508
521
|
}
|
|
509
522
|
}
|
|
510
523
|
}
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"path": "/api/v2/divisions/batch",
|
|
514
|
-
"method": "DELETE",
|
|
515
|
-
"operationId": "deleteBatch",
|
|
516
|
-
"summary": "Delete divisions in batch",
|
|
517
|
-
"description": "Deletes multiple divisions by IDs. All divisions must have no users assigned. Cascade deletes authorized-division mappings and user-division mappings.",
|
|
518
|
-
"tags": [
|
|
519
|
-
"Division"
|
|
520
|
-
],
|
|
521
|
-
"parameters": [],
|
|
522
|
-
"requestBody": {
|
|
523
|
-
"content": {
|
|
524
|
-
"application/json": {
|
|
525
|
-
"schema": {
|
|
526
|
-
"type": "object",
|
|
527
|
-
"properties": {
|
|
528
|
-
"ids": {
|
|
529
|
-
"type": "array",
|
|
530
|
-
"items": {
|
|
531
|
-
"type": "integer",
|
|
532
|
-
"format": "int32"
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
},
|
|
540
|
-
"responses": {
|
|
541
|
-
"default": {
|
|
542
|
-
"description": "default response",
|
|
543
|
-
"content": {
|
|
544
|
-
"application/json": {}
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
524
|
}
|
|
549
525
|
]
|
|
550
526
|
}
|