fmea-api-mcp-server 1.1.46 → 1.1.47
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/api-keys/core.json +80 -32
- package/endpoints/v2/block-diagrams/core.json +6 -3
- package/endpoints/v2/condition-library/core.json +65 -2
- package/endpoints/v2/condition-library-excel/core.json +1 -1
- package/endpoints/v2/divisions/core.json +0 -9
- package/endpoints/v2/documents/core.json +49 -21
- 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 +13 -18
- package/endpoints/v2/search/core.json +6 -9
- package/endpoints/v2/system/core.json +17 -9
- 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 +7 -2
- 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/projects/{projectId}/documents/categories/{documentCategory}",
|
|
8
8
|
"method": "GET",
|
|
9
9
|
"operationId": "listByCategory",
|
|
10
|
-
"summary": "List documents by category",
|
|
11
|
-
"description": "
|
|
12
|
-
"tags": [
|
|
10
|
+
"summary": "List documents by category for a project",
|
|
11
|
+
"description": "Returns documents in the specified category for the given project. Document categories group related files (e.g., FMEA reports, reference materials).",
|
|
12
|
+
"tags": [
|
|
13
|
+
"Documents"
|
|
14
|
+
],
|
|
13
15
|
"parameters": [
|
|
14
16
|
{
|
|
15
17
|
"name": "projectId",
|
|
16
18
|
"in": "path",
|
|
19
|
+
"description": "Project ID whose documents to list",
|
|
17
20
|
"required": true,
|
|
18
21
|
"schema": {
|
|
19
22
|
"type": "string"
|
|
@@ -22,6 +25,7 @@
|
|
|
22
25
|
{
|
|
23
26
|
"name": "documentCategory",
|
|
24
27
|
"in": "path",
|
|
28
|
+
"description": "Document category (e.g., REPORT, REFERENCE)",
|
|
25
29
|
"required": true,
|
|
26
30
|
"schema": {
|
|
27
31
|
"type": "string",
|
|
@@ -88,13 +92,16 @@
|
|
|
88
92
|
"path": "/api/v2/projects/{projectId}/documents/categories/{documentCategory}",
|
|
89
93
|
"method": "POST",
|
|
90
94
|
"operationId": "add_1",
|
|
91
|
-
"summary": "Add document to category",
|
|
92
|
-
"description": "
|
|
93
|
-
"tags": [
|
|
95
|
+
"summary": "Add a document to a project category",
|
|
96
|
+
"description": "Adds a new document entry to the specified category within the project. The document file must be uploaded separately via POST /api/v2/files. Requires project membership.",
|
|
97
|
+
"tags": [
|
|
98
|
+
"Documents"
|
|
99
|
+
],
|
|
94
100
|
"parameters": [
|
|
95
101
|
{
|
|
96
102
|
"name": "projectId",
|
|
97
103
|
"in": "path",
|
|
104
|
+
"description": "Project ID to add the document to",
|
|
98
105
|
"required": true,
|
|
99
106
|
"schema": {
|
|
100
107
|
"type": "string"
|
|
@@ -103,6 +110,7 @@
|
|
|
103
110
|
{
|
|
104
111
|
"name": "documentCategory",
|
|
105
112
|
"in": "path",
|
|
113
|
+
"description": "Document category to add to (e.g., REPORT, REFERENCE)",
|
|
106
114
|
"required": true,
|
|
107
115
|
"schema": {
|
|
108
116
|
"type": "string",
|
|
@@ -192,13 +200,16 @@
|
|
|
192
200
|
"path": "/api/v2/projects/{projectId}/documents/{documentId}",
|
|
193
201
|
"method": "GET",
|
|
194
202
|
"operationId": "get_8",
|
|
195
|
-
"summary": "Get document by ID",
|
|
196
|
-
"description": "
|
|
197
|
-
"tags": [
|
|
203
|
+
"summary": "Get a project document by ID",
|
|
204
|
+
"description": "Returns a single project document by its numeric ID. The document must belong to the specified project.",
|
|
205
|
+
"tags": [
|
|
206
|
+
"Documents"
|
|
207
|
+
],
|
|
198
208
|
"parameters": [
|
|
199
209
|
{
|
|
200
210
|
"name": "projectId",
|
|
201
211
|
"in": "path",
|
|
212
|
+
"description": "Project ID that owns the document",
|
|
202
213
|
"required": true,
|
|
203
214
|
"schema": {
|
|
204
215
|
"type": "string"
|
|
@@ -207,6 +218,7 @@
|
|
|
207
218
|
{
|
|
208
219
|
"name": "documentId",
|
|
209
220
|
"in": "path",
|
|
221
|
+
"description": "Document ID (numeric)",
|
|
210
222
|
"required": true,
|
|
211
223
|
"schema": {
|
|
212
224
|
"type": "integer",
|
|
@@ -265,13 +277,16 @@
|
|
|
265
277
|
"path": "/api/v2/projects/{projectId}/documents/{documentId}",
|
|
266
278
|
"method": "DELETE",
|
|
267
279
|
"operationId": "delete_8",
|
|
268
|
-
"summary": "Delete document",
|
|
269
|
-
"description": "Permanently
|
|
270
|
-
"tags": [
|
|
280
|
+
"summary": "Delete a project document",
|
|
281
|
+
"description": "Permanently deletes the specified document from the project. Returns 204 No Content on success. Requires project membership.",
|
|
282
|
+
"tags": [
|
|
283
|
+
"Documents"
|
|
284
|
+
],
|
|
271
285
|
"parameters": [
|
|
272
286
|
{
|
|
273
287
|
"name": "projectId",
|
|
274
288
|
"in": "path",
|
|
289
|
+
"description": "Project ID that owns the document",
|
|
275
290
|
"required": true,
|
|
276
291
|
"schema": {
|
|
277
292
|
"type": "string"
|
|
@@ -280,6 +295,7 @@
|
|
|
280
295
|
{
|
|
281
296
|
"name": "documentId",
|
|
282
297
|
"in": "path",
|
|
298
|
+
"description": "Document ID to delete (numeric)",
|
|
283
299
|
"required": true,
|
|
284
300
|
"schema": {
|
|
285
301
|
"type": "integer",
|
|
@@ -301,13 +317,16 @@
|
|
|
301
317
|
"path": "/api/v2/projects/{projectId}/documents/{documentId}/download",
|
|
302
318
|
"method": "GET",
|
|
303
319
|
"operationId": "getDownloadLink_2",
|
|
304
|
-
"summary": "Get
|
|
305
|
-
"description": "Generates a
|
|
306
|
-
"tags": [
|
|
320
|
+
"summary": "Get download link for a project document",
|
|
321
|
+
"description": "Generates and returns a download link (FileDownloadResponseDTO) for the specified document. Use GET /api/v1/files/{uuid} with the returned URI to download the actual file.",
|
|
322
|
+
"tags": [
|
|
323
|
+
"Documents"
|
|
324
|
+
],
|
|
307
325
|
"parameters": [
|
|
308
326
|
{
|
|
309
327
|
"name": "projectId",
|
|
310
328
|
"in": "path",
|
|
329
|
+
"description": "Project ID that owns the document",
|
|
311
330
|
"required": true,
|
|
312
331
|
"schema": {
|
|
313
332
|
"type": "string"
|
|
@@ -316,6 +335,7 @@
|
|
|
316
335
|
{
|
|
317
336
|
"name": "documentId",
|
|
318
337
|
"in": "path",
|
|
338
|
+
"description": "Document ID to download (numeric)",
|
|
319
339
|
"required": true,
|
|
320
340
|
"schema": {
|
|
321
341
|
"type": "integer",
|
|
@@ -349,13 +369,16 @@
|
|
|
349
369
|
"path": "/api/v2/projects/{projectId}/documents",
|
|
350
370
|
"method": "GET",
|
|
351
371
|
"operationId": "list_14",
|
|
352
|
-
"summary": "List all
|
|
353
|
-
"description": "
|
|
354
|
-
"tags": [
|
|
372
|
+
"summary": "List all documents for a project",
|
|
373
|
+
"description": "Returns all documents associated with the specified project, across all categories.",
|
|
374
|
+
"tags": [
|
|
375
|
+
"Documents"
|
|
376
|
+
],
|
|
355
377
|
"parameters": [
|
|
356
378
|
{
|
|
357
379
|
"name": "projectId",
|
|
358
380
|
"in": "path",
|
|
381
|
+
"description": "Project ID whose documents to list",
|
|
359
382
|
"required": true,
|
|
360
383
|
"schema": {
|
|
361
384
|
"type": "string"
|
|
@@ -416,13 +439,16 @@
|
|
|
416
439
|
"path": "/api/v2/projects/{projectId}/documents/categories/{documentCategory}/path/{documentPath}",
|
|
417
440
|
"method": "GET",
|
|
418
441
|
"operationId": "listByCategoryAndPath",
|
|
419
|
-
"summary": "List documents by category and path",
|
|
420
|
-
"description": "
|
|
421
|
-
"tags": [
|
|
442
|
+
"summary": "List documents by category and path for a project",
|
|
443
|
+
"description": "Returns documents that match both the specified category and virtual path prefix. Supports hierarchical document organization within a category.",
|
|
444
|
+
"tags": [
|
|
445
|
+
"Documents"
|
|
446
|
+
],
|
|
422
447
|
"parameters": [
|
|
423
448
|
{
|
|
424
449
|
"name": "projectId",
|
|
425
450
|
"in": "path",
|
|
451
|
+
"description": "Project ID whose documents to list",
|
|
426
452
|
"required": true,
|
|
427
453
|
"schema": {
|
|
428
454
|
"type": "string"
|
|
@@ -431,6 +457,7 @@
|
|
|
431
457
|
{
|
|
432
458
|
"name": "documentCategory",
|
|
433
459
|
"in": "path",
|
|
460
|
+
"description": "Document category (e.g., REPORT, REFERENCE)",
|
|
434
461
|
"required": true,
|
|
435
462
|
"schema": {
|
|
436
463
|
"type": "string",
|
|
@@ -445,6 +472,7 @@
|
|
|
445
472
|
{
|
|
446
473
|
"name": "documentPath",
|
|
447
474
|
"in": "path",
|
|
475
|
+
"description": "Virtual document path prefix for filtering",
|
|
448
476
|
"required": true,
|
|
449
477
|
"schema": {
|
|
450
478
|
"type": "string"
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
{
|
|
7
7
|
"path": "/api/v2/excel/{uuid}",
|
|
8
8
|
"method": "GET",
|
|
9
|
-
"summary": "Parse all sheets
|
|
10
|
-
"description": "
|
|
9
|
+
"summary": "Parse all sheets from an uploaded Excel file",
|
|
10
|
+
"description": "Parses all sheets from a previously uploaded Excel file and returns them as a list of POISheet objects. Requires a prior file upload via POST /api/v2/files. The uuid is the file identifier returned by the upload endpoint. startRowNumber specifies which row to begin parsing (1-based). reindexFromZero resets row indices to start from 0.",
|
|
11
11
|
"tags": [
|
|
12
|
-
"
|
|
12
|
+
"Excel"
|
|
13
13
|
],
|
|
14
14
|
"operationId": "parseAll",
|
|
15
15
|
"x-dependency-warning": "REQUIRES PRIOR FILE UPLOAD via [POST /api/v2/files]. The {uuid} parameter is the file ID returned by the upload endpoint.",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
{
|
|
18
18
|
"name": "uuid",
|
|
19
19
|
"in": "path",
|
|
20
|
+
"description": "UUID of the uploaded Excel file (returned by POST /api/v2/files)",
|
|
20
21
|
"required": true,
|
|
21
22
|
"schema": {
|
|
22
23
|
"type": "string"
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
{
|
|
26
27
|
"name": "startRowNumber",
|
|
27
28
|
"in": "query",
|
|
29
|
+
"description": "Row number to start parsing from (1-based, optional)",
|
|
28
30
|
"schema": {
|
|
29
31
|
"type": "integer",
|
|
30
32
|
"format": "int32"
|
|
@@ -33,6 +35,7 @@
|
|
|
33
35
|
{
|
|
34
36
|
"name": "reindexFromZero",
|
|
35
37
|
"in": "query",
|
|
38
|
+
"description": "Whether to reindex row numbers to start from 0 (default: true)",
|
|
36
39
|
"schema": {
|
|
37
40
|
"type": "boolean",
|
|
38
41
|
"default": true
|
|
@@ -58,10 +61,10 @@
|
|
|
58
61
|
{
|
|
59
62
|
"path": "/api/v2/excel/{uuid}/sheets/{sheetIndex}",
|
|
60
63
|
"method": "GET",
|
|
61
|
-
"summary": "Parse specific sheet
|
|
62
|
-
"description": "
|
|
64
|
+
"summary": "Parse a specific sheet from an uploaded Excel file",
|
|
65
|
+
"description": "Parses a single sheet from a previously uploaded Excel file by its index. Requires a prior file upload via POST /api/v2/files. The uuid is the file identifier returned by the upload endpoint. startRowNumber specifies which row to begin parsing (1-based). reindexFromZero resets row indices to start from 0.",
|
|
63
66
|
"tags": [
|
|
64
|
-
"
|
|
67
|
+
"Excel"
|
|
65
68
|
],
|
|
66
69
|
"operationId": "parseSheet",
|
|
67
70
|
"x-dependency-warning": "REQUIRES PRIOR FILE UPLOAD via [POST /api/v2/files]. The {uuid} parameter is the file ID returned by the upload endpoint.",
|
|
@@ -69,6 +72,7 @@
|
|
|
69
72
|
{
|
|
70
73
|
"name": "uuid",
|
|
71
74
|
"in": "path",
|
|
75
|
+
"description": "UUID of the uploaded Excel file (returned by POST /api/v2/files)",
|
|
72
76
|
"required": true,
|
|
73
77
|
"schema": {
|
|
74
78
|
"type": "string"
|
|
@@ -77,6 +81,7 @@
|
|
|
77
81
|
{
|
|
78
82
|
"name": "sheetIndex",
|
|
79
83
|
"in": "path",
|
|
84
|
+
"description": "Zero-based index of the sheet to parse",
|
|
80
85
|
"required": true,
|
|
81
86
|
"schema": {
|
|
82
87
|
"type": "integer",
|
|
@@ -86,6 +91,7 @@
|
|
|
86
91
|
{
|
|
87
92
|
"name": "startRowNumber",
|
|
88
93
|
"in": "query",
|
|
94
|
+
"description": "Row number to start parsing from (1-based, optional)",
|
|
89
95
|
"schema": {
|
|
90
96
|
"type": "integer",
|
|
91
97
|
"format": "int32"
|
|
@@ -94,6 +100,7 @@
|
|
|
94
100
|
{
|
|
95
101
|
"name": "reindexFromZero",
|
|
96
102
|
"in": "query",
|
|
103
|
+
"description": "Whether to reindex row numbers to start from 0 (default: true)",
|
|
97
104
|
"schema": {
|
|
98
105
|
"type": "boolean",
|
|
99
106
|
"default": true
|
|
@@ -116,9 +123,11 @@
|
|
|
116
123
|
{
|
|
117
124
|
"path": "/api/v2/excel/generate",
|
|
118
125
|
"method": "POST",
|
|
119
|
-
"summary": "Generate Excel
|
|
120
|
-
"description": "
|
|
121
|
-
"tags": [
|
|
126
|
+
"summary": "Generate an Excel file from spreadsheet data",
|
|
127
|
+
"description": "Converts myspreadsheet worksheet data to an Excel (.xlsx) file. Returns a download URI (FileDownloadResponseDTO) for the generated file. Download the file using the returned URI via GET /api/v1/files/{uuid}.",
|
|
128
|
+
"tags": [
|
|
129
|
+
"Excel"
|
|
130
|
+
],
|
|
122
131
|
"operationId": "generate",
|
|
123
132
|
"parameters": [],
|
|
124
133
|
"requestBody": {
|
|
@@ -210,11 +210,11 @@
|
|
|
210
210
|
"fmmBlockDiagramType": {
|
|
211
211
|
"type": "string",
|
|
212
212
|
"enum": [
|
|
213
|
-
"
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
"
|
|
213
|
+
"FMM_FUNCTION",
|
|
214
|
+
"FMM_STRUCTURE",
|
|
215
|
+
"FMM_FUNCTION_STRUCTURE",
|
|
216
|
+
"FMM_STRUCTURE_FUNCTION",
|
|
217
|
+
"FMM_PROCESS"
|
|
218
218
|
]
|
|
219
219
|
},
|
|
220
220
|
"fmeaType": {
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
"path": "/api/v2/files",
|
|
8
8
|
"method": "POST",
|
|
9
9
|
"operationId": "upload",
|
|
10
|
-
"summary": "Upload files",
|
|
11
|
-
"description": "
|
|
12
|
-
"tags": [
|
|
10
|
+
"summary": "Upload one or more files",
|
|
11
|
+
"description": "Accepts a multipart/form-data request with one or more files in the 'files' field. Stores each file and returns a list of upload results including the assigned UUID per file. The UUID is used as a reference in subsequent import operations (e.g., POST /api/v2/projects/{projectId}/worksheet-excel/{uuid}).",
|
|
12
|
+
"tags": [
|
|
13
|
+
"Files"
|
|
14
|
+
],
|
|
13
15
|
"parameters": [],
|
|
14
16
|
"requestBody": {
|
|
15
17
|
"content": {
|
|
@@ -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",
|