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.
@@ -0,0 +1,426 @@
1
+ {
2
+ "category": "API Keys",
3
+ "version": "v2",
4
+ "description": "API 키 관리 관련 API",
5
+ "endpoints": [
6
+ {
7
+ "path": "/api/v2/admin/api-keys/{id}",
8
+ "method": "DELETE",
9
+ "operationId": "deactivate",
10
+ "summary": "Deactivate API key",
11
+ "description": "Deactivates an API key by ID",
12
+ "tags": [],
13
+ "parameters": [
14
+ {
15
+ "name": "id",
16
+ "in": "path",
17
+ "required": true,
18
+ "schema": {
19
+ "type": "integer",
20
+ "format": "int64"
21
+ }
22
+ }
23
+ ],
24
+ "responses": {
25
+ "default": {
26
+ "description": "default response",
27
+ "content": {
28
+ "*/*": {}
29
+ }
30
+ }
31
+ }
32
+ },
33
+ {
34
+ "path": "/api/v2/admin/api-keys/user/{userid}",
35
+ "method": "DELETE",
36
+ "operationId": "deactivateByUserId",
37
+ "summary": "Deactivate API keys by user ID",
38
+ "description": "Deactivates all API keys for a specific user",
39
+ "tags": [],
40
+ "parameters": [
41
+ {
42
+ "name": "userid",
43
+ "in": "path",
44
+ "required": true,
45
+ "schema": {
46
+ "type": "string"
47
+ }
48
+ }
49
+ ],
50
+ "responses": {
51
+ "default": {
52
+ "description": "default response",
53
+ "content": {
54
+ "application/json": {}
55
+ }
56
+ }
57
+ }
58
+ },
59
+ {
60
+ "path": "/api/v2/admin/api-keys/stats",
61
+ "method": "GET",
62
+ "operationId": "getStats",
63
+ "summary": "Get API key statistics",
64
+ "description": "Retrieves statistics about API keys",
65
+ "tags": [],
66
+ "parameters": [],
67
+ "responses": {
68
+ "default": {
69
+ "description": "default response",
70
+ "content": {
71
+ "application/json": {}
72
+ }
73
+ }
74
+ }
75
+ },
76
+ {
77
+ "path": "/api/v2/admin/api-keys",
78
+ "method": "GET",
79
+ "operationId": "list_3",
80
+ "summary": "List API keys (Admin)",
81
+ "description": "Retrieves a paginated list of API keys with optional filters",
82
+ "tags": [],
83
+ "parameters": [
84
+ {
85
+ "name": "userid",
86
+ "in": "query",
87
+ "schema": {
88
+ "type": "string"
89
+ }
90
+ },
91
+ {
92
+ "name": "isActive",
93
+ "in": "query",
94
+ "schema": {
95
+ "type": "boolean"
96
+ }
97
+ },
98
+ {
99
+ "name": "expiredOnly",
100
+ "in": "query",
101
+ "schema": {
102
+ "type": "boolean"
103
+ }
104
+ },
105
+ {
106
+ "name": "page",
107
+ "in": "query",
108
+ "schema": {
109
+ "type": "integer",
110
+ "format": "int32",
111
+ "default": 1
112
+ }
113
+ },
114
+ {
115
+ "name": "size",
116
+ "in": "query",
117
+ "schema": {
118
+ "type": "integer",
119
+ "format": "int32",
120
+ "default": 20
121
+ }
122
+ }
123
+ ],
124
+ "responses": {
125
+ "default": {
126
+ "description": "default response",
127
+ "content": {
128
+ "application/json": {}
129
+ }
130
+ }
131
+ }
132
+ },
133
+ {
134
+ "path": "/api/v2/admin/apikeys/logs",
135
+ "method": "GET",
136
+ "operationId": "getAuditLogs",
137
+ "summary": "Get API key audit logs",
138
+ "description": "Retrieves audit logs for API keys with optional filters",
139
+ "tags": [],
140
+ "parameters": [
141
+ {
142
+ "name": "adminUserid",
143
+ "in": "query",
144
+ "schema": {
145
+ "type": "string"
146
+ }
147
+ },
148
+ {
149
+ "name": "targetUserid",
150
+ "in": "query",
151
+ "schema": {
152
+ "type": "string"
153
+ }
154
+ },
155
+ {
156
+ "name": "action",
157
+ "in": "query",
158
+ "schema": {
159
+ "type": "string"
160
+ }
161
+ },
162
+ {
163
+ "name": "startDate",
164
+ "in": "query",
165
+ "schema": {
166
+ "type": "string"
167
+ }
168
+ },
169
+ {
170
+ "name": "endDate",
171
+ "in": "query",
172
+ "schema": {
173
+ "type": "string"
174
+ }
175
+ },
176
+ {
177
+ "name": "page",
178
+ "in": "query",
179
+ "schema": {
180
+ "type": "integer",
181
+ "format": "int32",
182
+ "default": 1
183
+ }
184
+ },
185
+ {
186
+ "name": "size",
187
+ "in": "query",
188
+ "schema": {
189
+ "type": "integer",
190
+ "format": "int32",
191
+ "default": 20
192
+ }
193
+ }
194
+ ],
195
+ "responses": {
196
+ "default": {
197
+ "description": "default response",
198
+ "content": {
199
+ "application/json": {}
200
+ }
201
+ }
202
+ }
203
+ },
204
+ {
205
+ "path": "/api/v2/api-keys",
206
+ "method": "GET",
207
+ "operationId": "list_4",
208
+ "summary": "List API keys",
209
+ "description": "Retrieves a list of API keys for the current user",
210
+ "tags": [],
211
+ "parameters": [],
212
+ "responses": {
213
+ "default": {
214
+ "description": "default response",
215
+ "content": {
216
+ "application/json": {}
217
+ }
218
+ }
219
+ }
220
+ },
221
+ {
222
+ "path": "/api/v2/api-keys",
223
+ "method": "POST",
224
+ "operationId": "create_1",
225
+ "summary": "Create API key",
226
+ "description": "Creates a new API key",
227
+ "tags": [],
228
+ "parameters": [],
229
+ "requestBody": {
230
+ "content": {
231
+ "application/json": {
232
+ "schema": {
233
+ "$ref": "#/components/schemas/ApiKeyCreateRequest"
234
+ }
235
+ }
236
+ }
237
+ },
238
+ "responses": {
239
+ "default": {
240
+ "description": "default response",
241
+ "content": {
242
+ "application/json": {}
243
+ }
244
+ }
245
+ }
246
+ },
247
+ {
248
+ "path": "/api/v2/api-keys/{id}",
249
+ "method": "DELETE",
250
+ "operationId": "delete_1",
251
+ "summary": "Delete API key",
252
+ "description": "Deletes an API key by ID",
253
+ "tags": [],
254
+ "parameters": [
255
+ {
256
+ "name": "id",
257
+ "in": "path",
258
+ "required": true,
259
+ "schema": {
260
+ "type": "integer",
261
+ "format": "int64"
262
+ }
263
+ }
264
+ ],
265
+ "responses": {
266
+ "default": {
267
+ "description": "default response",
268
+ "content": {
269
+ "*/*": {}
270
+ }
271
+ }
272
+ }
273
+ },
274
+ {
275
+ "path": "/api/v2/api-keys/{id}/logs",
276
+ "method": "GET",
277
+ "operationId": "getLogs",
278
+ "summary": "Get API key usage logs",
279
+ "description": "Retrieves usage logs for a specific API key",
280
+ "tags": [],
281
+ "parameters": [
282
+ {
283
+ "name": "id",
284
+ "in": "path",
285
+ "required": true,
286
+ "schema": {
287
+ "type": "integer",
288
+ "format": "int64"
289
+ }
290
+ },
291
+ {
292
+ "name": "startDate",
293
+ "in": "query",
294
+ "schema": {
295
+ "type": "string"
296
+ }
297
+ },
298
+ {
299
+ "name": "endDate",
300
+ "in": "query",
301
+ "schema": {
302
+ "type": "string"
303
+ }
304
+ },
305
+ {
306
+ "name": "endpoint",
307
+ "in": "query",
308
+ "schema": {
309
+ "type": "string"
310
+ }
311
+ },
312
+ {
313
+ "name": "statusCode",
314
+ "in": "query",
315
+ "schema": {
316
+ "type": "integer",
317
+ "format": "int32"
318
+ }
319
+ },
320
+ {
321
+ "name": "page",
322
+ "in": "query",
323
+ "schema": {
324
+ "type": "integer",
325
+ "format": "int32",
326
+ "default": 0
327
+ }
328
+ },
329
+ {
330
+ "name": "size",
331
+ "in": "query",
332
+ "schema": {
333
+ "type": "integer",
334
+ "format": "int32",
335
+ "default": 20
336
+ }
337
+ }
338
+ ],
339
+ "responses": {
340
+ "default": {
341
+ "description": "default response",
342
+ "content": {
343
+ "application/json": {}
344
+ }
345
+ }
346
+ }
347
+ },
348
+ {
349
+ "path": "/api/v2/api-keys/{id}/logs/summary",
350
+ "method": "GET",
351
+ "operationId": "getLogsSummary",
352
+ "summary": "Get API key logs summary",
353
+ "description": "Retrieves a summary of usage logs for a specific API key",
354
+ "tags": [],
355
+ "parameters": [
356
+ {
357
+ "name": "id",
358
+ "in": "path",
359
+ "required": true,
360
+ "schema": {
361
+ "type": "integer",
362
+ "format": "int64"
363
+ }
364
+ },
365
+ {
366
+ "name": "startDate",
367
+ "in": "query",
368
+ "schema": {
369
+ "type": "string"
370
+ }
371
+ },
372
+ {
373
+ "name": "endDate",
374
+ "in": "query",
375
+ "schema": {
376
+ "type": "string"
377
+ }
378
+ }
379
+ ],
380
+ "responses": {
381
+ "default": {
382
+ "description": "default response",
383
+ "content": {
384
+ "application/json": {}
385
+ }
386
+ }
387
+ }
388
+ },
389
+ {
390
+ "path": "/api/v2/api-keys/{id}/regenerate",
391
+ "method": "POST",
392
+ "operationId": "regenerate",
393
+ "summary": "Regenerate API key",
394
+ "description": "Regenerates an existing API key",
395
+ "tags": [],
396
+ "parameters": [
397
+ {
398
+ "name": "id",
399
+ "in": "path",
400
+ "required": true,
401
+ "schema": {
402
+ "type": "integer",
403
+ "format": "int64"
404
+ }
405
+ }
406
+ ],
407
+ "requestBody": {
408
+ "content": {
409
+ "application/json": {
410
+ "schema": {
411
+ "$ref": "#/components/schemas/ApiKeyRegenerateRequest"
412
+ }
413
+ }
414
+ }
415
+ },
416
+ "responses": {
417
+ "default": {
418
+ "description": "default response",
419
+ "content": {
420
+ "application/json": {}
421
+ }
422
+ }
423
+ }
424
+ }
425
+ ]
426
+ }