|
@@ -38,6 +38,10 @@ func InitRouter() *gin.Engine {
|
|
protocolV1.GET("procedure", apiv1.GetProcedure)
|
|
protocolV1.GET("procedure", apiv1.GetProcedure)
|
|
protocolV1.GET("view", apiv1.GetView)
|
|
protocolV1.GET("view", apiv1.GetView)
|
|
}
|
|
}
|
|
|
|
+ studyV1 := authV1.Group("/study")
|
|
|
|
+ {
|
|
|
|
+ studyV1.POST("", apiv1.CreateStudy)
|
|
|
|
+ }
|
|
dicomV1 := authV1.Group("/dicom")
|
|
dicomV1 := authV1.Group("/dicom")
|
|
{
|
|
{
|
|
dicomV1.GET("generate/instance_uid", apiv1.GenerateUniqueIdentifier)
|
|
dicomV1.GET("generate/instance_uid", apiv1.GenerateUniqueIdentifier)
|