fmea-api-mcp-server 1.1.46 → 1.1.48
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/synonyms.js +3 -2
- package/endpoints/v2/additional-info/core.json +30 -6
- package/endpoints/v2/api-keys/core.json +86 -33
- package/endpoints/v2/block-diagrams/core.json +6 -3
- package/endpoints/v2/condition-library/core.json +62 -301
- package/endpoints/v2/condition-library-excel/core.json +1 -4
- package/endpoints/v2/divisions/core.json +0 -9
- package/endpoints/v2/documents/core.json +49 -21
- package/endpoints/v2/evaluation/core.json +158 -34
- package/endpoints/v2/excel/core.json +18 -9
- package/endpoints/v2/failure-modes/core.json +5 -5
- package/endpoints/v2/files/core.json +5 -3
- package/endpoints/v2/fourm/core.json +65 -49
- package/endpoints/v2/high-items/core.json +1 -0
- package/endpoints/v2/projects/core.json +69 -26
- package/endpoints/v2/recommendation-items/core.json +16 -3
- package/endpoints/v2/search/core.json +125 -33
- package/endpoints/v2/system/core.json +22 -10
- package/endpoints/v2/system-definition/core.json +9 -3
- package/endpoints/v2/system-definition-excel/core.json +1 -1
- package/endpoints/v2/templates/core.json +15 -5
- package/endpoints/v2/tree-search/core.json +4 -4
- package/endpoints/v2/users/core.json +0 -9
- package/endpoints/v2/worksheet-templates/core.json +17 -4
- package/endpoints/v2/worksheets/core.json +33 -15
- package/endpoints/v2/worksheets/excel.json +35 -15
- package/endpoints/v2/worksheets/management.json +28 -10
- package/endpoints/v2/worksheets/templates.json +4 -1
- package/package.json +1 -1
|
@@ -7,13 +7,16 @@
|
|
|
7
7
|
"path": "/api/v2/fourm",
|
|
8
8
|
"method": "GET",
|
|
9
9
|
"operationId": "list_8",
|
|
10
|
-
"summary": "List 4M
|
|
11
|
-
"description": "
|
|
12
|
-
"tags": [
|
|
10
|
+
"summary": "List 4M records",
|
|
11
|
+
"description": "Returns 4M cause records for a given project. Optionally filtered by function node ID (tag) and a secondary node ID (secondTag). Returns all records when no filter is specified.",
|
|
12
|
+
"tags": [
|
|
13
|
+
"4M"
|
|
14
|
+
],
|
|
13
15
|
"parameters": [
|
|
14
16
|
{
|
|
15
17
|
"name": "projectId",
|
|
16
18
|
"in": "query",
|
|
19
|
+
"description": "Project ID to filter records",
|
|
17
20
|
"schema": {
|
|
18
21
|
"type": "string"
|
|
19
22
|
}
|
|
@@ -21,6 +24,7 @@
|
|
|
21
24
|
{
|
|
22
25
|
"name": "tag",
|
|
23
26
|
"in": "query",
|
|
27
|
+
"description": "Function node ID filter (tag)",
|
|
24
28
|
"schema": {
|
|
25
29
|
"type": "string"
|
|
26
30
|
}
|
|
@@ -28,6 +32,7 @@
|
|
|
28
32
|
{
|
|
29
33
|
"name": "secondTag",
|
|
30
34
|
"in": "query",
|
|
35
|
+
"description": "Secondary node ID filter (secondTag)",
|
|
31
36
|
"schema": {
|
|
32
37
|
"type": "string"
|
|
33
38
|
}
|
|
@@ -50,19 +55,19 @@
|
|
|
50
55
|
"projectId": {
|
|
51
56
|
"type": "string"
|
|
52
57
|
},
|
|
53
|
-
"
|
|
58
|
+
"functionNodeId": {
|
|
54
59
|
"type": "string"
|
|
55
60
|
},
|
|
56
|
-
"
|
|
61
|
+
"secondNodeId": {
|
|
57
62
|
"type": "string"
|
|
58
63
|
},
|
|
59
64
|
"category": {
|
|
60
65
|
"type": "string",
|
|
61
66
|
"enum": [
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
67
|
+
"MAN",
|
|
68
|
+
"MACHINE",
|
|
69
|
+
"MATERIAL",
|
|
70
|
+
"ENVIRONMENT"
|
|
66
71
|
]
|
|
67
72
|
},
|
|
68
73
|
"workElement": {
|
|
@@ -83,9 +88,11 @@
|
|
|
83
88
|
"path": "/api/v2/fourm",
|
|
84
89
|
"method": "POST",
|
|
85
90
|
"operationId": "create_4",
|
|
86
|
-
"summary": "Create 4M
|
|
87
|
-
"description": "Creates a new 4M
|
|
88
|
-
"tags": [
|
|
91
|
+
"summary": "Create a 4M record",
|
|
92
|
+
"description": "Creates a new 4M cause record with the provided fields. Returns the created record as a FourMDTO.",
|
|
93
|
+
"tags": [
|
|
94
|
+
"4M"
|
|
95
|
+
],
|
|
89
96
|
"parameters": [],
|
|
90
97
|
"requestBody": {
|
|
91
98
|
"content": {
|
|
@@ -96,19 +103,19 @@
|
|
|
96
103
|
"projectId": {
|
|
97
104
|
"type": "string"
|
|
98
105
|
},
|
|
99
|
-
"
|
|
106
|
+
"functionNodeId": {
|
|
100
107
|
"type": "string"
|
|
101
108
|
},
|
|
102
|
-
"
|
|
109
|
+
"secondNodeId": {
|
|
103
110
|
"type": "string"
|
|
104
111
|
},
|
|
105
112
|
"category": {
|
|
106
113
|
"type": "string",
|
|
107
114
|
"enum": [
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
115
|
+
"MAN",
|
|
116
|
+
"MACHINE",
|
|
117
|
+
"MATERIAL",
|
|
118
|
+
"ENVIRONMENT"
|
|
112
119
|
]
|
|
113
120
|
},
|
|
114
121
|
"workElement": {
|
|
@@ -136,19 +143,19 @@
|
|
|
136
143
|
"projectId": {
|
|
137
144
|
"type": "string"
|
|
138
145
|
},
|
|
139
|
-
"
|
|
146
|
+
"functionNodeId": {
|
|
140
147
|
"type": "string"
|
|
141
148
|
},
|
|
142
|
-
"
|
|
149
|
+
"secondNodeId": {
|
|
143
150
|
"type": "string"
|
|
144
151
|
},
|
|
145
152
|
"category": {
|
|
146
153
|
"type": "string",
|
|
147
154
|
"enum": [
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
155
|
+
"MAN",
|
|
156
|
+
"MACHINE",
|
|
157
|
+
"MATERIAL",
|
|
158
|
+
"ENVIRONMENT"
|
|
152
159
|
]
|
|
153
160
|
},
|
|
154
161
|
"workElement": {
|
|
@@ -168,13 +175,16 @@
|
|
|
168
175
|
"path": "/api/v2/fourm/{id}",
|
|
169
176
|
"method": "GET",
|
|
170
177
|
"operationId": "get_2",
|
|
171
|
-
"summary": "Get 4M
|
|
172
|
-
"description": "
|
|
173
|
-
"tags": [
|
|
178
|
+
"summary": "Get a 4M record by ID",
|
|
179
|
+
"description": "Returns a single 4M cause record by its numeric ID. Throws 404 if the record does not exist.",
|
|
180
|
+
"tags": [
|
|
181
|
+
"4M"
|
|
182
|
+
],
|
|
174
183
|
"parameters": [
|
|
175
184
|
{
|
|
176
185
|
"name": "id",
|
|
177
186
|
"in": "path",
|
|
187
|
+
"description": "4M record ID",
|
|
178
188
|
"required": true,
|
|
179
189
|
"schema": {
|
|
180
190
|
"type": "integer",
|
|
@@ -197,19 +207,19 @@
|
|
|
197
207
|
"projectId": {
|
|
198
208
|
"type": "string"
|
|
199
209
|
},
|
|
200
|
-
"
|
|
210
|
+
"functionNodeId": {
|
|
201
211
|
"type": "string"
|
|
202
212
|
},
|
|
203
|
-
"
|
|
213
|
+
"secondNodeId": {
|
|
204
214
|
"type": "string"
|
|
205
215
|
},
|
|
206
216
|
"category": {
|
|
207
217
|
"type": "string",
|
|
208
218
|
"enum": [
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
"
|
|
219
|
+
"MAN",
|
|
220
|
+
"MACHINE",
|
|
221
|
+
"MATERIAL",
|
|
222
|
+
"ENVIRONMENT"
|
|
213
223
|
]
|
|
214
224
|
},
|
|
215
225
|
"workElement": {
|
|
@@ -229,13 +239,16 @@
|
|
|
229
239
|
"path": "/api/v2/fourm/{id}",
|
|
230
240
|
"method": "PUT",
|
|
231
241
|
"operationId": "update_3",
|
|
232
|
-
"summary": "Update 4M
|
|
233
|
-
"description": "
|
|
234
|
-
"tags": [
|
|
242
|
+
"summary": "Update a 4M record",
|
|
243
|
+
"description": "Updates an existing 4M cause record by its numeric ID. Returns the updated record as a FourMDTO.",
|
|
244
|
+
"tags": [
|
|
245
|
+
"4M"
|
|
246
|
+
],
|
|
235
247
|
"parameters": [
|
|
236
248
|
{
|
|
237
249
|
"name": "id",
|
|
238
250
|
"in": "path",
|
|
251
|
+
"description": "4M record ID to update",
|
|
239
252
|
"required": true,
|
|
240
253
|
"schema": {
|
|
241
254
|
"type": "integer",
|
|
@@ -252,10 +265,10 @@
|
|
|
252
265
|
"category": {
|
|
253
266
|
"type": "string",
|
|
254
267
|
"enum": [
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
"
|
|
268
|
+
"MAN",
|
|
269
|
+
"MACHINE",
|
|
270
|
+
"MATERIAL",
|
|
271
|
+
"ENVIRONMENT"
|
|
259
272
|
]
|
|
260
273
|
},
|
|
261
274
|
"workElement": {
|
|
@@ -283,19 +296,19 @@
|
|
|
283
296
|
"projectId": {
|
|
284
297
|
"type": "string"
|
|
285
298
|
},
|
|
286
|
-
"
|
|
299
|
+
"functionNodeId": {
|
|
287
300
|
"type": "string"
|
|
288
301
|
},
|
|
289
|
-
"
|
|
302
|
+
"secondNodeId": {
|
|
290
303
|
"type": "string"
|
|
291
304
|
},
|
|
292
305
|
"category": {
|
|
293
306
|
"type": "string",
|
|
294
307
|
"enum": [
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
308
|
+
"MAN",
|
|
309
|
+
"MACHINE",
|
|
310
|
+
"MATERIAL",
|
|
311
|
+
"ENVIRONMENT"
|
|
299
312
|
]
|
|
300
313
|
},
|
|
301
314
|
"workElement": {
|
|
@@ -315,13 +328,16 @@
|
|
|
315
328
|
"path": "/api/v2/fourm/{id}",
|
|
316
329
|
"method": "DELETE",
|
|
317
330
|
"operationId": "delete_3",
|
|
318
|
-
"summary": "Delete 4M
|
|
319
|
-
"description": "
|
|
320
|
-
"tags": [
|
|
331
|
+
"summary": "Delete a 4M record",
|
|
332
|
+
"description": "Deletes a 4M cause record by its numeric ID. Returns HTTP 204 No Content on success.",
|
|
333
|
+
"tags": [
|
|
334
|
+
"4M"
|
|
335
|
+
],
|
|
321
336
|
"parameters": [
|
|
322
337
|
{
|
|
323
338
|
"name": "id",
|
|
324
339
|
"in": "path",
|
|
340
|
+
"description": "4M record ID to delete",
|
|
325
341
|
"required": true,
|
|
326
342
|
"schema": {
|
|
327
343
|
"type": "integer",
|
|
@@ -16,9 +16,15 @@
|
|
|
16
16
|
{
|
|
17
17
|
"name": "scope",
|
|
18
18
|
"in": "query",
|
|
19
|
-
"description": "
|
|
19
|
+
"description": "Search scope (default: my)",
|
|
20
20
|
"schema": {
|
|
21
|
-
"type": "string"
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": [
|
|
23
|
+
"MY",
|
|
24
|
+
"DIVISION",
|
|
25
|
+
"ALL"
|
|
26
|
+
],
|
|
27
|
+
"default": "my"
|
|
22
28
|
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
@@ -67,9 +73,17 @@
|
|
|
67
73
|
{
|
|
68
74
|
"name": "fmeaType",
|
|
69
75
|
"in": "query",
|
|
70
|
-
"description": "FMEA type filter
|
|
76
|
+
"description": "FMEA type filter",
|
|
71
77
|
"schema": {
|
|
72
|
-
"type": "string"
|
|
78
|
+
"type": "string",
|
|
79
|
+
"enum": [
|
|
80
|
+
"DESIGN",
|
|
81
|
+
"PROCESS",
|
|
82
|
+
"EQUIPMENT",
|
|
83
|
+
"FA",
|
|
84
|
+
"FTA",
|
|
85
|
+
"CPLAN"
|
|
86
|
+
]
|
|
73
87
|
}
|
|
74
88
|
},
|
|
75
89
|
{
|
|
@@ -77,7 +91,20 @@
|
|
|
77
91
|
"in": "query",
|
|
78
92
|
"description": "Project status filter",
|
|
79
93
|
"schema": {
|
|
80
|
-
"type": "string"
|
|
94
|
+
"type": "string",
|
|
95
|
+
"enum": [
|
|
96
|
+
"IN_PROGRESS",
|
|
97
|
+
"REFUSED",
|
|
98
|
+
"SELF_COMPLETED",
|
|
99
|
+
"REVIEW",
|
|
100
|
+
"APPROVE",
|
|
101
|
+
"SCORE",
|
|
102
|
+
"COMPLETED",
|
|
103
|
+
"ASK_MODIFY_REVIEW",
|
|
104
|
+
"ASK_MODIFY_APPROVE",
|
|
105
|
+
"DELAY",
|
|
106
|
+
"NA"
|
|
107
|
+
]
|
|
81
108
|
}
|
|
82
109
|
},
|
|
83
110
|
{
|
|
@@ -220,7 +247,7 @@
|
|
|
220
247
|
"method": "GET",
|
|
221
248
|
"operationId": "get_3",
|
|
222
249
|
"summary": "Get project details",
|
|
223
|
-
"description": "
|
|
250
|
+
"description": "Returns the full project details for the given project ID. Throws 404 if the project does not exist.",
|
|
224
251
|
"tags": [
|
|
225
252
|
"Project"
|
|
226
253
|
],
|
|
@@ -425,9 +452,17 @@
|
|
|
425
452
|
{
|
|
426
453
|
"name": "fmeaType",
|
|
427
454
|
"in": "query",
|
|
428
|
-
"description": "FMEA type filter
|
|
455
|
+
"description": "FMEA type filter",
|
|
429
456
|
"schema": {
|
|
430
|
-
"type": "string"
|
|
457
|
+
"type": "string",
|
|
458
|
+
"enum": [
|
|
459
|
+
"DESIGN",
|
|
460
|
+
"PROCESS",
|
|
461
|
+
"EQUIPMENT",
|
|
462
|
+
"FA",
|
|
463
|
+
"FTA",
|
|
464
|
+
"CPLAN"
|
|
465
|
+
]
|
|
431
466
|
}
|
|
432
467
|
},
|
|
433
468
|
{
|
|
@@ -435,7 +470,20 @@
|
|
|
435
470
|
"in": "query",
|
|
436
471
|
"description": "Project status filter",
|
|
437
472
|
"schema": {
|
|
438
|
-
"type": "string"
|
|
473
|
+
"type": "string",
|
|
474
|
+
"enum": [
|
|
475
|
+
"IN_PROGRESS",
|
|
476
|
+
"REFUSED",
|
|
477
|
+
"SELF_COMPLETED",
|
|
478
|
+
"REVIEW",
|
|
479
|
+
"APPROVE",
|
|
480
|
+
"SCORE",
|
|
481
|
+
"COMPLETED",
|
|
482
|
+
"ASK_MODIFY_REVIEW",
|
|
483
|
+
"ASK_MODIFY_APPROVE",
|
|
484
|
+
"DELAY",
|
|
485
|
+
"NA"
|
|
486
|
+
]
|
|
439
487
|
}
|
|
440
488
|
},
|
|
441
489
|
{
|
|
@@ -579,7 +627,7 @@
|
|
|
579
627
|
"method": "GET",
|
|
580
628
|
"operationId": "getSummary",
|
|
581
629
|
"summary": "Get project summary",
|
|
582
|
-
"description": "
|
|
630
|
+
"description": "Returns a lightweight summary of a project including key metrics. Throws 404 if the project does not exist.",
|
|
583
631
|
"tags": [
|
|
584
632
|
"Project"
|
|
585
633
|
],
|
|
@@ -705,15 +753,6 @@
|
|
|
705
753
|
"schema": {
|
|
706
754
|
"type": "string"
|
|
707
755
|
}
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
"name": "useSynonym",
|
|
711
|
-
"in": "query",
|
|
712
|
-
"description": "Whether to expand q with synonym dictionary terms (default: true)",
|
|
713
|
-
"schema": {
|
|
714
|
-
"type": "boolean",
|
|
715
|
-
"default": true
|
|
716
|
-
}
|
|
717
756
|
}
|
|
718
757
|
],
|
|
719
758
|
"responses": {
|
|
@@ -791,7 +830,7 @@
|
|
|
791
830
|
"method": "GET",
|
|
792
831
|
"operationId": "getJoinRequestsByProjectId",
|
|
793
832
|
"summary": "List project join requests",
|
|
794
|
-
"description": "
|
|
833
|
+
"description": "Returns all pending and processed join requests for a project. Requires at least MEMBER role in the project.",
|
|
795
834
|
"tags": [
|
|
796
835
|
"Project"
|
|
797
836
|
],
|
|
@@ -952,7 +991,7 @@
|
|
|
952
991
|
"method": "POST",
|
|
953
992
|
"operationId": "createJoinRequest",
|
|
954
993
|
"summary": "Create a project join request",
|
|
955
|
-
"description": "
|
|
994
|
+
"description": "Creates a join request for the authenticated user to join the specified project. Requires the user to not already be a member (NONE role). Returns the created request ID and a Location header.",
|
|
956
995
|
"tags": [
|
|
957
996
|
"Project"
|
|
958
997
|
],
|
|
@@ -995,7 +1034,7 @@
|
|
|
995
1034
|
"method": "PUT",
|
|
996
1035
|
"operationId": "updateJoinRequests",
|
|
997
1036
|
"summary": "Approve or reject project join requests in batch",
|
|
998
|
-
"description": "
|
|
1037
|
+
"description": "Processes multiple join requests in a single call by approving or rejecting them. Requires at least MEMBER role in the project.",
|
|
999
1038
|
"tags": [
|
|
1000
1039
|
"Project"
|
|
1001
1040
|
],
|
|
@@ -1052,7 +1091,7 @@
|
|
|
1052
1091
|
"method": "PUT",
|
|
1053
1092
|
"operationId": "updateJoinRequest",
|
|
1054
1093
|
"summary": "Approve or reject a project join request",
|
|
1055
|
-
"description": "
|
|
1094
|
+
"description": "Processes a single join request by approving or rejecting it. Requires at least MEMBER role in the project.",
|
|
1056
1095
|
"tags": [
|
|
1057
1096
|
"Project"
|
|
1058
1097
|
],
|
|
@@ -1116,6 +1155,7 @@
|
|
|
1116
1155
|
{
|
|
1117
1156
|
"name": "projectId",
|
|
1118
1157
|
"in": "path",
|
|
1158
|
+
"description": "Project ID whose high items to list",
|
|
1119
1159
|
"required": true,
|
|
1120
1160
|
"schema": {
|
|
1121
1161
|
"type": "string"
|
|
@@ -1124,7 +1164,7 @@
|
|
|
1124
1164
|
{
|
|
1125
1165
|
"name": "q",
|
|
1126
1166
|
"in": "query",
|
|
1127
|
-
"description": "
|
|
1167
|
+
"description": "Keyword filter for high-item titles (optional)",
|
|
1128
1168
|
"schema": {
|
|
1129
1169
|
"type": "string"
|
|
1130
1170
|
}
|
|
@@ -1174,7 +1214,7 @@
|
|
|
1174
1214
|
"method": "PATCH",
|
|
1175
1215
|
"operationId": "patchProject",
|
|
1176
1216
|
"summary": "Partially update project details",
|
|
1177
|
-
"description": "",
|
|
1217
|
+
"description": "Applies partial updates to a project using the PATCH method. Only provided fields are updated; omitted fields remain unchanged. Returns the updated project details.",
|
|
1178
1218
|
"tags": [
|
|
1179
1219
|
"Project"
|
|
1180
1220
|
],
|
|
@@ -1372,11 +1412,14 @@
|
|
|
1372
1412
|
"operationId": "refreshWorksheetSnapshot",
|
|
1373
1413
|
"summary": "Refresh worksheet dashboard snapshots",
|
|
1374
1414
|
"description": "Manually refreshes worksheet dashboard snapshots. If divisionId is specified, only that division is refreshed; otherwise all cached divisions are refreshed sequentially. Divisions already being refreshed are skipped. Executes synchronously and returns the result after completion.",
|
|
1375
|
-
"tags": [
|
|
1415
|
+
"tags": [
|
|
1416
|
+
"Admin - Dashboard"
|
|
1417
|
+
],
|
|
1376
1418
|
"parameters": [
|
|
1377
1419
|
{
|
|
1378
1420
|
"name": "divisionId",
|
|
1379
1421
|
"in": "query",
|
|
1422
|
+
"description": "Division ID to refresh; if omitted, all cached divisions are refreshed",
|
|
1380
1423
|
"schema": {
|
|
1381
1424
|
"type": "integer",
|
|
1382
1425
|
"format": "int32"
|
|
@@ -24,9 +24,17 @@
|
|
|
24
24
|
{
|
|
25
25
|
"name": "status",
|
|
26
26
|
"in": "query",
|
|
27
|
-
"description": "Recommended action status filter
|
|
27
|
+
"description": "Recommended action status filter",
|
|
28
28
|
"schema": {
|
|
29
|
-
"type": "string"
|
|
29
|
+
"type": "string",
|
|
30
|
+
"enum": [
|
|
31
|
+
"NOT_COMPLETED",
|
|
32
|
+
"IN_PROGRESS",
|
|
33
|
+
"DELAY",
|
|
34
|
+
"COMPLETED",
|
|
35
|
+
"ALL"
|
|
36
|
+
],
|
|
37
|
+
"default": "All"
|
|
30
38
|
}
|
|
31
39
|
},
|
|
32
40
|
{
|
|
@@ -49,9 +57,14 @@
|
|
|
49
57
|
{
|
|
50
58
|
"name": "scope",
|
|
51
59
|
"in": "query",
|
|
52
|
-
"description": "Search scope
|
|
60
|
+
"description": "Search scope (default: my)",
|
|
53
61
|
"schema": {
|
|
54
62
|
"type": "string",
|
|
63
|
+
"enum": [
|
|
64
|
+
"MY",
|
|
65
|
+
"DIVISION",
|
|
66
|
+
"ALL"
|
|
67
|
+
],
|
|
55
68
|
"default": "my"
|
|
56
69
|
}
|
|
57
70
|
},
|