fmea-api-mcp-server 1.1.26 → 1.1.27

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,1151 @@
1
+ {
2
+ "category": "Classifications",
3
+ "version": "v2",
4
+ "description": "",
5
+ "endpoints": [
6
+ {
7
+ "path": "/api/v2/classifications/groups/{groupId}",
8
+ "method": "DELETE",
9
+ "operationId": "deleteGroup",
10
+ "summary": "Delete classification group",
11
+ "description": "Deletes the specified classification group and all its associated items.",
12
+ "tags": [
13
+ "Classification"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "groupId",
18
+ "in": "path",
19
+ "description": "Classification group ID to delete",
20
+ "required": true,
21
+ "schema": {
22
+ "type": "string"
23
+ }
24
+ }
25
+ ],
26
+ "requestBody": null,
27
+ "responses": {
28
+ "default": {
29
+ "description": "default response",
30
+ "content": {
31
+ "application/json": {}
32
+ }
33
+ }
34
+ }
35
+ },
36
+ {
37
+ "path": "/api/v2/classifications/items/{itemId}",
38
+ "method": "DELETE",
39
+ "operationId": "deleteItem",
40
+ "summary": "Delete classification item",
41
+ "description": "Deletes the specified classification item from its group.",
42
+ "tags": [
43
+ "Classification"
44
+ ],
45
+ "parameters": [
46
+ {
47
+ "name": "itemId",
48
+ "in": "path",
49
+ "description": "Classification item ID to delete",
50
+ "required": true,
51
+ "schema": {
52
+ "type": "string"
53
+ }
54
+ }
55
+ ],
56
+ "requestBody": null,
57
+ "responses": {
58
+ "default": {
59
+ "description": "default response",
60
+ "content": {
61
+ "application/json": {}
62
+ }
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "path": "/api/v2/classifications/items/{itemId}/image",
68
+ "method": "DELETE",
69
+ "operationId": "deleteItemImage",
70
+ "summary": "Delete classification item image",
71
+ "description": "Deletes the image file associated with the specified classification item and resets the item symbol type to text.",
72
+ "tags": [
73
+ "Classification"
74
+ ],
75
+ "parameters": [
76
+ {
77
+ "name": "itemId",
78
+ "in": "path",
79
+ "description": "Classification item ID to delete image from",
80
+ "required": true,
81
+ "schema": {
82
+ "type": "string"
83
+ }
84
+ }
85
+ ],
86
+ "requestBody": null,
87
+ "responses": {
88
+ "default": {
89
+ "description": "default response",
90
+ "content": {
91
+ "application/json": {
92
+ "schema": {
93
+ "type": "object",
94
+ "properties": {
95
+ "id": {
96
+ "type": "string"
97
+ },
98
+ "title": {
99
+ "type": "string"
100
+ },
101
+ "description": {
102
+ "type": "string"
103
+ },
104
+ "symbol": {
105
+ "type": "string"
106
+ },
107
+ "symbolType": {
108
+ "type": "string",
109
+ "enum": [
110
+ "TEXT",
111
+ "IMAGE"
112
+ ]
113
+ },
114
+ "symbolImageUrl": {
115
+ "type": "string"
116
+ },
117
+ "groupId": {
118
+ "type": "string"
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ },
127
+ {
128
+ "path": "/api/v2/classifications",
129
+ "method": "GET",
130
+ "operationId": "getAllGroups",
131
+ "summary": "List all classification groups",
132
+ "description": "Returns all classification groups with their nested items. Each group contains items with symbol type (text or image) and optional image URL.",
133
+ "tags": [
134
+ "Classification"
135
+ ],
136
+ "parameters": [],
137
+ "requestBody": null,
138
+ "responses": {
139
+ "default": {
140
+ "description": "default response",
141
+ "content": {
142
+ "application/json": {
143
+ "schema": {
144
+ "type": "array",
145
+ "items": {
146
+ "type": "object",
147
+ "properties": {
148
+ "id": {
149
+ "type": "string"
150
+ },
151
+ "title": {
152
+ "type": "string"
153
+ },
154
+ "description": {
155
+ "type": "string"
156
+ },
157
+ "isDefault": {
158
+ "type": "boolean"
159
+ },
160
+ "items": {
161
+ "type": "array",
162
+ "items": {
163
+ "type": "object",
164
+ "properties": {
165
+ "id": {
166
+ "type": "string"
167
+ },
168
+ "title": {
169
+ "type": "string"
170
+ },
171
+ "description": {
172
+ "type": "string"
173
+ },
174
+ "symbol": {
175
+ "type": "string"
176
+ },
177
+ "symbolType": {
178
+ "type": "string",
179
+ "enum": [
180
+ "TEXT",
181
+ "IMAGE"
182
+ ]
183
+ },
184
+ "symbolImageUrl": {
185
+ "type": "string"
186
+ },
187
+ "groupId": {
188
+ "type": "string"
189
+ }
190
+ }
191
+ }
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
+ }
199
+ }
200
+ },
201
+ {
202
+ "path": "/api/v2/classifications/by-project/{projectId}",
203
+ "method": "GET",
204
+ "operationId": "getItemsByProject",
205
+ "summary": "Get classification items by project",
206
+ "description": "Returns classification items associated with the specified project. Falls back to the default group items if the project has no project_class configured.",
207
+ "tags": [
208
+ "Classification"
209
+ ],
210
+ "parameters": [
211
+ {
212
+ "name": "projectId",
213
+ "in": "path",
214
+ "description": "Project ID to resolve classification group",
215
+ "required": true,
216
+ "schema": {
217
+ "type": "string"
218
+ }
219
+ }
220
+ ],
221
+ "requestBody": null,
222
+ "responses": {
223
+ "default": {
224
+ "description": "default response",
225
+ "content": {
226
+ "application/json": {
227
+ "schema": {
228
+ "type": "array",
229
+ "items": {
230
+ "type": "object",
231
+ "properties": {
232
+ "id": {
233
+ "type": "string"
234
+ },
235
+ "title": {
236
+ "type": "string"
237
+ },
238
+ "description": {
239
+ "type": "string"
240
+ },
241
+ "symbol": {
242
+ "type": "string"
243
+ },
244
+ "symbolType": {
245
+ "type": "string",
246
+ "enum": [
247
+ "TEXT",
248
+ "IMAGE"
249
+ ]
250
+ },
251
+ "symbolImageUrl": {
252
+ "type": "string"
253
+ },
254
+ "groupId": {
255
+ "type": "string"
256
+ }
257
+ }
258
+ }
259
+ }
260
+ }
261
+ }
262
+ }
263
+ }
264
+ },
265
+ {
266
+ "path": "/api/v2/classifications/default",
267
+ "method": "GET",
268
+ "operationId": "getDefaultItems",
269
+ "summary": "Get default classification items",
270
+ "description": "Returns items from the system default classification group (the group with setdefault='Y'). Used when no project-specific classification is configured.",
271
+ "tags": [
272
+ "Classification"
273
+ ],
274
+ "parameters": [],
275
+ "requestBody": null,
276
+ "responses": {
277
+ "default": {
278
+ "description": "default response",
279
+ "content": {
280
+ "application/json": {
281
+ "schema": {
282
+ "type": "array",
283
+ "items": {
284
+ "type": "object",
285
+ "properties": {
286
+ "id": {
287
+ "type": "string"
288
+ },
289
+ "title": {
290
+ "type": "string"
291
+ },
292
+ "description": {
293
+ "type": "string"
294
+ },
295
+ "symbol": {
296
+ "type": "string"
297
+ },
298
+ "symbolType": {
299
+ "type": "string",
300
+ "enum": [
301
+ "TEXT",
302
+ "IMAGE"
303
+ ]
304
+ },
305
+ "symbolImageUrl": {
306
+ "type": "string"
307
+ },
308
+ "groupId": {
309
+ "type": "string"
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ },
319
+ {
320
+ "path": "/api/v2/classifications/items",
321
+ "method": "GET",
322
+ "operationId": "getItemsByGroup",
323
+ "summary": "Get items by group",
324
+ "description": "Returns classification items belonging to the specified group. The groupId parameter is required. Returns 404 if the group does not exist.",
325
+ "tags": [
326
+ "Classification"
327
+ ],
328
+ "parameters": [
329
+ {
330
+ "name": "groupId",
331
+ "in": "query",
332
+ "description": "Classification group ID (required)",
333
+ "schema": {
334
+ "type": "string"
335
+ }
336
+ }
337
+ ],
338
+ "requestBody": null,
339
+ "responses": {
340
+ "default": {
341
+ "description": "default response",
342
+ "content": {
343
+ "application/json": {
344
+ "schema": {
345
+ "type": "array",
346
+ "items": {
347
+ "type": "object",
348
+ "properties": {
349
+ "id": {
350
+ "type": "string"
351
+ },
352
+ "title": {
353
+ "type": "string"
354
+ },
355
+ "description": {
356
+ "type": "string"
357
+ },
358
+ "symbol": {
359
+ "type": "string"
360
+ },
361
+ "symbolType": {
362
+ "type": "string",
363
+ "enum": [
364
+ "TEXT",
365
+ "IMAGE"
366
+ ]
367
+ },
368
+ "symbolImageUrl": {
369
+ "type": "string"
370
+ },
371
+ "groupId": {
372
+ "type": "string"
373
+ }
374
+ }
375
+ }
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ },
382
+ {
383
+ "path": "/api/v2/classifications/default",
384
+ "method": "PATCH",
385
+ "operationId": "changeDefault",
386
+ "summary": "Change default classification group",
387
+ "description": "Sets the specified classification group as the system default.",
388
+ "tags": [
389
+ "Classification"
390
+ ],
391
+ "parameters": [],
392
+ "requestBody": {
393
+ "content": {
394
+ "application/json": {
395
+ "schema": {
396
+ "type": "object",
397
+ "properties": {
398
+ "groupId": {
399
+ "type": "string"
400
+ }
401
+ }
402
+ }
403
+ }
404
+ }
405
+ },
406
+ "responses": {
407
+ "default": {
408
+ "description": "default response",
409
+ "content": {
410
+ "application/json": {
411
+ "schema": {
412
+ "type": "object",
413
+ "properties": {
414
+ "id": {
415
+ "type": "string"
416
+ },
417
+ "title": {
418
+ "type": "string"
419
+ },
420
+ "description": {
421
+ "type": "string"
422
+ },
423
+ "isDefault": {
424
+ "type": "boolean"
425
+ },
426
+ "items": {
427
+ "type": "array",
428
+ "items": {
429
+ "type": "object",
430
+ "properties": {
431
+ "id": {
432
+ "type": "string"
433
+ },
434
+ "title": {
435
+ "type": "string"
436
+ },
437
+ "description": {
438
+ "type": "string"
439
+ },
440
+ "symbol": {
441
+ "type": "string"
442
+ },
443
+ "symbolType": {
444
+ "type": "string",
445
+ "enum": [
446
+ "TEXT",
447
+ "IMAGE"
448
+ ]
449
+ },
450
+ "symbolImageUrl": {
451
+ "type": "string"
452
+ },
453
+ "groupId": {
454
+ "type": "string"
455
+ }
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }
461
+ }
462
+ }
463
+ }
464
+ }
465
+ },
466
+ {
467
+ "path": "/api/v2/classifications/groups",
468
+ "method": "POST",
469
+ "operationId": "createGroup",
470
+ "summary": "Create classification group",
471
+ "description": "Creates a new classification group with the given name and optional description.",
472
+ "tags": [
473
+ "Classification"
474
+ ],
475
+ "parameters": [],
476
+ "requestBody": {
477
+ "content": {
478
+ "application/json": {
479
+ "schema": {
480
+ "type": "object",
481
+ "properties": {
482
+ "title": {
483
+ "type": "string"
484
+ },
485
+ "description": {
486
+ "type": "string"
487
+ }
488
+ }
489
+ }
490
+ }
491
+ }
492
+ },
493
+ "responses": {
494
+ "default": {
495
+ "description": "default response",
496
+ "content": {
497
+ "application/json": {}
498
+ }
499
+ }
500
+ }
501
+ },
502
+ {
503
+ "path": "/api/v2/classifications/groups/{groupId}/items",
504
+ "method": "POST",
505
+ "operationId": "createItem",
506
+ "summary": "Create classification item",
507
+ "description": "Creates a new classification item under the specified group.",
508
+ "tags": [
509
+ "Classification"
510
+ ],
511
+ "parameters": [
512
+ {
513
+ "name": "groupId",
514
+ "in": "path",
515
+ "description": "Classification group ID to add the item to",
516
+ "required": true,
517
+ "schema": {
518
+ "type": "string"
519
+ }
520
+ }
521
+ ],
522
+ "requestBody": {
523
+ "content": {
524
+ "application/json": {
525
+ "schema": {
526
+ "type": "object",
527
+ "properties": {
528
+ "title": {
529
+ "type": "string"
530
+ },
531
+ "description": {
532
+ "type": "string"
533
+ },
534
+ "symbol": {
535
+ "type": "string"
536
+ }
537
+ }
538
+ }
539
+ }
540
+ }
541
+ },
542
+ "responses": {
543
+ "default": {
544
+ "description": "default response",
545
+ "content": {
546
+ "application/json": {}
547
+ }
548
+ }
549
+ }
550
+ },
551
+ {
552
+ "path": "/api/v2/classifications/items/{itemId}/image",
553
+ "method": "POST",
554
+ "operationId": "uploadItemImage",
555
+ "summary": "Upload classification item image",
556
+ "description": "Uploads an image file for the specified classification item symbol. The image is resized to 22x22 pixels. Accepted formats: gif, jpg, png, bmp. Dangerous file types (jsp, php, asp) are rejected.",
557
+ "tags": [
558
+ "Classification"
559
+ ],
560
+ "parameters": [
561
+ {
562
+ "name": "itemId",
563
+ "in": "path",
564
+ "description": "Classification item ID to upload image for",
565
+ "required": true,
566
+ "schema": {
567
+ "type": "string"
568
+ }
569
+ }
570
+ ],
571
+ "requestBody": {
572
+ "content": {
573
+ "multipart/form-data": {
574
+ "schema": {
575
+ "type": "object",
576
+ "properties": {
577
+ "file": {
578
+ "type": "object",
579
+ "properties": {
580
+ "contentDisposition": {
581
+ "type": "object",
582
+ "properties": {
583
+ "type": {
584
+ "type": "string"
585
+ },
586
+ "parameters": {
587
+ "type": "object",
588
+ "additionalProperties": {
589
+ "type": "string"
590
+ }
591
+ },
592
+ "fileName": {
593
+ "type": "string"
594
+ },
595
+ "creationDate": {
596
+ "type": "string",
597
+ "format": "date-time"
598
+ },
599
+ "modificationDate": {
600
+ "type": "string",
601
+ "format": "date-time"
602
+ },
603
+ "readDate": {
604
+ "type": "string",
605
+ "format": "date-time"
606
+ },
607
+ "size": {
608
+ "type": "integer",
609
+ "format": "int64"
610
+ }
611
+ }
612
+ },
613
+ "entity": {
614
+ "type": "object"
615
+ },
616
+ "headers": {
617
+ "type": "object",
618
+ "additionalProperties": {
619
+ "type": "array",
620
+ "items": {
621
+ "type": "string"
622
+ }
623
+ }
624
+ },
625
+ "mediaType": {
626
+ "type": "object",
627
+ "properties": {
628
+ "type": {
629
+ "type": "string"
630
+ },
631
+ "subtype": {
632
+ "type": "string"
633
+ },
634
+ "parameters": {
635
+ "type": "object",
636
+ "additionalProperties": {
637
+ "type": "string"
638
+ }
639
+ },
640
+ "wildcardSubtype": {
641
+ "type": "boolean"
642
+ },
643
+ "wildcardType": {
644
+ "type": "boolean"
645
+ }
646
+ }
647
+ },
648
+ "messageBodyWorkers": {
649
+ "type": "object"
650
+ },
651
+ "parent": {
652
+ "type": "object",
653
+ "properties": {
654
+ "contentDisposition": {
655
+ "type": "object",
656
+ "properties": {
657
+ "type": {
658
+ "type": "string"
659
+ },
660
+ "parameters": {
661
+ "type": "object",
662
+ "additionalProperties": {
663
+ "type": "string"
664
+ }
665
+ },
666
+ "fileName": {
667
+ "type": "string"
668
+ },
669
+ "creationDate": {
670
+ "type": "string",
671
+ "format": "date-time"
672
+ },
673
+ "modificationDate": {
674
+ "type": "string",
675
+ "format": "date-time"
676
+ },
677
+ "readDate": {
678
+ "type": "string",
679
+ "format": "date-time"
680
+ },
681
+ "size": {
682
+ "type": "integer",
683
+ "format": "int64"
684
+ }
685
+ }
686
+ },
687
+ "entity": {
688
+ "type": "object"
689
+ },
690
+ "headers": {
691
+ "type": "object",
692
+ "additionalProperties": {
693
+ "type": "array",
694
+ "items": {
695
+ "type": "string"
696
+ }
697
+ }
698
+ },
699
+ "mediaType": {
700
+ "type": "object",
701
+ "properties": {
702
+ "type": {
703
+ "type": "string"
704
+ },
705
+ "subtype": {
706
+ "type": "string"
707
+ },
708
+ "parameters": {
709
+ "type": "object",
710
+ "additionalProperties": {
711
+ "type": "string"
712
+ }
713
+ },
714
+ "wildcardSubtype": {
715
+ "type": "boolean"
716
+ },
717
+ "wildcardType": {
718
+ "type": "boolean"
719
+ }
720
+ }
721
+ },
722
+ "messageBodyWorkers": {
723
+ "type": "object"
724
+ },
725
+ "parent": {
726
+ "type": "object"
727
+ },
728
+ "providers": {
729
+ "type": "object"
730
+ },
731
+ "bodyParts": {
732
+ "type": "array",
733
+ "items": {
734
+ "type": "object",
735
+ "properties": {
736
+ "contentDisposition": {
737
+ "type": "object",
738
+ "properties": {
739
+ "type": {
740
+ "type": "string"
741
+ },
742
+ "parameters": {
743
+ "type": "object",
744
+ "additionalProperties": {
745
+ "type": "string"
746
+ }
747
+ },
748
+ "fileName": {
749
+ "type": "string"
750
+ },
751
+ "creationDate": {
752
+ "type": "string",
753
+ "format": "date-time"
754
+ },
755
+ "modificationDate": {
756
+ "type": "string",
757
+ "format": "date-time"
758
+ },
759
+ "readDate": {
760
+ "type": "string",
761
+ "format": "date-time"
762
+ },
763
+ "size": {
764
+ "type": "integer",
765
+ "format": "int64"
766
+ }
767
+ }
768
+ },
769
+ "entity": {
770
+ "type": "object"
771
+ },
772
+ "headers": {
773
+ "type": "object",
774
+ "additionalProperties": {
775
+ "type": "array",
776
+ "items": {
777
+ "type": "string"
778
+ }
779
+ }
780
+ },
781
+ "mediaType": {
782
+ "type": "object",
783
+ "properties": {
784
+ "type": {
785
+ "type": "string"
786
+ },
787
+ "subtype": {
788
+ "type": "string"
789
+ },
790
+ "parameters": {
791
+ "type": "object",
792
+ "additionalProperties": {
793
+ "type": "string"
794
+ }
795
+ },
796
+ "wildcardSubtype": {
797
+ "type": "boolean"
798
+ },
799
+ "wildcardType": {
800
+ "type": "boolean"
801
+ }
802
+ }
803
+ },
804
+ "messageBodyWorkers": {
805
+ "type": "object"
806
+ },
807
+ "parent": {
808
+ "type": "object"
809
+ },
810
+ "providers": {
811
+ "type": "object"
812
+ },
813
+ "parameterizedHeaders": {
814
+ "type": "object",
815
+ "additionalProperties": {
816
+ "type": "array",
817
+ "items": {
818
+ "type": "object",
819
+ "properties": {
820
+ "value": {
821
+ "type": "string"
822
+ },
823
+ "parameters": {
824
+ "type": "object",
825
+ "additionalProperties": {
826
+ "type": "string"
827
+ }
828
+ }
829
+ }
830
+ }
831
+ }
832
+ }
833
+ }
834
+ }
835
+ },
836
+ "parameterizedHeaders": {
837
+ "type": "object",
838
+ "additionalProperties": {
839
+ "type": "array",
840
+ "items": {
841
+ "type": "object",
842
+ "properties": {
843
+ "value": {
844
+ "type": "string"
845
+ },
846
+ "parameters": {
847
+ "type": "object",
848
+ "additionalProperties": {
849
+ "type": "string"
850
+ }
851
+ }
852
+ }
853
+ }
854
+ }
855
+ }
856
+ }
857
+ },
858
+ "providers": {
859
+ "type": "object"
860
+ },
861
+ "simple": {
862
+ "type": "boolean"
863
+ },
864
+ "formDataContentDisposition": {
865
+ "type": "object",
866
+ "properties": {
867
+ "type": {
868
+ "type": "string"
869
+ },
870
+ "parameters": {
871
+ "type": "object",
872
+ "additionalProperties": {
873
+ "type": "string"
874
+ }
875
+ },
876
+ "fileName": {
877
+ "type": "string"
878
+ },
879
+ "creationDate": {
880
+ "type": "string",
881
+ "format": "date-time"
882
+ },
883
+ "modificationDate": {
884
+ "type": "string",
885
+ "format": "date-time"
886
+ },
887
+ "readDate": {
888
+ "type": "string",
889
+ "format": "date-time"
890
+ },
891
+ "size": {
892
+ "type": "integer",
893
+ "format": "int64"
894
+ },
895
+ "name": {
896
+ "type": "string"
897
+ }
898
+ }
899
+ },
900
+ "name": {
901
+ "type": "string"
902
+ },
903
+ "value": {
904
+ "type": "string"
905
+ },
906
+ "parameterizedHeaders": {
907
+ "type": "object",
908
+ "additionalProperties": {
909
+ "type": "array",
910
+ "items": {
911
+ "type": "object",
912
+ "properties": {
913
+ "value": {
914
+ "type": "string"
915
+ },
916
+ "parameters": {
917
+ "type": "object",
918
+ "additionalProperties": {
919
+ "type": "string"
920
+ }
921
+ }
922
+ }
923
+ }
924
+ }
925
+ }
926
+ }
927
+ }
928
+ }
929
+ }
930
+ }
931
+ }
932
+ },
933
+ "responses": {
934
+ "default": {
935
+ "description": "default response",
936
+ "content": {
937
+ "application/json": {
938
+ "schema": {
939
+ "type": "object",
940
+ "properties": {
941
+ "id": {
942
+ "type": "string"
943
+ },
944
+ "title": {
945
+ "type": "string"
946
+ },
947
+ "description": {
948
+ "type": "string"
949
+ },
950
+ "symbol": {
951
+ "type": "string"
952
+ },
953
+ "symbolType": {
954
+ "type": "string",
955
+ "enum": [
956
+ "TEXT",
957
+ "IMAGE"
958
+ ]
959
+ },
960
+ "symbolImageUrl": {
961
+ "type": "string"
962
+ },
963
+ "groupId": {
964
+ "type": "string"
965
+ }
966
+ }
967
+ }
968
+ }
969
+ }
970
+ }
971
+ }
972
+ },
973
+ {
974
+ "path": "/api/v2/classifications/groups/{groupId}",
975
+ "method": "PUT",
976
+ "operationId": "updateGroup",
977
+ "summary": "Update classification group",
978
+ "description": "Updates the name and description of the specified classification group.",
979
+ "tags": [
980
+ "Classification"
981
+ ],
982
+ "parameters": [
983
+ {
984
+ "name": "groupId",
985
+ "in": "path",
986
+ "description": "Classification group ID to update",
987
+ "required": true,
988
+ "schema": {
989
+ "type": "string"
990
+ }
991
+ }
992
+ ],
993
+ "requestBody": {
994
+ "content": {
995
+ "application/json": {
996
+ "schema": {
997
+ "type": "object",
998
+ "properties": {
999
+ "title": {
1000
+ "type": "string"
1001
+ },
1002
+ "description": {
1003
+ "type": "string"
1004
+ }
1005
+ }
1006
+ }
1007
+ }
1008
+ }
1009
+ },
1010
+ "responses": {
1011
+ "default": {
1012
+ "description": "default response",
1013
+ "content": {
1014
+ "application/json": {
1015
+ "schema": {
1016
+ "type": "object",
1017
+ "properties": {
1018
+ "id": {
1019
+ "type": "string"
1020
+ },
1021
+ "title": {
1022
+ "type": "string"
1023
+ },
1024
+ "description": {
1025
+ "type": "string"
1026
+ },
1027
+ "isDefault": {
1028
+ "type": "boolean"
1029
+ },
1030
+ "items": {
1031
+ "type": "array",
1032
+ "items": {
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "id": {
1036
+ "type": "string"
1037
+ },
1038
+ "title": {
1039
+ "type": "string"
1040
+ },
1041
+ "description": {
1042
+ "type": "string"
1043
+ },
1044
+ "symbol": {
1045
+ "type": "string"
1046
+ },
1047
+ "symbolType": {
1048
+ "type": "string",
1049
+ "enum": [
1050
+ "TEXT",
1051
+ "IMAGE"
1052
+ ]
1053
+ },
1054
+ "symbolImageUrl": {
1055
+ "type": "string"
1056
+ },
1057
+ "groupId": {
1058
+ "type": "string"
1059
+ }
1060
+ }
1061
+ }
1062
+ }
1063
+ }
1064
+ }
1065
+ }
1066
+ }
1067
+ }
1068
+ }
1069
+ },
1070
+ {
1071
+ "path": "/api/v2/classifications/items/{itemId}",
1072
+ "method": "PUT",
1073
+ "operationId": "updateItem",
1074
+ "summary": "Update classification item",
1075
+ "description": "Updates the label, symbol type, and optional image URL of the specified classification item.",
1076
+ "tags": [
1077
+ "Classification"
1078
+ ],
1079
+ "parameters": [
1080
+ {
1081
+ "name": "itemId",
1082
+ "in": "path",
1083
+ "description": "Classification item ID to update",
1084
+ "required": true,
1085
+ "schema": {
1086
+ "type": "string"
1087
+ }
1088
+ }
1089
+ ],
1090
+ "requestBody": {
1091
+ "content": {
1092
+ "application/json": {
1093
+ "schema": {
1094
+ "type": "object",
1095
+ "properties": {
1096
+ "title": {
1097
+ "type": "string"
1098
+ },
1099
+ "description": {
1100
+ "type": "string"
1101
+ },
1102
+ "symbol": {
1103
+ "type": "string"
1104
+ }
1105
+ }
1106
+ }
1107
+ }
1108
+ }
1109
+ },
1110
+ "responses": {
1111
+ "default": {
1112
+ "description": "default response",
1113
+ "content": {
1114
+ "application/json": {
1115
+ "schema": {
1116
+ "type": "object",
1117
+ "properties": {
1118
+ "id": {
1119
+ "type": "string"
1120
+ },
1121
+ "title": {
1122
+ "type": "string"
1123
+ },
1124
+ "description": {
1125
+ "type": "string"
1126
+ },
1127
+ "symbol": {
1128
+ "type": "string"
1129
+ },
1130
+ "symbolType": {
1131
+ "type": "string",
1132
+ "enum": [
1133
+ "TEXT",
1134
+ "IMAGE"
1135
+ ]
1136
+ },
1137
+ "symbolImageUrl": {
1138
+ "type": "string"
1139
+ },
1140
+ "groupId": {
1141
+ "type": "string"
1142
+ }
1143
+ }
1144
+ }
1145
+ }
1146
+ }
1147
+ }
1148
+ }
1149
+ }
1150
+ ]
1151
+ }