fmea-api-mcp-server 1.0.0
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/README.md +87 -0
- package/dist/index.js +191 -0
- package/endpoints/v1/authentication.json +171 -0
- package/endpoints/v1/block-diagrams.json +214 -0
- package/endpoints/v1/divisions.json +118 -0
- package/endpoints/v1/failure-modes.json +301 -0
- package/endpoints/v1/files.json +33 -0
- package/endpoints/v1/fta.json +149 -0
- package/endpoints/v1/knowledge-base.json +359 -0
- package/endpoints/v1/projects.json +342 -0
- package/endpoints/v1/synonyms.json +230 -0
- package/endpoints/v1/terms.json +190 -0
- package/endpoints/v1/users.json +214 -0
- package/endpoints/v1/worksheets.json +61 -0
- package/endpoints/v2/api-keys.json +426 -0
- package/endpoints/v2/block-diagrams.json +371 -0
- package/endpoints/v2/divisions.json +34 -0
- package/endpoints/v2/documents.json +266 -0
- package/endpoints/v2/failure-modes.json +93 -0
- package/endpoints/v2/files.json +41 -0
- package/endpoints/v2/fourm.json +204 -0
- package/endpoints/v2/projects.json +271 -0
- package/endpoints/v2/system.json +61 -0
- package/endpoints/v2/templates.json +137 -0
- package/endpoints/v2/users.json +61 -0
- package/endpoints/v2/worksheets.json +530 -0
- package/package.json +25 -0
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "Block Diagrams",
|
|
3
|
+
"version": "v2",
|
|
4
|
+
"description": "블록 다이어그램 관련 API",
|
|
5
|
+
"endpoints": [
|
|
6
|
+
{
|
|
7
|
+
"path": "/api/v2/projects/{projectId}/block-diagrams",
|
|
8
|
+
"method": "GET",
|
|
9
|
+
"operationId": "list_5",
|
|
10
|
+
"summary": "List block diagrams (v2)",
|
|
11
|
+
"description": "Get all block diagrams for a project (version 2)",
|
|
12
|
+
"tags": [],
|
|
13
|
+
"parameters": [
|
|
14
|
+
{
|
|
15
|
+
"name": "projectId",
|
|
16
|
+
"in": "path",
|
|
17
|
+
"required": true,
|
|
18
|
+
"schema": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"requestBody": null,
|
|
24
|
+
"responses": {
|
|
25
|
+
"default": {
|
|
26
|
+
"description": "default response",
|
|
27
|
+
"content": {
|
|
28
|
+
"application/json": {}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"path": "/api/v2/projects/{projectId}/block-diagrams/{blockId}/nodes",
|
|
35
|
+
"method": "GET",
|
|
36
|
+
"operationId": "getNodes",
|
|
37
|
+
"summary": "Get nodes (v2)",
|
|
38
|
+
"description": "Get nodes for a specific block diagram (version 2)",
|
|
39
|
+
"tags": [],
|
|
40
|
+
"parameters": [
|
|
41
|
+
{
|
|
42
|
+
"name": "projectId",
|
|
43
|
+
"in": "path",
|
|
44
|
+
"required": true,
|
|
45
|
+
"schema": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "blockId",
|
|
51
|
+
"in": "path",
|
|
52
|
+
"required": true,
|
|
53
|
+
"schema": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"requestBody": null,
|
|
59
|
+
"responses": {
|
|
60
|
+
"default": {
|
|
61
|
+
"description": "default response",
|
|
62
|
+
"content": {
|
|
63
|
+
"application/json": {}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "/api/v2/projects/{projectId}/block-diagrams/{blockId}/nodes",
|
|
70
|
+
"method": "PUT",
|
|
71
|
+
"operationId": "saveNodes_1",
|
|
72
|
+
"summary": "Save nodes (v2)",
|
|
73
|
+
"description": "Save nodes for a block diagram (version 2)",
|
|
74
|
+
"tags": [],
|
|
75
|
+
"parameters": [
|
|
76
|
+
{
|
|
77
|
+
"name": "projectId",
|
|
78
|
+
"in": "path",
|
|
79
|
+
"required": true,
|
|
80
|
+
"schema": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "blockId",
|
|
86
|
+
"in": "path",
|
|
87
|
+
"required": true,
|
|
88
|
+
"schema": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"requestBody": {
|
|
94
|
+
"content": {
|
|
95
|
+
"application/json": {
|
|
96
|
+
"schema": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"$ref": "#/components/schemas/BlockNodeSaveDTO"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"responses": {
|
|
106
|
+
"default": {
|
|
107
|
+
"description": "default response",
|
|
108
|
+
"content": {
|
|
109
|
+
"*/*": {}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"path": "/api/v2/projects/{projectId}/block-diagrams/{blockId}/nodes/tree",
|
|
116
|
+
"method": "GET",
|
|
117
|
+
"operationId": "getNodesTree",
|
|
118
|
+
"summary": "Get nodes tree",
|
|
119
|
+
"description": "Get nodes in tree structure for a block diagram",
|
|
120
|
+
"tags": [],
|
|
121
|
+
"parameters": [
|
|
122
|
+
{
|
|
123
|
+
"name": "projectId",
|
|
124
|
+
"in": "path",
|
|
125
|
+
"required": true,
|
|
126
|
+
"schema": {
|
|
127
|
+
"type": "string"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "blockId",
|
|
132
|
+
"in": "path",
|
|
133
|
+
"required": true,
|
|
134
|
+
"schema": {
|
|
135
|
+
"type": "string"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"requestBody": null,
|
|
140
|
+
"responses": {
|
|
141
|
+
"default": {
|
|
142
|
+
"description": "default response",
|
|
143
|
+
"content": {
|
|
144
|
+
"application/json": {}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"path": "/api/v2/projects/{projectId}/block-diagrams-excel/{blockId}",
|
|
151
|
+
"method": "GET",
|
|
152
|
+
"operationId": "getDownloadLink",
|
|
153
|
+
"summary": "Get block diagram Excel download link",
|
|
154
|
+
"description": "Generate download link for block diagram Excel file",
|
|
155
|
+
"tags": [],
|
|
156
|
+
"parameters": [
|
|
157
|
+
{
|
|
158
|
+
"name": "projectId",
|
|
159
|
+
"in": "path",
|
|
160
|
+
"required": true,
|
|
161
|
+
"schema": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "blockId",
|
|
167
|
+
"in": "path",
|
|
168
|
+
"required": true,
|
|
169
|
+
"schema": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"requestBody": null,
|
|
175
|
+
"responses": {
|
|
176
|
+
"default": {
|
|
177
|
+
"description": "default response",
|
|
178
|
+
"content": {
|
|
179
|
+
"application/json": {}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"path": "/api/v2/projects/{projectId}/block-diagrams-excel/{uuid}/data",
|
|
186
|
+
"method": "GET",
|
|
187
|
+
"operationId": "getData",
|
|
188
|
+
"summary": "Get block diagram Excel data",
|
|
189
|
+
"description": "Get data from block diagram Excel file",
|
|
190
|
+
"tags": [],
|
|
191
|
+
"parameters": [
|
|
192
|
+
{
|
|
193
|
+
"name": "projectId",
|
|
194
|
+
"in": "path",
|
|
195
|
+
"required": true,
|
|
196
|
+
"schema": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "uuid",
|
|
202
|
+
"in": "path",
|
|
203
|
+
"required": true,
|
|
204
|
+
"schema": {
|
|
205
|
+
"type": "string"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "startRowNumber",
|
|
210
|
+
"in": "query",
|
|
211
|
+
"schema": {
|
|
212
|
+
"type": "integer",
|
|
213
|
+
"format": "int32"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "level",
|
|
218
|
+
"in": "query",
|
|
219
|
+
"schema": {
|
|
220
|
+
"type": "integer",
|
|
221
|
+
"format": "int32"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "item",
|
|
226
|
+
"in": "query",
|
|
227
|
+
"schema": {
|
|
228
|
+
"type": "integer",
|
|
229
|
+
"format": "int32"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "function",
|
|
234
|
+
"in": "query",
|
|
235
|
+
"schema": {
|
|
236
|
+
"type": "integer",
|
|
237
|
+
"format": "int32"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "requirement",
|
|
242
|
+
"in": "query",
|
|
243
|
+
"schema": {
|
|
244
|
+
"type": "integer",
|
|
245
|
+
"format": "int32"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "type",
|
|
250
|
+
"in": "query",
|
|
251
|
+
"schema": {
|
|
252
|
+
"type": "integer",
|
|
253
|
+
"format": "int32"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "processNumber",
|
|
258
|
+
"in": "query",
|
|
259
|
+
"schema": {
|
|
260
|
+
"type": "integer",
|
|
261
|
+
"format": "int32"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "processFlowChartSymbol",
|
|
266
|
+
"in": "query",
|
|
267
|
+
"schema": {
|
|
268
|
+
"type": "integer",
|
|
269
|
+
"format": "int32"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "processFlowChartName",
|
|
274
|
+
"in": "query",
|
|
275
|
+
"schema": {
|
|
276
|
+
"type": "integer",
|
|
277
|
+
"format": "int32"
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"requestBody": null,
|
|
282
|
+
"responses": {
|
|
283
|
+
"default": {
|
|
284
|
+
"description": "default response",
|
|
285
|
+
"content": {
|
|
286
|
+
"*/*": {}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"path": "/api/v2/projects/{projectId}/block-diagrams/{blockDiagramId}/failure-modes/{failureModeId}",
|
|
293
|
+
"method": "GET",
|
|
294
|
+
"operationId": "get",
|
|
295
|
+
"summary": "Get failure mode from block diagram",
|
|
296
|
+
"description": "Get specific failure mode from a block diagram",
|
|
297
|
+
"tags": [],
|
|
298
|
+
"parameters": [
|
|
299
|
+
{
|
|
300
|
+
"name": "projectId",
|
|
301
|
+
"in": "path",
|
|
302
|
+
"required": true,
|
|
303
|
+
"schema": {
|
|
304
|
+
"type": "string"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "blockDiagramId",
|
|
309
|
+
"in": "path",
|
|
310
|
+
"required": true,
|
|
311
|
+
"schema": {
|
|
312
|
+
"type": "string"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "failureModeId",
|
|
317
|
+
"in": "path",
|
|
318
|
+
"required": true,
|
|
319
|
+
"schema": {
|
|
320
|
+
"type": "string"
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
"requestBody": null,
|
|
325
|
+
"responses": {
|
|
326
|
+
"default": {
|
|
327
|
+
"description": "default response",
|
|
328
|
+
"content": {
|
|
329
|
+
"*/*": {}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"path": "/api/v2/template/block-diagrams/{blockDiagramType}/sheet-headers",
|
|
336
|
+
"method": "GET",
|
|
337
|
+
"operationId": "getBlockDiagramSheetHeaders",
|
|
338
|
+
"summary": "Get block diagram sheet headers",
|
|
339
|
+
"description": "Get sheet headers for a specific block diagram type",
|
|
340
|
+
"tags": [],
|
|
341
|
+
"parameters": [
|
|
342
|
+
{
|
|
343
|
+
"name": "blockDiagramType",
|
|
344
|
+
"in": "path",
|
|
345
|
+
"required": true,
|
|
346
|
+
"schema": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"enum": [
|
|
349
|
+
"FUNCTION",
|
|
350
|
+
"STRUCTURE",
|
|
351
|
+
"FUNCTION_STRUCTURE",
|
|
352
|
+
"STRUCTURE_FUNCTION",
|
|
353
|
+
"PROCESS",
|
|
354
|
+
"SUPER_SYSTEM",
|
|
355
|
+
"FUNCTION_ANALYSIS"
|
|
356
|
+
]
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"requestBody": null,
|
|
361
|
+
"responses": {
|
|
362
|
+
"default": {
|
|
363
|
+
"description": "default response",
|
|
364
|
+
"content": {
|
|
365
|
+
"*/*": {}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "Division Management",
|
|
3
|
+
"version": "v2",
|
|
4
|
+
"description": "부서 관리 관련 API",
|
|
5
|
+
"endpoints": [
|
|
6
|
+
{
|
|
7
|
+
"path": "/api/v2/divisions/{divisionId}",
|
|
8
|
+
"method": "GET",
|
|
9
|
+
"summary": "Get division by ID",
|
|
10
|
+
"operationId": "get_1",
|
|
11
|
+
"description": "Retrieve a specific division by its ID",
|
|
12
|
+
"tags": [],
|
|
13
|
+
"parameters": [
|
|
14
|
+
{
|
|
15
|
+
"name": "divisionId",
|
|
16
|
+
"in": "path",
|
|
17
|
+
"required": true,
|
|
18
|
+
"schema": {
|
|
19
|
+
"type": "integer",
|
|
20
|
+
"format": "int32"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"responses": {
|
|
25
|
+
"default": {
|
|
26
|
+
"description": "default response",
|
|
27
|
+
"content": {
|
|
28
|
+
"application/json": {}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "Documents",
|
|
3
|
+
"version": "v2",
|
|
4
|
+
"description": "문서 관리 관련 API",
|
|
5
|
+
"endpoints": [
|
|
6
|
+
{
|
|
7
|
+
"path": "/api/v2/projects/{projectId}/documents/categories/{documentCategory}",
|
|
8
|
+
"method": "GET",
|
|
9
|
+
"operationId": "listByCategory",
|
|
10
|
+
"summary": "List documents by category",
|
|
11
|
+
"description": "Retrieves a list of documents for a specific project and category",
|
|
12
|
+
"tags": [],
|
|
13
|
+
"parameters": [
|
|
14
|
+
{
|
|
15
|
+
"name": "projectId",
|
|
16
|
+
"in": "path",
|
|
17
|
+
"required": true,
|
|
18
|
+
"schema": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "documentCategory",
|
|
24
|
+
"in": "path",
|
|
25
|
+
"required": true,
|
|
26
|
+
"schema": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": ["SYSTEM_DEFINITION", "WORKSHEET", "BLOCK_DIAGRAM", "FMM_DIAGRAM"]
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"requestBody": null,
|
|
33
|
+
"responses": {
|
|
34
|
+
"default": {
|
|
35
|
+
"description": "default response",
|
|
36
|
+
"content": {
|
|
37
|
+
"application/json": {}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"path": "/api/v2/projects/{projectId}/documents/categories/{documentCategory}",
|
|
44
|
+
"method": "POST",
|
|
45
|
+
"operationId": "add_1",
|
|
46
|
+
"summary": "Add document to category",
|
|
47
|
+
"description": "Adds a new document to a specific project and category",
|
|
48
|
+
"tags": [],
|
|
49
|
+
"parameters": [
|
|
50
|
+
{
|
|
51
|
+
"name": "projectId",
|
|
52
|
+
"in": "path",
|
|
53
|
+
"required": true,
|
|
54
|
+
"schema": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "documentCategory",
|
|
60
|
+
"in": "path",
|
|
61
|
+
"required": true,
|
|
62
|
+
"schema": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"enum": ["SYSTEM_DEFINITION", "WORKSHEET", "BLOCK_DIAGRAM", "FMM_DIAGRAM"]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"requestBody": {
|
|
69
|
+
"content": {
|
|
70
|
+
"application/json": {
|
|
71
|
+
"schema": {
|
|
72
|
+
"$ref": "#/components/schemas/DocumentAddDTO"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"responses": {
|
|
78
|
+
"default": {
|
|
79
|
+
"description": "default response",
|
|
80
|
+
"content": {
|
|
81
|
+
"*/*": {}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"path": "/api/v2/projects/{projectId}/documents/{documentId}",
|
|
88
|
+
"method": "GET",
|
|
89
|
+
"operationId": "get_6",
|
|
90
|
+
"summary": "Get document by ID",
|
|
91
|
+
"description": "Retrieves a specific document by its ID",
|
|
92
|
+
"tags": [],
|
|
93
|
+
"parameters": [
|
|
94
|
+
{
|
|
95
|
+
"name": "projectId",
|
|
96
|
+
"in": "path",
|
|
97
|
+
"required": true,
|
|
98
|
+
"schema": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "documentId",
|
|
104
|
+
"in": "path",
|
|
105
|
+
"required": true,
|
|
106
|
+
"schema": {
|
|
107
|
+
"type": "integer",
|
|
108
|
+
"format": "int32"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"requestBody": null,
|
|
113
|
+
"responses": {
|
|
114
|
+
"default": {
|
|
115
|
+
"description": "default response",
|
|
116
|
+
"content": {
|
|
117
|
+
"application/json": {}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"path": "/api/v2/projects/{projectId}/documents/{documentId}",
|
|
124
|
+
"method": "DELETE",
|
|
125
|
+
"operationId": "delete_5",
|
|
126
|
+
"summary": "Delete document",
|
|
127
|
+
"description": "Deletes a specific document by its ID",
|
|
128
|
+
"tags": [],
|
|
129
|
+
"parameters": [
|
|
130
|
+
{
|
|
131
|
+
"name": "projectId",
|
|
132
|
+
"in": "path",
|
|
133
|
+
"required": true,
|
|
134
|
+
"schema": {
|
|
135
|
+
"type": "string"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "documentId",
|
|
140
|
+
"in": "path",
|
|
141
|
+
"required": true,
|
|
142
|
+
"schema": {
|
|
143
|
+
"type": "integer",
|
|
144
|
+
"format": "int32"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"requestBody": null,
|
|
149
|
+
"responses": {
|
|
150
|
+
"default": {
|
|
151
|
+
"description": "default response",
|
|
152
|
+
"content": {
|
|
153
|
+
"*/*": {}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"path": "/api/v2/projects/{projectId}/documents/{documentId}/download",
|
|
160
|
+
"method": "GET",
|
|
161
|
+
"operationId": "getDownloadLink_2",
|
|
162
|
+
"summary": "Get document download link",
|
|
163
|
+
"description": "Retrieves a download link for a specific document",
|
|
164
|
+
"tags": [],
|
|
165
|
+
"parameters": [
|
|
166
|
+
{
|
|
167
|
+
"name": "projectId",
|
|
168
|
+
"in": "path",
|
|
169
|
+
"required": true,
|
|
170
|
+
"schema": {
|
|
171
|
+
"type": "string"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "documentId",
|
|
176
|
+
"in": "path",
|
|
177
|
+
"required": true,
|
|
178
|
+
"schema": {
|
|
179
|
+
"type": "integer",
|
|
180
|
+
"format": "int32"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"requestBody": null,
|
|
185
|
+
"responses": {
|
|
186
|
+
"default": {
|
|
187
|
+
"description": "default response",
|
|
188
|
+
"content": {
|
|
189
|
+
"application/json": {}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"path": "/api/v2/projects/{projectId}/documents",
|
|
196
|
+
"method": "GET",
|
|
197
|
+
"operationId": "list_7",
|
|
198
|
+
"summary": "List all documents",
|
|
199
|
+
"description": "Retrieves a list of all documents for a specific project",
|
|
200
|
+
"tags": [],
|
|
201
|
+
"parameters": [
|
|
202
|
+
{
|
|
203
|
+
"name": "projectId",
|
|
204
|
+
"in": "path",
|
|
205
|
+
"required": true,
|
|
206
|
+
"schema": {
|
|
207
|
+
"type": "string"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"requestBody": null,
|
|
212
|
+
"responses": {
|
|
213
|
+
"default": {
|
|
214
|
+
"description": "default response",
|
|
215
|
+
"content": {
|
|
216
|
+
"application/json": {}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"path": "/api/v2/projects/{projectId}/documents/categories/{documentCategory}/path/{documentPath}",
|
|
223
|
+
"method": "GET",
|
|
224
|
+
"operationId": "listByCategoryAndPath",
|
|
225
|
+
"summary": "List documents by category and path",
|
|
226
|
+
"description": "Retrieves a list of documents filtered by category and document path",
|
|
227
|
+
"tags": [],
|
|
228
|
+
"parameters": [
|
|
229
|
+
{
|
|
230
|
+
"name": "projectId",
|
|
231
|
+
"in": "path",
|
|
232
|
+
"required": true,
|
|
233
|
+
"schema": {
|
|
234
|
+
"type": "string"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "documentCategory",
|
|
239
|
+
"in": "path",
|
|
240
|
+
"required": true,
|
|
241
|
+
"schema": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"enum": ["SYSTEM_DEFINITION", "WORKSHEET", "BLOCK_DIAGRAM", "FMM_DIAGRAM"]
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "documentPath",
|
|
248
|
+
"in": "path",
|
|
249
|
+
"required": true,
|
|
250
|
+
"schema": {
|
|
251
|
+
"type": "string"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"requestBody": null,
|
|
256
|
+
"responses": {
|
|
257
|
+
"default": {
|
|
258
|
+
"description": "default response",
|
|
259
|
+
"content": {
|
|
260
|
+
"application/json": {}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
}
|