Merge branch 'master' into develop

This commit is contained in:
Torkel Ödegaard
2017-10-09 16:01:54 +02:00
176 changed files with 5940 additions and 2717 deletions

View File

@@ -301,6 +301,9 @@ func (hs *HttpServer) registerRoutes() {
apiRoute.Group("/annotations", func(annotationsRoute RouteRegister) {
annotationsRoute.Post("/", bind(dtos.PostAnnotationsCmd{}), wrap(PostAnnotation))
annotationsRoute.Delete("/:annotationId", wrap(DeleteAnnotationById))
annotationsRoute.Put("/:annotationId", bind(dtos.UpdateAnnotationsCmd{}), wrap(UpdateAnnotation))
annotationsRoute.Delete("/region/:regionId", wrap(DeleteAnnotationRegion))
}, reqEditorRole)
// error test