fmea-api-mcp-server 1.1.13 → 1.1.15

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.
@@ -3,6 +3,100 @@
3
3
  "version": "v2",
4
4
  "description": "Division management related API",
5
5
  "endpoints": [
6
+ {
7
+ "path": "/api/v2/divisions",
8
+ "method": "GET",
9
+ "summary": "Search divisions",
10
+ "operationId": "list_6",
11
+ "description": "Returns paged divisions filtered by division name.",
12
+ "tags": [
13
+ "Division"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "search",
18
+ "in": "query",
19
+ "description": "Division name keyword",
20
+ "schema": {
21
+ "type": "string"
22
+ }
23
+ },
24
+ {
25
+ "name": "page",
26
+ "in": "query",
27
+ "description": "Page number (starts from 1)",
28
+ "schema": {
29
+ "type": "integer",
30
+ "format": "int32",
31
+ "default": 1
32
+ }
33
+ },
34
+ {
35
+ "name": "size",
36
+ "in": "query",
37
+ "description": "Page size (max 100, default 50)",
38
+ "schema": {
39
+ "type": "integer",
40
+ "format": "int32",
41
+ "default": 50
42
+ }
43
+ }
44
+ ],
45
+ "responses": {
46
+ "default": {
47
+ "description": "default response",
48
+ "content": {
49
+ "application/json": {
50
+ "schema": {
51
+ "type": "object",
52
+ "properties": {
53
+ "items": {
54
+ "type": "array",
55
+ "items": {
56
+ "type": "object",
57
+ "properties": {
58
+ "id": {
59
+ "type": "integer"
60
+ },
61
+ "no": {
62
+ "type": "integer"
63
+ },
64
+ "name": {
65
+ "type": "string"
66
+ },
67
+ "code": {
68
+ "type": "string"
69
+ },
70
+ "relatedDivisions": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "object",
74
+ "description": "(circular: DivisionDTO)"
75
+ }
76
+ }
77
+ }
78
+ }
79
+ },
80
+ "page": {
81
+ "type": "integer"
82
+ },
83
+ "size": {
84
+ "type": "integer"
85
+ },
86
+ "totalElements": {
87
+ "type": "integer",
88
+ "format": "int64"
89
+ },
90
+ "totalPages": {
91
+ "type": "integer"
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ },
6
100
  {
7
101
  "path": "/api/v2/divisions/{divisionId}",
8
102
  "method": "GET",
@@ -14,6 +108,7 @@
14
108
  {
15
109
  "name": "divisionId",
16
110
  "in": "path",
111
+ "description": "Division ID to retrieve",
17
112
  "required": true,
18
113
  "schema": {
19
114
  "type": "integer",
@@ -25,7 +120,32 @@
25
120
  "default": {
26
121
  "description": "default response",
27
122
  "content": {
28
- "application/json": {}
123
+ "application/json": {
124
+ "schema": {
125
+ "type": "object",
126
+ "properties": {
127
+ "id": {
128
+ "type": "integer"
129
+ },
130
+ "no": {
131
+ "type": "integer"
132
+ },
133
+ "name": {
134
+ "type": "string"
135
+ },
136
+ "code": {
137
+ "type": "string"
138
+ },
139
+ "relatedDivisions": {
140
+ "type": "array",
141
+ "items": {
142
+ "type": "object",
143
+ "description": "(circular: DivisionDTO)"
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
29
149
  }
30
150
  }
31
151
  }
@@ -39,7 +39,47 @@
39
39
  "default": {
40
40
  "description": "default response",
41
41
  "content": {
42
- "application/json": {}
42
+ "application/json": {
43
+ "schema": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "object",
47
+ "properties": {
48
+ "id": {
49
+ "type": "integer"
50
+ },
51
+ "type": {
52
+ "type": "string",
53
+ "enum": [
54
+ "UPLOAD"
55
+ ]
56
+ },
57
+ "value": {
58
+ "type": "string"
59
+ },
60
+ "path": {
61
+ "type": "string"
62
+ },
63
+ "fileSize": {
64
+ "type": "string"
65
+ },
66
+ "uploadDate": {
67
+ "type": "string",
68
+ "format": "date"
69
+ },
70
+ "category": {
71
+ "type": "string",
72
+ "enum": [
73
+ "SYSTEM_DEFINITION",
74
+ "WORKSHEET",
75
+ "BLOCK_DIAGRAM",
76
+ "FMM_DIAGRAM"
77
+ ]
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
43
83
  }
44
84
  }
45
85
  }
@@ -88,7 +128,44 @@
88
128
  "default": {
89
129
  "description": "default response",
90
130
  "content": {
91
- "*/*": {}
131
+ "application/json": {
132
+ "schema": {
133
+ "type": "object",
134
+ "properties": {
135
+ "id": {
136
+ "type": "integer"
137
+ },
138
+ "type": {
139
+ "type": "string",
140
+ "enum": [
141
+ "UPLOAD"
142
+ ]
143
+ },
144
+ "value": {
145
+ "type": "string"
146
+ },
147
+ "path": {
148
+ "type": "string"
149
+ },
150
+ "fileSize": {
151
+ "type": "string"
152
+ },
153
+ "uploadDate": {
154
+ "type": "string",
155
+ "format": "date"
156
+ },
157
+ "category": {
158
+ "type": "string",
159
+ "enum": [
160
+ "SYSTEM_DEFINITION",
161
+ "WORKSHEET",
162
+ "BLOCK_DIAGRAM",
163
+ "FMM_DIAGRAM"
164
+ ]
165
+ }
166
+ }
167
+ }
168
+ }
92
169
  }
93
170
  }
94
171
  }
@@ -124,7 +201,44 @@
124
201
  "default": {
125
202
  "description": "default response",
126
203
  "content": {
127
- "application/json": {}
204
+ "application/json": {
205
+ "schema": {
206
+ "type": "object",
207
+ "properties": {
208
+ "id": {
209
+ "type": "integer"
210
+ },
211
+ "type": {
212
+ "type": "string",
213
+ "enum": [
214
+ "UPLOAD"
215
+ ]
216
+ },
217
+ "value": {
218
+ "type": "string"
219
+ },
220
+ "path": {
221
+ "type": "string"
222
+ },
223
+ "fileSize": {
224
+ "type": "string"
225
+ },
226
+ "uploadDate": {
227
+ "type": "string",
228
+ "format": "date"
229
+ },
230
+ "category": {
231
+ "type": "string",
232
+ "enum": [
233
+ "SYSTEM_DEFINITION",
234
+ "WORKSHEET",
235
+ "BLOCK_DIAGRAM",
236
+ "FMM_DIAGRAM"
237
+ ]
238
+ }
239
+ }
240
+ }
241
+ }
128
242
  }
129
243
  }
130
244
  }
@@ -196,7 +310,19 @@
196
310
  "default": {
197
311
  "description": "default response",
198
312
  "content": {
199
- "application/json": {}
313
+ "application/json": {
314
+ "schema": {
315
+ "type": "object",
316
+ "properties": {
317
+ "fileName": {
318
+ "type": "string"
319
+ },
320
+ "downloadUri": {
321
+ "type": "string"
322
+ }
323
+ }
324
+ }
325
+ }
200
326
  }
201
327
  }
202
328
  }
@@ -204,7 +330,7 @@
204
330
  {
205
331
  "path": "/api/v2/projects/{projectId}/documents",
206
332
  "method": "GET",
207
- "operationId": "list_7",
333
+ "operationId": "list_10",
208
334
  "summary": "List all Documents",
209
335
  "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.",
210
336
  "tags": [],
@@ -223,7 +349,47 @@
223
349
  "default": {
224
350
  "description": "default response",
225
351
  "content": {
226
- "application/json": {}
352
+ "application/json": {
353
+ "schema": {
354
+ "type": "array",
355
+ "items": {
356
+ "type": "object",
357
+ "properties": {
358
+ "id": {
359
+ "type": "integer"
360
+ },
361
+ "type": {
362
+ "type": "string",
363
+ "enum": [
364
+ "UPLOAD"
365
+ ]
366
+ },
367
+ "value": {
368
+ "type": "string"
369
+ },
370
+ "path": {
371
+ "type": "string"
372
+ },
373
+ "fileSize": {
374
+ "type": "string"
375
+ },
376
+ "uploadDate": {
377
+ "type": "string",
378
+ "format": "date"
379
+ },
380
+ "category": {
381
+ "type": "string",
382
+ "enum": [
383
+ "SYSTEM_DEFINITION",
384
+ "WORKSHEET",
385
+ "BLOCK_DIAGRAM",
386
+ "FMM_DIAGRAM"
387
+ ]
388
+ }
389
+ }
390
+ }
391
+ }
392
+ }
227
393
  }
228
394
  }
229
395
  }
@@ -272,7 +438,47 @@
272
438
  "default": {
273
439
  "description": "default response",
274
440
  "content": {
275
- "application/json": {}
441
+ "application/json": {
442
+ "schema": {
443
+ "type": "array",
444
+ "items": {
445
+ "type": "object",
446
+ "properties": {
447
+ "id": {
448
+ "type": "integer"
449
+ },
450
+ "type": {
451
+ "type": "string",
452
+ "enum": [
453
+ "UPLOAD"
454
+ ]
455
+ },
456
+ "value": {
457
+ "type": "string"
458
+ },
459
+ "path": {
460
+ "type": "string"
461
+ },
462
+ "fileSize": {
463
+ "type": "string"
464
+ },
465
+ "uploadDate": {
466
+ "type": "string",
467
+ "format": "date"
468
+ },
469
+ "category": {
470
+ "type": "string",
471
+ "enum": [
472
+ "SYSTEM_DEFINITION",
473
+ "WORKSHEET",
474
+ "BLOCK_DIAGRAM",
475
+ "FMM_DIAGRAM"
476
+ ]
477
+ }
478
+ }
479
+ }
480
+ }
481
+ }
276
482
  }
277
483
  }
278
484
  }
@@ -112,6 +112,28 @@
112
112
  }
113
113
  }
114
114
  }
115
+ },
116
+ {
117
+ "path": "/api/v2/excel/generate",
118
+ "method": "POST",
119
+ "summary": "Generate Excel File",
120
+ "description": "Generates a downloadable Excel (.xlsx) file programmatically based on user-provided column definitions and grid data payloads. Use this endpoint to dynamically construct custom spreadsheet reports, export tabular analysis results, or create structured Excel files from raw JSON arrays. Ideal for custom FMEA reporting, bulk data compilation, and on-the-fly spreadsheet generation. (Create Excel / Export to XLSX / Build Spreadsheet / Generate Report).",
121
+ "tags": [],
122
+ "operationId": "generate",
123
+ "parameters": [],
124
+ "requestBody": {
125
+ "content": {
126
+ "application/json": {}
127
+ }
128
+ },
129
+ "responses": {
130
+ "default": {
131
+ "description": "default response",
132
+ "content": {
133
+ "application/json": {}
134
+ }
135
+ }
136
+ }
115
137
  }
116
138
  ]
117
139
  }
@@ -46,6 +46,49 @@
46
46
  }
47
47
  }
48
48
  },
49
+ {
50
+ "path": "/api/v2/projects/{projectId}/block-diagrams/{blockDiagramId}/failure-modes/{failureModeId}",
51
+ "method": "DELETE",
52
+ "operationId": "deleteFailureMode",
53
+ "summary": "Delete Failure Mode",
54
+ "description": "Deletes a predefined failure mode from a specific block diagram within a project. This destructive operation permanently removes the failure mode and any associated FMM diagram structural data from the component. Use this endpoint to clean up incorrect entries, remove obsolete failure definitions, or restructure the block diagram's failure analysis. Since this action is irreversible, it should be called only after user confirmation. It is essential for maintaining accurate and up-to-date Failure Mode and Effects Analysis (FMEA) records.",
55
+ "tags": [],
56
+ "parameters": [
57
+ {
58
+ "name": "projectId",
59
+ "in": "path",
60
+ "required": true,
61
+ "schema": {
62
+ "type": "string"
63
+ }
64
+ },
65
+ {
66
+ "name": "blockDiagramId",
67
+ "in": "path",
68
+ "required": true,
69
+ "schema": {
70
+ "type": "string"
71
+ }
72
+ },
73
+ {
74
+ "name": "failureModeId",
75
+ "in": "path",
76
+ "required": true,
77
+ "schema": {
78
+ "type": "string"
79
+ }
80
+ }
81
+ ],
82
+ "requestBody": null,
83
+ "responses": {
84
+ "default": {
85
+ "description": "default response",
86
+ "content": {
87
+ "*/*": {}
88
+ }
89
+ }
90
+ }
91
+ },
49
92
  {
50
93
  "path": "/api/v2/projects/{projectId}/failure-modes/{failureModeId}/fmm-diagram",
51
94
  "method": "PUT",
@@ -90,6 +133,47 @@
90
133
  }
91
134
  }
