@@ -586,20 +586,43 @@ paths:
586
586
properties :
587
587
lecture_id :
588
588
type : integer
589
- example : 2
589
+ example : 1
590
590
name_key :
591
591
type : string
592
592
example : Tolles-Aufgaben-Pack
593
593
task_ids :
594
594
type : array
595
595
items :
596
596
type : integer
597
- example : 5
597
+ example : 1
598
598
difficulty_id :
599
599
type : integer
600
+ example : 1
600
601
responses :
601
602
' 200 ' :
602
603
description : Ok
604
+ content :
605
+ application/json :
606
+ schema :
607
+ type : object
608
+ properties :
609
+ task_group_id :
610
+ type : integer
611
+ example : 1
612
+ lecture_id :
613
+ type : integer
614
+ example : 1
615
+ name_key :
616
+ type : string
617
+ example : Tolles-Aufgaben-Pack
618
+ task_ids :
619
+ type : array
620
+ items :
621
+ type : integer
622
+ example : 1
623
+ difficulty_id :
624
+ type : integer
625
+ example : 1
603
626
' 400 ' :
604
627
description : User Error
605
628
content :
@@ -641,24 +664,44 @@ paths:
641
664
properties :
642
665
task_group_id :
643
666
type : integer
644
- example : 7
667
+ example : 1
645
668
description : The task group id to modify
646
669
lecture_id :
647
670
type : integer
648
- example : 2
671
+ example : 1
649
672
name_key :
650
673
type : string
651
674
example : Tolles-Aufgaben-Pack
652
675
task_ids :
653
676
type : array
654
677
items :
655
678
type : integer
656
- example : 5
679
+ example : 1
657
680
difficulty_id :
658
681
type : integer
682
+ example : 1
659
683
responses :
660
684
' 200 ' :
661
685
description : Ok
686
+ content :
687
+ application/json :
688
+ schema :
689
+ type : object
690
+ properties :
691
+ lecture_id :
692
+ type : integer
693
+ example : 1
694
+ name_key :
695
+ type : string
696
+ example : Tolles-Aufgaben-Pack
697
+ task_ids :
698
+ type : array
699
+ items :
700
+ type : integer
701
+ example : 1
702
+ difficulty_id :
703
+ type : integer
704
+ example : 1
662
705
' 400 ' :
663
706
description : User Error
664
707
content :
@@ -744,6 +787,7 @@ paths:
744
787
required : true
745
788
schema :
746
789
type : string
790
+ example : 0b870676-1a01-47aa-8402-859fb9806238
747
791
responses :
748
792
' 200 ' :
749
793
description : Ok
@@ -794,7 +838,8 @@ paths:
794
838
in : path
795
839
required : true
796
840
schema :
797
- type : string
841
+ type : integer
842
+ example : 1
798
843
responses :
799
844
' 200 ' :
800
845
description : Ok
@@ -840,6 +885,7 @@ paths:
840
885
required : true
841
886
schema :
842
887
type : string
888
+ example : 1
843
889
responses :
844
890
' 200 ' :
845
891
description : Ok
@@ -885,14 +931,28 @@ paths:
885
931
properties :
886
932
task_group_id :
887
933
type : integer
888
- example : 7
934
+ example : 1
889
935
description : The task group id to add the task to
890
936
task_id :
891
937
type : integer
892
938
description : The id of the task to add to the Task Group
939
+ example : 1
893
940
responses :
894
941
' 200 ' :
895
942
description : Ok
943
+ content :
944
+ application/json :
945
+ schema :
946
+ type : object
947
+ properties :
948
+ task_group_id :
949
+ type : integer
950
+ example : 1
951
+ description : The task group id to add the task to
952
+ task_id :
953
+ type : integer
954
+ description : The id of the task to add to the Task Group
955
+ example : 1
896
956
' 400 ' :
897
957
description : User Error
898
958
content :
@@ -932,13 +992,15 @@ paths:
932
992
required : true
933
993
description : The id of the task group
934
994
schema :
935
- type : string
995
+ type : integer
996
+ example : 1
936
997
- name : task_id
937
998
in : path
938
999
required : true
939
1000
description : The id of the task to remove from the task group
940
1001
schema :
941
1002
type : integer
1003
+ example : 1
942
1004
responses :
943
1005
' 200 ' :
944
1006
description : Ok
@@ -987,9 +1049,12 @@ paths:
987
1049
content :
988
1050
application/json :
989
1051
schema :
990
- type : array
991
- items :
992
- $ref : ' #/components/schemas/TaskGroup'
1052
+ type : object
1053
+ properties :
1054
+ task_Groups :
1055
+ type : array
1056
+ items :
1057
+ $ref : ' #/components/schemas/TaskGroup'
993
1058
' 400 ' :
994
1059
description : User Error
995
1060
content :
@@ -1032,11 +1097,13 @@ paths:
1032
1097
properties :
1033
1098
task_id :
1034
1099
type : integer
1100
+ example : 1
1035
1101
solution :
1036
1102
type : string
1037
1103
example : " L\xF6 sung 1"
1038
1104
is_correct :
1039
1105
type : boolean
1106
+ example : 1
1040
1107
responses :
1041
1108
200 :
1042
1109
description : Ok
@@ -1047,10 +1114,11 @@ paths:
1047
1114
properties :
1048
1115
multiple_choice_solution_id :
1049
1116
type : integer
1050
- format : int64
1051
1117
minimum : 0
1118
+ example : 1
1052
1119
correct :
1053
1120
type : boolean
1121
+ example : true
1054
1122
solution :
1055
1123
type : string
1056
1124
example : " L\xF6 sung 1 lol"
@@ -1093,6 +1161,7 @@ paths:
1093
1161
required : true
1094
1162
schema :
1095
1163
type : integer
1164
+ example : 1
1096
1165
responses :
1097
1166
' 200 ' :
1098
1167
description : Ok
@@ -1108,8 +1177,10 @@ paths:
1108
1177
properties :
1109
1178
multiple_choice_solution_id :
1110
1179
type : integer
1180
+ example : 1
1111
1181
solution :
1112
1182
type : string
1183
+ example : " L\xF6 sung 1 lol"
1113
1184
' 400 ' :
1114
1185
description : User Error
1115
1186
content :
@@ -1151,6 +1222,7 @@ paths:
1151
1222
required : true
1152
1223
schema :
1153
1224
type : integer
1225
+ example : 1
1154
1226
responses :
1155
1227
' 200 ' :
1156
1228
description : Ok
@@ -1166,10 +1238,13 @@ paths:
1166
1238
properties :
1167
1239
multiple_choice_solution_id :
1168
1240
type : integer
1241
+ example : 1
1169
1242
solution :
1170
1243
type : string
1244
+ example : " L\xF6 sung 1 lol"
1171
1245
correct :
1172
1246
type : boolean
1247
+ example : true
1173
1248
/solution/multiple_choice/check :
1174
1249
post :
1175
1250
tags :
@@ -1205,8 +1280,10 @@ paths:
1205
1280
properties :
1206
1281
multiple_choice_solution_id :
1207
1282
type : integer
1283
+ example : 1
1208
1284
correct :
1209
1285
type : boolean
1286
+ example : true
1210
1287
responses :
1211
1288
' 200 ' :
1212
1289
description : Ok
@@ -2860,6 +2937,7 @@ paths:
2860
2937
required : true
2861
2938
schema :
2862
2939
type : integer
2940
+ example : 1
2863
2941
responses :
2864
2942
' 200 ' :
2865
2943
description : Ok
@@ -3054,10 +3132,10 @@ paths:
3054
3132
properties :
3055
3133
name_key :
3056
3134
type : string
3057
- example : lecturename
3135
+ example : squares
3058
3136
module_name_key :
3059
3137
type : string
3060
- example : squares
3138
+ example : geometry
3061
3139
module_id :
3062
3140
type : integer
3063
3141
example : 1
@@ -3074,10 +3152,10 @@ paths:
3074
3152
example : 1
3075
3153
name_key :
3076
3154
type : string
3077
- example : lecturename
3155
+ example : squares
3078
3156
module_name_key :
3079
3157
type : string
3080
- example : squares
3158
+ example : geometry
3081
3159
module_id :
3082
3160
type : integer
3083
3161
example : 1
@@ -3165,6 +3243,7 @@ paths:
3165
3243
required : true
3166
3244
schema :
3167
3245
type : string
3246
+ example : squares
3168
3247
responses :
3169
3248
' 200 ' :
3170
3249
description : Ok
@@ -3210,6 +3289,7 @@ paths:
3210
3289
required : true
3211
3290
schema :
3212
3291
type : string
3292
+ example : squares
3213
3293
responses :
3214
3294
' 200 ' :
3215
3295
description : Ok
@@ -3341,6 +3421,7 @@ paths:
3341
3421
required : true
3342
3422
schema :
3343
3423
type : string
3424
+ example : geometry
3344
3425
responses :
3345
3426
' 200 ' :
3346
3427
description : Ok
@@ -3392,6 +3473,7 @@ paths:
3392
3473
required : true
3393
3474
schema :
3394
3475
type : integer
3476
+ example : 1
3395
3477
responses :
3396
3478
' 200 ' :
3397
3479
description : Ok
@@ -3547,6 +3629,7 @@ paths:
3547
3629
required : true
3548
3630
schema :
3549
3631
type : string
3632
+ example : easy
3550
3633
responses :
3551
3634
' 200 ' :
3552
3635
description : Ok
@@ -3593,6 +3676,7 @@ paths:
3593
3676
required : true
3594
3677
schema :
3595
3678
type : string
3679
+ example : easy
3596
3680
responses :
3597
3681
' 200 ' :
3598
3682
description : Ok
@@ -3636,6 +3720,7 @@ paths:
3636
3720
required : true
3637
3721
schema :
3638
3722
type : integer
3723
+ example : 1
3639
3724
responses :
3640
3725
' 200 ' :
3641
3726
description : Ok
@@ -4180,8 +4265,10 @@ components:
4180
4265
example : 1
4181
4266
author_id :
4182
4267
type : string
4268
+ example : 0b870676-1a01-47aa-8402-859fb9806238
4183
4269
difficulty_id :
4184
4270
type : integer
4271
+ example : 1
4185
4272
Lecture :
4186
4273
type : object
4187
4274
properties :
@@ -4226,7 +4313,7 @@ components:
4226
4313
example : 1
4227
4314
name_key :
4228
4315
type : string
4229
- example : hard
4316
+ example : easy
4230
4317
TaskType :
4231
4318
type : object
4232
4319
properties :
0 commit comments