We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 731280b + d4b9353 commit acba143Copy full SHA for acba143
api/info.go
@@ -471,6 +471,15 @@ func getAllUsersInfoHandler(c *gin.Context) {
471
return
472
}
473
474
+// Handles submissions made by the user
475
+// @Summary Handles submissions made by the user
476
+// @Description Handles submissions made by the user
477
+// @Tags submissions
478
+// @Accept json
479
+// @Produce json
480
+// @Success 200 {object} api.SubmissionResp
481
+// @Failure 500 {object} api.HTTPPlainResp
482
+// @Router /api/info/submissions [post]
483
func submissionsHandler(c *gin.Context) {
484
submissions, err := database.QueryAllSubmissions()
485
if err != nil {
0 commit comments