We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19f1843 commit f34ae8eCopy full SHA for f34ae8e
server/server.go
@@ -129,6 +129,12 @@ func registerRouter(s *Server) {
129
containerApi.POST("/create", v1.CreateChallengeContainer).Name = "create-container"
130
containerApi.POST("/dispose", v1.DisposeChallengeContainer).Name = "dispose-container"
131
132
+ // Attachment APIs
133
+ attachmentApi := challengeApi.Group("/:challenge_uuid/attachment")
134
+ attachmentApi.POST("/", v1.UploadAttachment).Name = "upload-attachment"
135
+ attachmentApi.GET("/:attachment_uuid", v1.GetAttachment).Name = "get-attachment"
136
+ attachmentApi.GET("/", v1.GetAttachmentList).Name = "get-attachments"
137
+
138
// Health check
139
e.GET("/health", router.HealthService)
140
}
0 commit comments