diff --git a/src/main/java/eu/dissco/backend/controller/AnnotationController.java b/src/main/java/eu/dissco/backend/controller/AnnotationController.java index 9c7671b..3d1be98 100644 --- a/src/main/java/eu/dissco/backend/controller/AnnotationController.java +++ b/src/main/java/eu/dissco/backend/controller/AnnotationController.java @@ -54,7 +54,7 @@ @Slf4j @RestControllerAdvice @RestController -@RequestMapping("/api/v1/annotation") +@RequestMapping("/v1/annotation") public class AnnotationController extends BaseController { private final AnnotationService service; diff --git a/src/main/java/eu/dissco/backend/controller/DigitalMediaController.java b/src/main/java/eu/dissco/backend/controller/DigitalMediaController.java index 9e8d10d..7c38493 100644 --- a/src/main/java/eu/dissco/backend/controller/DigitalMediaController.java +++ b/src/main/java/eu/dissco/backend/controller/DigitalMediaController.java @@ -45,7 +45,7 @@ @Slf4j @RestControllerAdvice @RestController -@RequestMapping("api/v1/digital-media") +@RequestMapping("/v1/digital-media") public class DigitalMediaController extends BaseController { private final DigitalMediaService service; diff --git a/src/main/java/eu/dissco/backend/controller/DigitalSpecimenController.java b/src/main/java/eu/dissco/backend/controller/DigitalSpecimenController.java index e615f08..d3ff526 100644 --- a/src/main/java/eu/dissco/backend/controller/DigitalSpecimenController.java +++ b/src/main/java/eu/dissco/backend/controller/DigitalSpecimenController.java @@ -50,7 +50,7 @@ @Slf4j @RestControllerAdvice @RestController -@RequestMapping("/api/v1/digital-specimen") +@RequestMapping("/v1/digital-specimen") public class DigitalSpecimenController extends BaseController { private final DigitalSpecimenService service; diff --git a/src/main/java/eu/dissco/backend/controller/MasJobRecordController.java b/src/main/java/eu/dissco/backend/controller/MasJobRecordController.java index 9e8aa6c..3f7c0d8 100644 --- a/src/main/java/eu/dissco/backend/controller/MasJobRecordController.java +++ b/src/main/java/eu/dissco/backend/controller/MasJobRecordController.java @@ -31,7 +31,7 @@ @Slf4j @RestControllerAdvice @RestController -@RequestMapping("/api/v1/mjr") +@RequestMapping("/v1/mjr") public class MasJobRecordController extends BaseController { private final MasJobRecordService service;