fmea-api-mcp-server 1.1.37 → 1.1.38
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/endpoint-lookup.json +1 -1
- package/data/search-index.oxy +1 -1
- package/dist/index.js +1 -1
- package/dist/services/search/OramaSearchService.js +4 -0
- package/dist/synonyms.js +7 -2
- package/endpoints/v2/block-diagrams/core.json +8 -64
- package/endpoints/v2/divisions/core.json +358 -1
- package/endpoints/v2/documents/core.json +3 -3
- package/endpoints/v2/failure-modes/core.json +1 -9
- package/endpoints/v2/fourm/core.json +4 -4
- package/endpoints/v2/high-items/core.json +1 -1
- package/endpoints/v2/notices/core.json +4 -4
- package/endpoints/v2/projects/core.json +14 -5
- package/endpoints/v2/synonym-excel/core.json +114 -0
- package/endpoints/v2/synonyms/core.json +400 -0
- package/endpoints/v2/system/core.json +677 -0
- package/endpoints/v2/templates/core.json +3 -3
- package/endpoints/v2/users/core.json +2 -2
- package/endpoints/v2/worksheet-templates/core.json +2 -2
- package/endpoints/v2/worksheets/core.json +3 -3
- package/endpoints/v2/worksheets/excel.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -469,6 +469,10 @@ export class OramaSearchService {
|
|
|
469
469
|
if (resource === 'system-definition' && (action === 'export' || action === 'import' || lower.includes('excel'))) {
|
|
470
470
|
resource = 'system-definition-excel';
|
|
471
471
|
}
|
|
472
|
+
// [R34] "synonym" + export/import/excel → prefer 'synonym-excel'
|
|
473
|
+
if (resource === 'synonym' && (action === 'export' || action === 'import' || lower.includes('excel'))) {
|
|
474
|
+
resource = 'synonym-excel';
|
|
475
|
+
}
|
|
472
476
|
// [R19] "get X by Y ID" is a specific read, not a list
|
|
473
477
|
if (action === 'list' && /\bby\b.*\bid\b/i.test(lower)) {
|
|
474
478
|
action = 'read';
|
package/dist/synonyms.js
CHANGED
|
@@ -11,7 +11,8 @@ export const METHOD_ACTIONS = {
|
|
|
11
11
|
export const RESOURCE_ALIASES = {
|
|
12
12
|
// Core Entities
|
|
13
13
|
// Core Entities
|
|
14
|
-
'division': ['organization', 'org', 'department', 'group', 'sector', 'unit'],
|
|
14
|
+
'division': ['organization', 'org', 'department', 'group', 'sector', 'unit', 'authorized division'], // [R34] Added authorized division alias
|
|
15
|
+
'authorized-division': ['authorized division', 'division permission', 'division access', 'access permission', 'authorized divisions'], // [R34] New authorized divisions resource
|
|
15
16
|
'knowledge': ['knowledge', 'knowledge base'], // [R17] New Resource Support
|
|
16
17
|
'document-category': ['category', 'document category', 'doc category', 'file category'], // [R22] Document category filtering
|
|
17
18
|
'project': ['workspace', 'repo', 'application', 'app'], // [R13] Removed 'system' to avoid conflict
|
|
@@ -38,7 +39,9 @@ export const RESOURCE_ALIASES = {
|
|
|
38
39
|
'excel': ['excel', 'spreadsheet', 'csv'], // [R16]
|
|
39
40
|
'worksheet-excel': ['worksheet excel', 'excel worksheet', 'worksheet export', 'worksheet download'], // Worksheet Excel import/export
|
|
40
41
|
'block-diagrams-excel': ['block diagram export', 'block excel', 'diagram export', 'export block', 'export diagram', 'export'], // [R22] Block Diagram Excel export
|
|
41
|
-
'synonym': ['synonyms', 'synonym'], // [
|
|
42
|
+
'synonym': ['synonyms', 'synonym', 'synonym group', 'synonym dictionary', 'term group'], // [R34] Enhanced synonym aliases
|
|
43
|
+
'synonym-excel': ['synonym excel', 'synonym export', 'synonym import', 'synonym spreadsheet'], // [R34] Synonym Excel import/export
|
|
44
|
+
'system-settings': ['system settings', 'system config', 'system configuration', 'global settings'], // [R34] System settings resource
|
|
42
45
|
'recommendation-item': ['recommendation item', 'recommended action', 'corrective action', 'action item', 'mitigation item'], // [R20] New v2 recommendation items
|
|
43
46
|
'fourm': ['4m', 'four m', '4m analysis', 'man machine material environment'], // 4M Analysis
|
|
44
47
|
'term': ['term', 'terms', 'taxonomy', 'terminology', 'glossary'], // Term tree management — removed 'classification' (now dedicated resource [R28])
|
|
@@ -109,6 +112,8 @@ export const SYNONYM_GROUPS = {
|
|
|
109
112
|
// Domain Specific (New)
|
|
110
113
|
"organization": ["division", "department", "group", "team", "unit"],
|
|
111
114
|
"division": ["organization", "department", "group", "section", "sector"],
|
|
115
|
+
"permission": ["access", "authorization", "authority", "privilege", "right"], // [R34]
|
|
116
|
+
"authorized": ["permitted", "allowed", "approved", "access control"], // [R34]
|
|
112
117
|
"overview": ["summary", "description", "details", "info", "profile", "dashboard"],
|
|
113
118
|
"dashboard": ["overview", "summary", "stats", "metrics", "report", "my projects", "action items", "rpn"], // [R25]
|
|
114
119
|
"globally": ["global", "cross-project", "all projects", "system-wide"], // [R25]
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
"method": "GET",
|
|
599
599
|
"operationId": "get",
|
|
600
600
|
"summary": "Get failure mode details",
|
|
601
|
-
"description": "Returns a failure mode by ID.
|
|
601
|
+
"description": "Returns a failure mode by ID.",
|
|
602
602
|
"tags": [
|
|
603
603
|
"Failure Mode"
|
|
604
604
|
],
|
|
@@ -629,14 +629,6 @@
|
|
|
629
629
|
"schema": {
|
|
630
630
|
"type": "string"
|
|
631
631
|
}
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": "q",
|
|
635
|
-
"in": "query",
|
|
636
|
-
"description": "Failure mode name keyword",
|
|
637
|
-
"schema": {
|
|
638
|
-
"type": "string"
|
|
639
|
-
}
|
|
640
632
|
}
|
|
641
633
|
],
|
|
642
634
|
"requestBody": null,
|
|
@@ -795,13 +787,13 @@
|
|
|
795
787
|
}
|
|
796
788
|
},
|
|
797
789
|
{
|
|
798
|
-
"path": "/api/v2/projects/{projectId}/block-diagrams/{
|
|
790
|
+
"path": "/api/v2/projects/{projectId}/block-diagrams/{blockDiagramId}/failure-modes",
|
|
799
791
|
"method": "GET",
|
|
800
|
-
"operationId": "
|
|
801
|
-
"summary": "List
|
|
802
|
-
"description": "Returns failure modes
|
|
792
|
+
"operationId": "list_6",
|
|
793
|
+
"summary": "List block diagram failure modes",
|
|
794
|
+
"description": "Returns failure modes visible in the target block diagram. Optional search applies keyword filtering.",
|
|
803
795
|
"tags": [
|
|
804
|
-
"
|
|
796
|
+
"Failure Mode"
|
|
805
797
|
],
|
|
806
798
|
"parameters": [
|
|
807
799
|
{
|
|
@@ -814,7 +806,7 @@
|
|
|
814
806
|
}
|
|
815
807
|
},
|
|
816
808
|
{
|
|
817
|
-
"name": "
|
|
809
|
+
"name": "blockDiagramId",
|
|
818
810
|
"in": "path",
|
|
819
811
|
"description": "Block diagram ID",
|
|
820
812
|
"required": true,
|
|
@@ -822,15 +814,6 @@
|
|
|
822
814
|
"type": "string"
|
|
823
815
|
}
|
|
824
816
|
},
|
|
825
|
-
{
|
|
826
|
-
"name": "nodeId",
|
|
827
|
-
"in": "path",
|
|
828
|
-
"description": "Block node ID",
|
|
829
|
-
"required": true,
|
|
830
|
-
"schema": {
|
|
831
|
-
"type": "string"
|
|
832
|
-
}
|
|
833
|
-
},
|
|
834
817
|
{
|
|
835
818
|
"name": "q",
|
|
836
819
|
"in": "query",
|
|
@@ -845,46 +828,7 @@
|
|
|
845
828
|
"default": {
|
|
846
829
|
"description": "default response",
|
|
847
830
|
"content": {
|
|
848
|
-
"application/json": {
|
|
849
|
-
"schema": {
|
|
850
|
-
"type": "array",
|
|
851
|
-
"items": {
|
|
852
|
-
"type": "object",
|
|
853
|
-
"properties": {
|
|
854
|
-
"blockNodeId": {
|
|
855
|
-
"type": "string"
|
|
856
|
-
},
|
|
857
|
-
"referencedBlockNodeId": {
|
|
858
|
-
"type": "string"
|
|
859
|
-
},
|
|
860
|
-
"id": {
|
|
861
|
-
"type": "string"
|
|
862
|
-
},
|
|
863
|
-
"name": {
|
|
864
|
-
"type": "string"
|
|
865
|
-
},
|
|
866
|
-
"fmmDiagramType": {
|
|
867
|
-
"type": "string",
|
|
868
|
-
"enum": [
|
|
869
|
-
"UNUSED",
|
|
870
|
-
"NOT_SELECTED",
|
|
871
|
-
"TYPE_A",
|
|
872
|
-
"TYPE_C"
|
|
873
|
-
]
|
|
874
|
-
},
|
|
875
|
-
"rank": {
|
|
876
|
-
"type": "string"
|
|
877
|
-
},
|
|
878
|
-
"complete": {
|
|
879
|
-
"type": "string"
|
|
880
|
-
},
|
|
881
|
-
"transferFmmObject": {
|
|
882
|
-
"type": "integer"
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
}
|
|
831
|
+
"application/json": {}
|
|
888
832
|
}
|
|
889
833
|
}
|
|
890
834
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"path": "/api/v2/divisions",
|
|
8
8
|
"method": "GET",
|
|
9
9
|
"summary": "Search divisions",
|
|
10
|
-
"operationId": "
|
|
10
|
+
"operationId": "list_7",
|
|
11
11
|
"description": "Returns paged divisions filtered by division name.",
|
|
12
12
|
"tags": [
|
|
13
13
|
"Division"
|
|
@@ -151,6 +151,363 @@
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
+
},
|
|
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
|
+
{
|
|
187
|
+
"path": "/api/v2/divisions/{divisionId}/authorized-divisions",
|
|
188
|
+
"method": "GET",
|
|
189
|
+
"operationId": "getAuthorizedDivisions",
|
|
190
|
+
"summary": "Get authorized divisions",
|
|
191
|
+
"description": "Returns the list of divisions that the specified division is authorized to access.",
|
|
192
|
+
"tags": [
|
|
193
|
+
"Division"
|
|
194
|
+
],
|
|
195
|
+
"parameters": [
|
|
196
|
+
{
|
|
197
|
+
"name": "divisionId",
|
|
198
|
+
"in": "path",
|
|
199
|
+
"description": "Division ID to query authorized divisions for",
|
|
200
|
+
"required": true,
|
|
201
|
+
"schema": {
|
|
202
|
+
"type": "integer",
|
|
203
|
+
"format": "int32"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"requestBody": null,
|
|
208
|
+
"responses": {
|
|
209
|
+
"default": {
|
|
210
|
+
"description": "default response",
|
|
211
|
+
"content": {
|
|
212
|
+
"application/json": {
|
|
213
|
+
"schema": {
|
|
214
|
+
"type": "array",
|
|
215
|
+
"items": {
|
|
216
|
+
"type": "object",
|
|
217
|
+
"properties": {
|
|
218
|
+
"id": {
|
|
219
|
+
"type": "integer"
|
|
220
|
+
},
|
|
221
|
+
"no": {
|
|
222
|
+
"type": "integer"
|
|
223
|
+
},
|
|
224
|
+
"name": {
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
"code": {
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
"relatedDivisions": {
|
|
231
|
+
"type": "array",
|
|
232
|
+
"items": {
|
|
233
|
+
"type": "object",
|
|
234
|
+
"description": "(circular: DivisionDTO)"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"path": "/api/v2/divisions",
|
|
247
|
+
"method": "POST",
|
|
248
|
+
"operationId": "create_3",
|
|
249
|
+
"summary": "Create a division",
|
|
250
|
+
"description": "Creates a new division with optional aliases and code. Automatically assigns global-access users to the new division.",
|
|
251
|
+
"tags": [
|
|
252
|
+
"Division"
|
|
253
|
+
],
|
|
254
|
+
"parameters": [],
|
|
255
|
+
"requestBody": {
|
|
256
|
+
"content": {
|
|
257
|
+
"application/json": {
|
|
258
|
+
"schema": {
|
|
259
|
+
"type": "object",
|
|
260
|
+
"properties": {
|
|
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
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"responses": {
|
|
279
|
+
"default": {
|
|
280
|
+
"description": "default response",
|
|
281
|
+
"content": {
|
|
282
|
+
"application/json": {
|
|
283
|
+
"schema": {
|
|
284
|
+
"type": "object",
|
|
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
|
+
}
|
|
331
|
+
}
|
|
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": [
|
|
345
|
+
{
|
|
346
|
+
"name": "divisionId",
|
|
347
|
+
"in": "path",
|
|
348
|
+
"description": "Division ID to update",
|
|
349
|
+
"required": true,
|
|
350
|
+
"schema": {
|
|
351
|
+
"type": "integer",
|
|
352
|
+
"format": "int32"
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
],
|
|
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
|
+
},
|
|
379
|
+
"responses": {
|
|
380
|
+
"default": {
|
|
381
|
+
"description": "default response",
|
|
382
|
+
"content": {
|
|
383
|
+
"application/json": {
|
|
384
|
+
"schema": {
|
|
385
|
+
"type": "object",
|
|
386
|
+
"properties": {
|
|
387
|
+
"id": {
|
|
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": {
|
|
403
|
+
"type": "array",
|
|
404
|
+
"items": {
|
|
405
|
+
"type": "object",
|
|
406
|
+
"properties": {
|
|
407
|
+
"id": {
|
|
408
|
+
"type": "integer"
|
|
409
|
+
},
|
|
410
|
+
"no": {
|
|
411
|
+
"type": "integer"
|
|
412
|
+
},
|
|
413
|
+
"name": {
|
|
414
|
+
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
"code": {
|
|
417
|
+
"type": "string"
|
|
418
|
+
},
|
|
419
|
+
"relatedDivisions": {
|
|
420
|
+
"type": "array",
|
|
421
|
+
"items": {
|
|
422
|
+
"type": "object",
|
|
423
|
+
"description": "(circular: DivisionDTO)"
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"path": "/api/v2/divisions/{divisionId}/authorized-divisions",
|
|
438
|
+
"method": "PUT",
|
|
439
|
+
"operationId": "updateAuthorizedDivisions",
|
|
440
|
+
"summary": "Update authorized divisions",
|
|
441
|
+
"description": "Replaces the authorized division list for the specified division. Self-division ID is automatically excluded. User-division mappings are rebuilt after update.",
|
|
442
|
+
"tags": [
|
|
443
|
+
"Division"
|
|
444
|
+
],
|
|
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
|
+
],
|
|
457
|
+
"requestBody": {
|
|
458
|
+
"content": {
|
|
459
|
+
"application/json": {
|
|
460
|
+
"schema": {
|
|
461
|
+
"type": "object",
|
|
462
|
+
"properties": {
|
|
463
|
+
"authorizedDivisionIds": {
|
|
464
|
+
"type": "array",
|
|
465
|
+
"items": {
|
|
466
|
+
"type": "integer",
|
|
467
|
+
"format": "int32"
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"responses": {
|
|
476
|
+
"default": {
|
|
477
|
+
"description": "default response",
|
|
478
|
+
"content": {
|
|
479
|
+
"application/json": {
|
|
480
|
+
"schema": {
|
|
481
|
+
"type": "array",
|
|
482
|
+
"items": {
|
|
483
|
+
"type": "object",
|
|
484
|
+
"properties": {
|
|
485
|
+
"id": {
|
|
486
|
+
"type": "integer"
|
|
487
|
+
},
|
|
488
|
+
"no": {
|
|
489
|
+
"type": "integer"
|
|
490
|
+
},
|
|
491
|
+
"name": {
|
|
492
|
+
"type": "string"
|
|
493
|
+
},
|
|
494
|
+
"code": {
|
|
495
|
+
"type": "string"
|
|
496
|
+
},
|
|
497
|
+
"relatedDivisions": {
|
|
498
|
+
"type": "array",
|
|
499
|
+
"items": {
|
|
500
|
+
"type": "object",
|
|
501
|
+
"description": "(circular: DivisionDTO)"
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
154
511
|
}
|
|
155
512
|
]
|
|
156
513
|
}
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
{
|
|
192
192
|
"path": "/api/v2/projects/{projectId}/documents/{documentId}",
|
|
193
193
|
"method": "GET",
|
|
194
|
-
"operationId": "
|
|
194
|
+
"operationId": "get_8",
|
|
195
195
|
"summary": "Get document by ID",
|
|
196
196
|
"description": "Fetches detailed information for a specific document using its unique identifier (Retrieve / Fetch / View document details). Use this endpoint to obtain complete document metadata including name, category, path, creation timestamp, and associated file information. This is essential when you need to display document details, verify document existence, or access specific document properties before performing further operations like download or deletion.",
|
|
197
197
|
"tags": [],
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
{
|
|
265
265
|
"path": "/api/v2/projects/{projectId}/documents/{documentId}",
|
|
266
266
|
"method": "DELETE",
|
|
267
|
-
"operationId": "
|
|
267
|
+
"operationId": "delete_8",
|
|
268
268
|
"summary": "Delete document",
|
|
269
269
|
"description": "Permanently removes a document from the project using its unique identifier (Remove / Erase document). This operation deletes the document record and disassociates it from the project. Use with caution as this action cannot be undone. Requires project member role with NORMAL user level permissions. Ensure you have the correct document ID before initiating deletion to avoid accidental data loss.",
|
|
270
270
|
"tags": [],
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
{
|
|
349
349
|
"path": "/api/v2/projects/{projectId}/documents",
|
|
350
350
|
"method": "GET",
|
|
351
|
-
"operationId": "
|
|
351
|
+
"operationId": "list_14",
|
|
352
352
|
"summary": "List all Documents",
|
|
353
353
|
"description": "Retrieves a comprehensive list of all documents associated with a specific project (Get all files / Fetch project documents / Query document library). Use this endpoint when you need to view, browse, or display the complete collection of documents within a project, including all categories and types. The response includes document metadata such as names, categories, paths, and timestamps, enabling users to navigate and manage the project document repository effectively.",
|
|
354
354
|
"tags": [],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"method": "GET",
|
|
9
9
|
"operationId": "get",
|
|
10
10
|
"summary": "Get failure mode details",
|
|
11
|
-
"description": "Returns a failure mode by ID.
|
|
11
|
+
"description": "Returns a failure mode by ID.",
|
|
12
12
|
"tags": [
|
|
13
13
|
"Failure Mode"
|
|
14
14
|
],
|
|
@@ -39,14 +39,6 @@
|
|
|
39
39
|
"schema": {
|
|
40
40
|
"type": "string"
|
|
41
41
|
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "q",
|
|
45
|
-
"in": "query",
|
|
46
|
-
"description": "Failure mode name keyword",
|
|
47
|
-
"schema": {
|
|
48
|
-
"type": "string"
|
|
49
|
-
}
|
|
50
42
|
}
|
|
51
43
|
],
|
|
52
44
|
"requestBody": null,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{
|
|
7
7
|
"path": "/api/v2/fourm",
|
|
8
8
|
"method": "GET",
|
|
9
|
-
"operationId": "
|
|
9
|
+
"operationId": "list_8",
|
|
10
10
|
"summary": "List 4M analysis items",
|
|
11
11
|
"description": "Retrieves all 4M (Man, Machine, Material, Environment) analysis items with optional filtering. Supports querying by project ID (projectId) and single or double tags (tag, secondTag) for targeted searches. Use this endpoint to browse, filter, or search for existing 4M analysis records within a project context. Returns a comprehensive list of analysis entries that can be further processed or displayed.",
|
|
12
12
|
"tags": [],
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
{
|
|
83
83
|
"path": "/api/v2/fourm",
|
|
84
84
|
"method": "POST",
|
|
85
|
-
"operationId": "
|
|
85
|
+
"operationId": "create_4",
|
|
86
86
|
"summary": "Create 4M analysis item",
|
|
87
87
|
"description": "Creates a new 4M (Man, Machine, Material, Environment) analysis item in the system. Accepts analysis data including categorization by the four M dimensions (Man/Personnel, Machine/Equipment, Material/Resources, Environment/Conditions). Use this endpoint to initiate a new 4M analysis, register factors for quality or risk assessment, or document production variables. Returns the complete created object with system-generated ID.",
|
|
88
88
|
"tags": [],
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
{
|
|
229
229
|
"path": "/api/v2/fourm/{id}",
|
|
230
230
|
"method": "PUT",
|
|
231
|
-
"operationId": "
|
|
231
|
+
"operationId": "update_3",
|
|
232
232
|
"summary": "Update 4M analysis item",
|
|
233
233
|
"description": "Modifies an existing 4M analysis item identified by its ID. Accepts partial or complete updates to the analysis data including changes to categorization, descriptions, or any of the four M dimensions (Man, Machine, Material, Environment). Use this endpoint to correct, enhance, or evolve analysis records over time. Returns the updated object reflecting all changes applied.",
|
|
234
234
|
"tags": [],
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
{
|
|
315
315
|
"path": "/api/v2/fourm/{id}",
|
|
316
316
|
"method": "DELETE",
|
|
317
|
-
"operationId": "
|
|
317
|
+
"operationId": "delete_3",
|
|
318
318
|
"summary": "Delete 4M analysis item",
|
|
319
319
|
"description": "Permanently removes a 4M analysis item from the system using its unique identifier. This operation is irreversible and will eliminate all associated data including the four M dimension classifications (Man, Machine, Material, Environment). Use with caution for removing obsolete or incorrect analysis records. Returns no content upon successful deletion (204 status).",
|
|
320
320
|
"tags": [],
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{
|
|
7
7
|
"path": "/api/v2/projects/{projectId}/high-items",
|
|
8
8
|
"method": "PUT",
|
|
9
|
-
"operationId": "
|
|
9
|
+
"operationId": "update_8",
|
|
10
10
|
"summary": "Batch upsert and reorder high items by project",
|
|
11
11
|
"description": "Updates the project high-item list with batch upsert semantics. Existing items are matched by sequence or title, ranks are recalculated by input order, and omitted items are removed.",
|
|
12
12
|
"tags": [
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{
|
|
7
7
|
"path": "/api/v2/notices/{id}",
|
|
8
8
|
"method": "DELETE",
|
|
9
|
-
"operationId": "
|
|
9
|
+
"operationId": "delete_4",
|
|
10
10
|
"summary": "Delete notice",
|
|
11
11
|
"description": "Deletes a notice by ID. Requires admin permission. Returns 404 if notice does not exist.",
|
|
12
12
|
"tags": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
{
|
|
38
38
|
"path": "/api/v2/notices",
|
|
39
39
|
"method": "GET",
|
|
40
|
-
"operationId": "
|
|
40
|
+
"operationId": "list_9",
|
|
41
41
|
"summary": "List notices",
|
|
42
42
|
"description": "Returns a paged list of notices. Supports optional visibility filter. Use page=0 to retrieve all notices without paging.",
|
|
43
43
|
"tags": [
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
{
|
|
287
287
|
"path": "/api/v2/notices",
|
|
288
288
|
"method": "POST",
|
|
289
|
-
"operationId": "
|
|
289
|
+
"operationId": "create_5",
|
|
290
290
|
"summary": "Create notice",
|
|
291
291
|
"description": "Creates a new notice. Requires admin permission. Title and content are required fields.",
|
|
292
292
|
"tags": [
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
{
|
|
363
363
|
"path": "/api/v2/notices/{id}",
|
|
364
364
|
"method": "PUT",
|
|
365
|
-
"operationId": "
|
|
365
|
+
"operationId": "update_4",
|
|
366
366
|
"summary": "Update notice",
|
|
367
367
|
"description": "Updates an existing notice by ID. Requires admin permission. Returns 404 if notice does not exist.",
|
|
368
368
|
"tags": [
|