@@ -360,6 +360,9 @@ paths:
360360 projectId,
361361 name,
362362 typeId,
363+ numOfRegistrants,
364+ numOfSubmissions,
365+ status,
363366 overview.totalPrizes,
364367 ]
365368 - name : sortOrder
@@ -908,6 +911,46 @@ paths:
908911 description : Internal Server error
909912 schema :
910913 $ref : " #/definitions/ErrorModel"
914+ delete :
915+ tags :
916+ - ChallengeTypes
917+ description : Delete the challenge type with specified id.
918+ security :
919+ - bearer : []
920+ produces :
921+ - application/json
922+ parameters :
923+ - name : challengeTypeId
924+ in : path
925+ required : true
926+ type : string
927+ format : UUID
928+ description : The id of challengeType to be deleted
929+ responses :
930+ " 200 " :
931+ description : Deleted - The request was successful and the resource is returned.
932+ schema :
933+ $ref : " #/definitions/ChallengeType"
934+ " 400 " :
935+ description : Bad request. Request parameters were invalid.
936+ schema :
937+ $ref : " #/definitions/ErrorModel"
938+ " 401 " :
939+ description : Unauthorized. Fail to authenticate the requester.
940+ schema :
941+ $ref : " #/definitions/ErrorModel"
942+ " 403 " :
943+ description : Forbidden. The requester does not have the correct permission to delete the challenge type.
944+ schema :
945+ $ref : " #/definitions/ErrorModel"
946+ " 404 " :
947+ description : Not Found. Challenge type not found
948+ schema :
949+ $ref : " #/definitions/ErrorModel"
950+ " 500 " :
951+ description : Internal Server Error
952+ schema :
953+ $ref : " #/definitions/ErrorModel"
911954 /challenge-tracks :
912955 get :
913956 tags :
@@ -1143,6 +1186,46 @@ paths:
11431186 description : Internal Server Error
11441187 schema :
11451188 $ref : " #/definitions/ErrorModel"
1189+ delete :
1190+ tags :
1191+ - ChallengeTracks
1192+ description : Delete the challenge track with specified id.
1193+ security :
1194+ - bearer : []
1195+ produces :
1196+ - application/json
1197+ parameters :
1198+ - name : challengeTrackId
1199+ in : path
1200+ required : true
1201+ type : string
1202+ format : UUID
1203+ description : The id of challengeTrack to be deleted.
1204+ responses :
1205+ " 200 " :
1206+ description : Deleted - The request was successful and the resource is returned.
1207+ schema :
1208+ $ref : " #/definitions/ChallengeTrack"
1209+ " 400 " :
1210+ description : Bad request. Request parameters were invalid.
1211+ schema :
1212+ $ref : " #/definitions/ErrorModel"
1213+ " 401 " :
1214+ description : Unauthorized. Fail to authenticate the requester.
1215+ schema :
1216+ $ref : " #/definitions/ErrorModel"
1217+ " 403 " :
1218+ description : Forbidden. The requester does not have the correct permission to delete the challenge track.
1219+ schema :
1220+ $ref : " #/definitions/ErrorModel"
1221+ " 404 " :
1222+ description : Not Found. Challenge track not found
1223+ schema :
1224+ $ref : " #/definitions/ErrorModel"
1225+ " 500 " :
1226+ description : Internal Server Error
1227+ schema :
1228+ $ref : " #/definitions/ErrorModel"
11461229 /challenge-phases :
11471230 get :
11481231 tags :
@@ -2927,7 +3010,7 @@ definitions:
29273010 type : boolean
29283011 selfServiceCopilot :
29293012 type : string
2930- cancelReason :
3013+ cancelReason :
29313014 type : string
29323015 billing :
29333016 type : object
0 commit comments