92
135
  }
136
+ },
137
+ {
138
+ "path": "/api/v2/projects/{projectId}/failure-modes/{failureModeId}/fmm-diagram",
139
+ "method": "POST",
140
+ "summary": "Create FMM Diagram",
141
+ "description": "Initializes and creates a new Functional Mock-up Interface (FMM) diagram structure for a targeted failure mode within a specific project context. Use this endpoint to begin visual failure mapping, establish a new causal chain diagram, or set up the visual canvas for root cause analysis (RCA). Returns the newly created diagram metadata and ID. Crucial for converting flat failure mode text into interactive visual models. (New FMM / Initialize Diagram / Create Failure Model / Build Causal Tree).",
142
+ "tags": [
143
+ "FMM Diagram"
144
+ ],
145
+ "operationId": "createDiagram",
146
+ "parameters": [
147
+ {
148
+ "name": "projectId",
149
+ "in": "path",
150
+ "required": true,
151
+ "schema": {
152
+ "type": "string"
153
+ }
154
+ },
155
+ {
156
+ "name": "failureModeId",
157
+ "in": "path",
158
+ "required": true,
159
+ "schema": {
160
+ "type": "string"
161
+ }
162
+ }
163
+ ],
164
+ "requestBody": {
165
+ "content": {
166
+ "application/json": {}
167
+ }
168
+ },
169
+ "responses": {
170
+ "default": {
171
+ "description": "default response",
172
+ "content": {
173
+ "application/json": {}
174
+ }
175
+ }
176
+ }
93
177
  }
94
178
  ]
95
179
  }
@@ -49,7 +49,7 @@
49
49
  {
50
50
  "path": "/api/v2/fourm",
51
51
  "method": "POST",
52
- "operationId": "create",
52
+ "operationId": "create_3",
53
53
  "summary": "Create 4M analysis item",
54
54
  "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.",
55
55
  "tags": [],