diff --git a/src/main/java/eu/dissco/backend/controller/AnnotationController.java b/src/main/java/eu/dissco/backend/controller/AnnotationController.java index 3d1be98..5f5e6ed 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("/v1/annotation") +@RequestMapping("/annotation/v1") 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 7c38493..781c73c 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("/v1/digital-media") +@RequestMapping("/digital-media/v1") 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 d3ff526..3ca3aa5 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("/v1/digital-specimen") +@RequestMapping("/digital-specimen/v1") 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 3f7c0d8..4212b78 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("/v1/mjr") +@RequestMapping("/mjr/v1") public class MasJobRecordController extends BaseController { private final MasJobRecordService service;